/** * @param DATABASE $db Database from which to load values. */ public function load($db) { parent::load($db); $this->summary = $db->f('summary'); $this->icon_url = $db->f('icon_url'); $this->organizational = $db->f('organizational'); $this->parent_id = $db->f('parent_id'); $this->root_id = $db->f('root_id'); $this->permissions_id = $db->f('permissions_id'); $this->_privileges = $this->app->make_privileges(); $this->_privileges->load($db); $folder_cache = $this->login->folder_cache(); $folder_cache->add_object($this); }
/** * @param DATABASE $db Database from which to load values. */ public function load($db) { parent::load($db); $this->entry_id = $db->f("entry_id"); $this->parent_id = $db->f("parent_id"); $this->root_id = $db->f("root_id"); $this->number = $db->f("number"); $this->kind = $db->f("kind"); }