public function run($id) { $model = parent::run($id); foreach ($this->controller->getFilters() as $column => $value) { if ($model->{$column} != $value) { throw new NotFoundHttpException("Object not found: {$id}"); } } return $model; }
public function run($id) { return parent::run($id); }
/** * @inheritdoc */ public function run() { return parent::run(null); }