Esempio n. 1
0
 public function __construct($baseControl)
 {
     parent::__construct($baseControl);
     $this->fields = $baseControl->getControls()->get('fields');
     $this->buttons = $baseControl->getControls()->get('buttons');
     $this->helps = $baseControl->getControls()->get('helps');
 }
Esempio n. 2
0
 public function __construct($baseControl, $title = '', $close = '')
 {
     parent::__construct($baseControl);
     $this->tag = $this->tag = 'mdialog';
     $this->property->title = $title;
     $this->property->close = $close;
     $this->buttons = NULL;
     $this->help = NULL;
     $this->toolbar = NULL;
     $this->tools = NULL;
     foreach ($baseControl->getControls() as $control) {
         if ($control->tag == 'buttons') {
             $this->buttons = $control;
         } elseif ($control->tag == 'help') {
             $this->help = $control;
         } elseif ($control->tag == 'tools') {
             $this->tools = $control;
         } elseif ($control->tag == 'toolbar') {
             $this->toolbar = $control;
         }
     }
 }
Esempio n. 3
0
 public function __construct($args = [])
 {
     parent::__construct('mdatagrid', $args);
 }