예제 #1
0
 public function __construct($view, $params = null, $model = null)
 {
     parent::__construct($model);
     //
     $this->view = $view;
     $this->params = $params;
 }
예제 #2
0
파일: Panel.php 프로젝트: eliasrosa/bw-core
 public function __construct($title, $function_call, $model)
 {
     parent::__construct($model);
     //
     $this->title = $title;
     //
     $function_call($this);
 }
예제 #3
0
파일: Field.php 프로젝트: eliasrosa/bw-core
 public function __construct($name, $label, $model)
 {
     //
     parent::__construct($model);
     //
     $this->addAttribute(['class' => 'form-control']);
     //
     $this->name = $name;
     $this->label = $label;
 }