/**
  * @param DATABASE $db Database from which to load values.
  */
 public function load($db)
 {
     $this->_exists = true;
     $this->user_id = $db->f('user_id');
     $this->global_privileges->load($db);
     $this->allow_privileges->load($db, 'allow_');
     $this->deny_privileges->load($db, 'deny_');
 }
 /**
  * @param DATABASE $db Database from which to load values.
  */
 public function load($db)
 {
     $this->_exists = true;
     $this->kind = $db->f('kind');
     $this->folder_id = $db->f('folder_id');
     $this->ref_id = $db->f('ref_id');
     $this->importance = $db->f('importance');
     $this->privileges->load($db);
 }