/** * @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; }