/**
  * @return void
  */
 public function save()
 {
     $mode = $this->mode->get_value();
     if ($mode == 'replace') {
         Ultimatum_Model_Ultplayergrouporders::clear_orders($this->player_group->get_value());
     }
     return parent::save();
     // magic delegates to the domain object.
 }
 /**
  *
  * @param array $pFields
  * @return void
  */
 public function load_field_values($pFields)
 {
     parent::load_field_values($pFields);
     if (array_key_exists('title', $pFields)) {
         $this->get_domain()->set_title($pFields['title']);
     }
     if (array_key_exists('lead', $pFields)) {
         $this->get_domain()->set_lead($pFields['lead']);
     }
     if (array_key_exists('content', $pFields)) {
         $this->get_domain()->set_content($pFields['content']);
     }
 }
 /**
  *
  */
 public function save()
 {
     $sgt = Synerg_Model_Gametypes::synergy_gametype();
     $sgt_id = $sgt->identity();
     return parent::save();
 }