Пример #1
0
 /**
  * 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);
     }
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->song = new Song();
 }
Пример #4
0
 /**
  * {@inheritdoc}
  */
 public function __construct(array $attributes = [])
 {
     parent::__construct($attributes);
     // Initialize listify with the scope of the current step guide.
     $this->initListify(['scope' => $this->guide()]);
 }
Пример #5
0
 function __construct()
 {
     parent::__construct();
     $this->setData(['sideBarData' => IndexWidgets::sideBarMenuWidget(), 'footerData' => IndexWidgets::footerWidget()]);
     Helper::redirectChecker();
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
 }