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')); }
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')); }
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')); }
public function initialize() { parent::initialize(); $this->hasMany('id', 'Eve\\Model\\WaitList', 'mission_id', array('alias' => 'lists')); $this->skipAttributesOnUpdate(array('id', 'date_created')); }
public function initialize() { parent::initialize(); $this->skipAttributesOnUpdate(array('id', 'date_created')); }