Пример #1
0
 /**
  * Initialize new entity.
  */
 public function init()
 {
     if ($this->skipInit) {
         return;
     }
     $this->initEntityEvents();
     parent::init();
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 public function delete()
 {
     return (bool) parent::delete();
 }
Пример #3
0
 public function beforeSave($insert)
 {
     $this->_beforeSave($insert);
     return parent::beforeSave($insert);
 }