Esempio n. 1
0
 public function __set($column, $value)
 {
     switch ($column) {
         case 'left':
             return parent::__set($this->_left_column, $value);
             break;
         case 'right':
             return parent::__set($this->_right_column, $value);
             break;
         case 'parent':
             return parent::__set($this->_parent_column, $value);
             break;
         case 'children':
         case 'parents':
         case 'descendants':
             return;
             break;
     }
     return parent::__set($column, $value);
 }