public function get($name)
 {
     try {
         return $this->_attributes->get($name);
     } catch (No_Such_Variable_Exception $e) {
         return parent::get($name);
     }
 }
 public function get($name)
 {
     if ($name == 'data') {
         return $this->_data;
     } else {
         return parent::get($name);
     }
 }
 public function set($name, $value)
 {
     switch ($name) {
         case 'skip':
             $this->_skip = max((int) $value, 0);
             break;
         default:
             return parent::set($name, $value);
     }
 }
 public final function set($name, $value)
 {
     switch ($name) {
         case 'rights':
         case 'groups':
             throw new Readonly_Variable_Exception($name, __CLASS__);
         default:
             try {
                 $this->setProperty($name, $value);
             } catch (No_Such_Variable_Exception $e) {
                 return parent::set($name, $value);
             }
     }
 }
 public function get($name)
 {
     switch ($name) {
         case 'group':
             return $this->_group;
         case 'active':
             $this->checkActive();
             return $this->_active;
         case 'data':
             $this->loadData();
             return $this->_data;
         default:
             return parent::get($name);
     }
 }
 public function get($name)
 {
     switch ($name) {
         case 'prodbind':
             return $this->_prodbind;
         case 'PBID':
             return $this->_prodbind !== null ? $this->_prodbind->id : null;
         case 'lines':
             $this->loadLines();
             return $this->_lines;
         case 'paths':
             $this->loadPaths();
             return $this->_paths;
         case 'properties':
             $this->loadProperties();
             return $this->_properties;
         case 'selectablePropertiesCount':
             $this->loadProperties();
             return $this->selectablePropertiesCount();
         case 'extra_photos':
             $this->loadExtraPhotos();
             return $this->_extra_photos;
         case 'illustrative_photos':
             $this->loadIllustrativePhotos();
             return $this->_illustrative_photos;
         case 'collection':
             $this->loadCollection();
             return $this->_collection;
         case 'attachments':
             $this->loadAttachments();
             return $this->_attachments;
         default:
             try {
                 $this->loadData();
                 return $this->_data->{$name};
             } catch (No_Such_Variable_Exception $e) {
                 return parent::get($name);
             }
     }
 }
 public function __construct($root = 1)
 {
     parent::__construct();
     $this->_root = $root;
     $this->_menu = null;
 }