Exemplo n.º 1
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     $this->tpl->setParamsArray(array("src" => $this->getSrc(), "type" => $this->getType(), "alt" => $this->getAlt()));
     parent::assignVars();
 }
Exemplo n.º 2
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     $this->tpl->setParamsArray(array("cols" => $this->getCols(), "rows" => $this->getRows()));
     parent::assignVars();
 }
Exemplo n.º 3
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     parent::assignVars();
     $this->tpl->setParamsArray(array("checked" => $this->getChecked() ? "checked=\"1\"" : "", "label" => !empty($this->text) ? "<label for=\"" . $this->getHTMLId() . "\">&nbsp;" . Language::encodePair($this->getText()) . "</label>" : ""));
 }
Exemplo n.º 4
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     $this->tpl->setParamsArray(array("size" => $this->getSize(), 'max_file_size' => $this->getMaxFileSize()));
     parent::assignVars();
 }
Exemplo n.º 5
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     $this->tpl->setParamsArray(array("default" => $this->getDefault(), "type" => $this->getType(), "maxlength" => $this->getMaxLength(), "size" => $this->getSize(), "key_title" => Language::message("widgets", "edit_key_title")));
     parent::assignVars();
 }
Exemplo n.º 6
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     //move to messageInterchange
     if (!isset($this->text)) {
         $this->setText($this->getValue());
     }
     if (empty($this->value) && !is_numeric($this->value)) {
         $this->setValue('checkbox');
     }
     $this->tpl->setParamsArray(array("text" => Language::encodePair($this->getText()), "checked" => $this->getChecked() ? 'checked="1"' : ''));
     parent::assignVars();
 }