public function init($id = '', $value = '', $label = '', $hint = '') { parent::init($id); $this->setHint($hint); $this->setValue($value); $this->setLabel($label); }
public function init($id = '', $content = '', $class = '', $attributes = array()) { parent::init($id); $this->setAttributes($attributes); $this->setInner($content); $this->setClass($class); }
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()); }
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; }
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; } } }
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(); }
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; }
public function init($id = '', $text = NULL) { parent::init($id); $this->setText($text); $this->setMode(MFieldLabel::LABEL_SIDE); }
public function init($code = '') { parent::init(); $this->addCode($code); }