Пример #1
0
 public function initialize()
 {
     parent::initialize();
     $this->hasOne('user_id', 'Eve\\Model\\User', 'id', array('alias' => 'user'));
     $this->hasMany('id', 'Eve\\Model\\Fit', 'character_id', array('alias' => 'fits'));
     $this->skipAttributesOnUpdate(array('id', 'date_created'));
 }
Пример #2
0
 public function initialize()
 {
     parent::initialize();
     $this->hasOne('fit_id', 'Eve\\Model\\Fit', 'id', array('alias' => 'fit'));
     $this->hasOne('type_id', 'Eve\\Model\\Type', 'id', array('alias' => 'type'));
     $this->skipAttributesOnUpdate(array('id', 'type_id', 'date_created'));
 }
Пример #3
0
 public function initialize()
 {
     parent::initialize();
     $this->hasOne('mission_id', 'Eve\\Model\\Mission', 'id', array('alias' => 'mission'));
     $this->hasOne('character_id', 'Eve\\Model\\Character', 'id', array('alias' => 'character'));
     $this->hasOne('fit_id', 'Eve\\Model\\Fit', 'id', array('alias' => 'fit'));
     $this->skipAttributesOnUpdate(array('id', 'date_created'));
 }
Пример #4
0
 public function initialize()
 {
     parent::initialize();
     $this->hasMany('id', 'Eve\\Model\\WaitList', 'mission_id', array('alias' => 'lists'));
     $this->skipAttributesOnUpdate(array('id', 'date_created'));
 }
Пример #5
0
 public function initialize()
 {
     parent::initialize();
     $this->skipAttributesOnUpdate(array('id', 'date_created'));
 }