Пример #1
0
 /**
  * Pass through use_pas flag to allow pas supression.
  *
  * @see CActiveRecord::instantiate()
  */
 protected function instantiate($attributes)
 {
     $model = parent::instantiate($attributes);
     $model->use_pas = $this->use_pas;
     return $model;
 }