Example #1
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     parent::buildComplete();
 }
Example #2
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         if (in_array($this->real_tagname, array("hr", "br", "img", "input", "param", "col", "area", "frame", "meta", "link", "base", "basefont", "isindex"))) {
             $this->tpl = $this->createTemplate(null, "short_tag.tpl");
         } else {
             $this->tpl = $this->createTemplate();
         }
     }
     parent::buildComplete();
 }
Example #3
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("jquery.ui.js");
     $controller->addCSS("jquery-ui.css");
     $this->tabs->filter("WTab");
     parent::buildComplete();
 }
Example #4
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     Controller::getInstance()->getDispatcher()->addEvent("have_valuechecker");
     Controller::getInstance()->getDispatcher()->addEvent("echo_formid");
     Controller::getInstance()->getDispatcher()->addEvent("echo_form_signature");
     parent::buildComplete();
 }
Example #5
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if ($this->getIsUl()) {
         $this->setTemplate("ul");
     }
     if ($this->getIsOl()) {
         $this->setTemplate("ol");
     }
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     $this->items->filter(array("WListItem", "WRoll"));
     /*if(empty($this->items))
     		{
     			$b1 = new WBuilder(array(
     				"widget_name"=>"WListItem",
     				"id"=>"li".$this->id
     			));
     			$this->items = new WidgetCollection(array($b1->build()));
     			$this->item_created = 1;
     		}*/
     parent::buildComplete();
 }
Example #6
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     Controller::getInstance()->getDispatcher()->addEvent("ruler_settotal");
     Controller::getInstance()->getDispatcher()->addSubscriber("roll_setlimits", $this->getId());
     parent::buildComplete();
 }
Example #7
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->getDispatcher()->addSubscriber("ruler_settotal", $this->getId());
     $controller->getDispatcher()->addSubscriber("ruler_has_another_instance", $this->getId());
     $controller->getDispatcher()->addEvent("roll_setlimits");
     $controller->getDispatcher()->addEvent("ruler_has_another_instance");
     $this->calcCurrentPage();
     $controller->getDisplayModeParams()->predicted_from = $this->getResPerPage() * ($this->current_page - 1);
     $controller->getDisplayModeParams()->predicted_limit = $this->getResPerPage();
     parent::buildComplete();
 }
Example #8
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     if ($this->items->has("WTableHeader")) {
         $this->thead = 1;
     }
     parent::buildComplete();
 }
Example #9
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     if ($this->getTableSorter()) {
         $controller = Controller::getInstance();
         $controller->addScript("jquery.metadata.js");
         $controller->addScript("jquery.tablesorter.js");
         $controller->addCSS("jquery.tablesorter.css");
         $this->setStyleClass("tablesorter");
     }
     parent::buildComplete();
 }
Example #10
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (isset($this->name) && !isset($this->href)) {
         $this->setHREF("");
     }
     if (!isset($this->name) && !isset($this->href)) {
         $this->setHREF("#");
     }
     if ($this->items->isEmpty()) {
         if (isset($this->text)) {
             $this->items->setText($this->getText());
         } else {
             $this->items->setText($this->getHREF());
         }
     }
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     parent::buildComplete();
 }