Ejemplo n.º 1
0
 /**
  * @param DATABASE $db Database from which to load values.
  */
 public function load($db)
 {
     parent::load($db);
     $this->title = $db->f('title');
     $this->category = $db->f('category');
     $this->url = $db->f('url');
 }
Ejemplo n.º 2
0
 /**
  * @param DATABASE $db Database from which to load values.
  */
 public function load($db)
 {
     parent::load($db);
     $this->object_type = $db->f('object_type');
     $this->object_id = $db->f('object_id');
     $this->user_id = $db->f('user_id');
     $this->time_created->set_from_iso($db->f('time_created'));
     $this->publication_state = $db->f('publication_state');
     $this->access_id = $db->f('access_id');
     $this->kind = $db->f('kind');
     $this->title = $db->f('title');
     $this->description = $db->f('description');
     $this->system_description = $db->f('system_description');
 }
Ejemplo n.º 3
0
 /**
  * @param DATABASE $db
  */
 public function load($db)
 {
     parent::load($db);
     $this->entry_id = $db->f('entry_id');
     $this->branch_id = $db->f('branch_id');
     $this->release_id = $db->f('branch_release_id');
     $this->entry_to_branch_id = $db->f('entry_to_branch_id');
 }
Ejemplo n.º 4
0
 /**
  * @param DATABASE $db Database from which to load values.
  */
 public function load($db)
 {
     parent::load($db);
     $this->time_created->set_from_iso($db->f('time_created'));
     $this->time_modified->set_from_iso($db->f('time_modified'));
     $this->creator_id = $db->f('creator_id');
     $this->modifier_id = $db->f('modifier_id');
 }
Ejemplo n.º 5
0
 /**
  * @param DATABASE $db Database from which to load values.
  */
 public function load($db)
 {
     parent::load($db);
     $this->send_as_html = $db->f('send_as_html');
     $this->preferred_text_length = $db->f('preferred_text_length');
     $this->send_own_changes = $db->f('send_own_changes');
     $this->max_individual_messages = $db->f('max_individual_messages');
     $this->max_items_per_message = $db->f('max_items_per_message');
     $this->min_hours_to_wait = $db->f('min_hours_to_wait');
     $this->group_history_items = $db->f('group_history_items');
     $this->show_history_items = $db->f('show_history_items');
     $this->show_history_item_as_subject = $db->f('show_history_item_as_subject');
     $this->time_messages_sent->set_from_ISO($db->f('time_messages_sent'));
     $this->queued_history_item_ids = $db->f('queued_history_item_ids');
     $this->email = $db->f('email');
     $this->_read_only = false;
 }
Ejemplo n.º 6
0
 /**
  * @param DATABASE $db Database from which to load values.
  */
 public function load($db)
 {
     parent::load($db);
     $this->title = $db->f('title');
     $this->renderer_class_name = $db->f('renderer_class_name');
     $this->main_CSS_file_name = $db->f('main_CSS_file_name');
     $this->font_name_CSS_file_name = $db->f('font_name_CSS_file_name');
     $this->font_size_CSS_file_name = $db->f('font_size_CSS_file_name');
     $this->icon_set = $db->f('icon_set');
     $this->icon_extension = $db->f('icon_extension');
     $this->time_created->set_from_iso($db->f('time_created'));
 }