예제 #1
0
 /**
  * Running widget
  *
  * @access public
  *
  * @return void
  */
 public function run()
 {
     $result = Html::endForm();
     if ($this->client) {
         $result .= Html::script($this->client);
     }
     echo $result;
 }
예제 #2
0
파일: View.php 프로젝트: dp-ifacesoft/micro
 /**
  * @inheritdoc
  */
 public function registerScript($source, $isHead = true)
 {
     $this->styleScripts[] = ['isHead' => $isHead, 'body' => Html::script($source)];
 }