public function __construct(PublisherBaseModel $model) { parent::__construct(pathinfo(dirname(__DIR__), PATHINFO_BASENAME)); $this->model = $model; $this->layout = 'layout.indexPublisher'; }
public function __construct() { parent::__construct(pathinfo(dirname(__DIR__), PATHINFO_BASENAME)); }