Example #1
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     $controller = Controller::getInstance();
     $controller->addScript("colorpicker.js");
     $controller->addCSS("colorpicker.css");
     parent::buildComplete();
 }
Example #2
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     $this->tpl->setParamsArray(array("date_format" => $this->getDateFormat()));
     parent::assignVars();
 }
Example #3
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function assignVars()
 {
     $this->tpl->setParamsArray(array("step" => $this->getStep(), "min" => $this->getMin(), "max" => $this->getMax(), "text" => Language::encodePair($this->getText())));
     parent::assignVars();
 }