Пример #1
0
 /**
  * @inheritdoc
  */
 public function restore()
 {
     $this->recordStatus = static::RECORDSTATUS_USED;
     return parent::restore();
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 public function restore()
 {
     $this->status = static::STATUS_ACTIVE;
     return parent::restore();
 }