예제 #1
0
 public function init($id = '', $value = '', $label = '', $hint = '')
 {
     parent::init($id);
     $this->setHint($hint);
     $this->setValue($value);
     $this->setLabel($label);
 }
예제 #2
0
 public function init($id = '', $content = '', $class = '', $attributes = array())
 {
     parent::init($id);
     $this->setAttributes($attributes);
     $this->setInner($content);
     $this->setClass($class);
 }
예제 #3
0
 public function init($id = '', $template = '', $action = '', $target = '_blank')
 {
     parent::init($id);
     $this->template = $template;
     $this->action = $action;
     $this->target = $target;
     $this->jsId = 'tree' . ucfirst($this->getId());
 }
예제 #4
0
 public function init($body = NULL, $tableAttr = NULL, $attr = NULL, $head = NULL, $foot = NULL, $colgroup = NULL)
 {
     parent::init();
     $this->body = $body;
     $this->head = $head;
     $this->foot = $foot;
     $this->colgroup = $colgroup;
     $this->setAttributes($tableAttr);
     $this->attr = $attr;
 }
예제 #5
0
 public function init($id, $url, $text = '', $options = array())
 {
     parent::init($id);
     $this->url = $url;
     $this->text = $text;
     if (count($options)) {
         foreach ($options as $option => $value) {
             $this->{$option} = $value;
         }
     }
 }
예제 #6
0
 public function init($grid, $type, $alt, $value, $action, $enabled = true)
 {
     parent::init();
     $this->grid = $grid;
     $this->type = $type;
     $this->alt = $alt;
     $this->value = $value;
     $this->action = $action;
     $this->enabled = $enabled;
     $this->controls = array();
 }
예제 #7
0
 public function init($title = '', $align = 'left', $nowrap = false, $width = 0, $visible = true, $options = null, $order = false, $filter = false, $index = -1)
 {
     parent::init();
     $this->visible = $visible;
     $this->title = $title;
     $this->options = $options;
     $this->align = $align;
     $this->nowrap = $nowrap;
     $this->width = $width;
     $this->order = $order;
     $this->index = $index;
 }
예제 #8
0
 public function init($id = '', $text = NULL)
 {
     parent::init($id);
     $this->setText($text);
     $this->setMode(MFieldLabel::LABEL_SIDE);
 }
예제 #9
0
 public function init($code = '')
 {
     parent::init();
     $this->addCode($code);
 }