コード例 #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();
 }