示例#1
0
文件: WHidden.php 项目: point/cassea
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     parent::buildComplete();
 }
示例#2
0
文件: WRadio.php 项目: point/cassea
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         $this->tpl = $this->createTemplate();
     }
     if (!isset($this->text)) {
         $this->setText($this->getValue());
     }
     parent::buildComplete();
 }
示例#3
0
文件: WButton.php 项目: point/cassea
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->value)) {
         $this->setValue("OK");
     }
     if (isset($this->src)) {
         $this->setType("image");
     }
     parent::buildComplete();
 }
示例#4
0
文件: WEdit.php 项目: point/cassea
 /**
  * Method description
  *
  * More detailed method description
  * @param    void
  * @return   void
  */
 function buildComplete()
 {
     if (!isset($this->tpl)) {
         if ($this->switch && $this->getType() == "password") {
             $this->tpl = $this->createTemplate(null, 'switch.tpl');
         } else {
             $this->tpl = $this->createTemplate();
         }
     }
     parent::buildComplete();
 }