Esempio n. 1
0
 public function load()
 {
     if (parent::load()) {
         $this->sidebars =& $this->data['sidebars'];
         return true;
     }
     return false;
 }
 protected function create()
 {
     parent::create();
     $this->data = array('id' => 0, 'class' => get_class($this), 'name' => 'permission');
 }