예제 #1
0
 public function init($icon, $text = '', $action = 'SUBMIT')
 {
     parent::init();
     $this->action = $action;
     $this->icon = $icon;
     $this->text = $text;
 }
예제 #2
0
 public function init($id = '', $value = array(), $label = '', $select = '', $zebra = true)
 {
     parent::init($id, $value, $label);
     $this->tableId = $id . '_table';
     $this->select = $select;
     $this->caption = $caption;
     $this->zebra = $zebra ? 'true' : 'false';
 }
예제 #3
0
 public function init($id = '', $label = '', $css = '', $source = '')
 {
     parent::init($id, '', $label);
     $this->source = $source;
     $this->css = $css;
 }
예제 #4
0
 /**
  property $validator;
  property $autoPostBack;
 */
 public function init($name = '', $value = '', $label = '', $color = '', $hint = '')
 {
     parent::init($name, $value, $label, $hint);
 }
예제 #5
0
 public function init($id = '', $value = '', $label = '', $list = array(), $hint = '')
 {
     parent::init($id, $value, $label, $hint);
     $this->list = $list;
 }
예제 #6
0
 public function init($id = '', $value = null, $label = '', $fields = array())
 {
     parent::init($id, $value, $label, $size, $hint);
     $this->setFields($fields);
 }
예제 #7
0
 public function init($name = '', $content = '', $label = '', $class = NULL, $attributes = NULL)
 {
     parent::init($name, '', $label);
     $this->formMode = MFormControl::FORM_MODE_SHOW_SIDE;
     $this->div = new MDiv($name, $content, $class, $attributes);
 }