Mercurial > pub > Impl
diff Lib/IMPL/Object/Serializable.pm @ 206:c8fe3f84feba
+IMPL::Web::Handlers::ViewSelector
+IMPL::Web::Handlers::ErrorHandler
*IMPL::Web::Handlers::RestController moved types mappings to ViewSelector
author | sergey |
---|---|
date | Thu, 03 May 2012 16:48:39 +0400 |
parents | 16ada169ca75 |
children | 4ddb27ff4a0b |
line wrap: on
line diff
--- a/Lib/IMPL/Object/Serializable.pm Thu May 03 01:00:02 2012 +0400 +++ b/Lib/IMPL/Object/Serializable.pm Thu May 03 16:48:39 2012 +0400 @@ -38,7 +38,7 @@ SAVE_METHOD $code .= - join "\n", map "\t".'$ctx->AddVar('.$_->Name.' => ' . + join "\n", map " ".'$ctx->AddVar('.$_->Name.' => ' . ((not ref $_->Mutators and $_->Mutators & prop_list) ? ('[$this->'.$_->Class.'::'.$_->Name.'()]') : ('$this->'.$_->Class.'::'.$_->Name.'()')) . ') if defined ' . '$this->'.$_->Class.'::'.$_->Name.'()' . ';', grep $_->canGet, $class->get_meta('IMPL::Class::PropertyInfo',undef,1); $code .= <<SAVE_METHOD;