Exemple #1
0
 public function init($id = '', $content = '', $class = '', $attributes = array())
 {
     parent::init($id);
     $this->setAttributes($attributes);
     $this->setInner($content);
     $this->setClass($class);
 }
Exemple #2
0
 public function init($id = '', $controls = array(), $disposition = MContainer::DISPOSITION_VERTICAL, $labelMode = MFieldLabel::LABEL_ABOVE, $showLabel = true)
 {
     parent::init($id);
     $this->setLabelMode($labelMode);
     $this->setShowLabel($showLabel);
     $this->setDisposition($disposition);
     $this->setControls($controls);
 }
 public function init($id = '', $options = '', $showValues = false)
 {
     parent::init($id);
     if ($options) {
         $this->setControls($options);
     }
     $this->showValues = $showValues;
 }
Exemple #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;
 }
Exemple #5
0
 public function init($name = NULL, $content = ' ', $class = NULL, $attributes = NULL)
 {
     parent::init($name, $content, $ckass, $attributes);
     $this->options = new MStringList();
     $this->height = '150px';
 }
 public function init($id = '', $text = '', $options = array())
 {
     parent::init($id, $options);
     $this->setText($text);
 }
Exemple #7
0
 public function init($id = '', $data = NULL, $columns = '', $href = '', $pageLength = 15, $index = 0, $useSelecteds = true, $useNavigator = true)
 {
     parent::init($id);
     $this->setColumns($columns);
     $this->href = $href;
     $this->pageLength = $pageLength;
     $this->data = $data;
     $this->index = $index;
     $this->rowCount = count($this->data);
 }