Exemple #1
0
 /**
  * Registers the needed assets
  */
 public function registerAssets()
 {
     $view = $this->getView();
     ActiveFormAsset::register($view);
 }
Exemple #2
0
 /**
  * Registers the needed assets
  */
 public function registerAssets()
 {
     $view = $this->getView();
     ActiveFormAsset::register($view);
     $id = 'jQuery("#' . $this->options['id'] . ' .kv-hint-special")';
     $view->registerJs('var $el=' . $id . ';if($el.length){$el.each(function(){$(this).activeFieldHint()});}');
 }