/** * Required in every model. Please do not edit! * * @param array $params */ public function __construct($params = array()) { if ($params) { parent::__construct($params); } elseif (isset($this->settings)) { unset($this->settings); } }
public function __construct(UserTableModel $userTableModel, $id = NULL) { parent::__construct(); if (is_null($this->userTableModel)) { $this->userTableModel = $userTableModel; } if (!is_null($id)) { $this->id = $id; $this->userTableModel->setId($id); } }
public function __construct() { parent::__construct(); $this->song = new Song(); }
/** * {@inheritdoc} */ public function __construct(array $attributes = []) { parent::__construct($attributes); // Initialize listify with the scope of the current step guide. $this->initListify(['scope' => $this->guide()]); }
function __construct() { parent::__construct(); $this->setData(['sideBarData' => IndexWidgets::sideBarMenuWidget(), 'footerData' => IndexWidgets::footerWidget()]); Helper::redirectChecker(); }
public function __construct() { parent::__construct(); }