コード例 #1
0
ファイル: BsActiveForm.php プロジェクト: KEMSolutions/Boukem1
 /**
  * Initializes the widget.
  */
 public function init()
 {
     $this->attachBehavior('BsWidget', new BsWidget());
     $this->copyId();
     if ($this->stateful) {
         echo BsHtml::statefulFormBs($this->layout, $this->action, $this->method, $this->htmlOptions);
     } else {
         echo BsHtml::beginFormBs($this->layout, $this->action, $this->method, $this->htmlOptions);
     }
 }