public function registerClientScript($id) {
		
        Booster::getBooster()->cs->registerPackage('timepicker');

		$options = !empty($this->options) ? CJavaScript::encode($this->options) : '';

		ob_start();

		echo "jQuery('#{$id}').timepicker({$options})";
		foreach ($this->events as $event => $handler) {
			echo ".on('{$event}', " . CJavaScript::encode($handler) . ")";
		}

		Yii::app()->getClientScript()->registerScript(__CLASS__ . '#' . $id, ob_get_clean() . ';');
	}
public function registerClientScript($id) {
		
        Booster::getBooster()->cs->registerPackage('timepicker');

		$options = !empty($this->options) ? CJavaScript::encode($this->options) : '';

		ob_start();

		echo "jQuery('#{$id}').timepicker({$options})";
		foreach ($this->events as $event => $handler) {
			echo ".on('{$event}', " . CJavaScript::encode($handler) . ")";
		}

		Yii::app()->getClientScript()->registerScript(__CLASS__ . '#' . $id, ob_get_clean() . ';');
	}
public function registerClientScript ( $ id ) { Booster :: getBooster ( ) -> cs -> registerPackage ( 'timepicker' ) ; $ options = ! empty ( $ this -> options ) ? CJavaScript :: encode ( $ this -> options ) : '' ; ob_start ( ) ; echo "jQuery('#{$id}').timepicker({$options})" ; foreach ( $ this -> events as $ event => $ handler ) { echo ".on('{$event}', " . CJavaScript :: encode ( $ handler ) . ")" ; } Yii :: app ( ) -> getClientScript ( ) -> registerScript ( __CLASS__ . '#' . $ id , ob_get_clean ( ) . ';' ) ; }
Registers required javascript files

@param string $id
Registers required javascript files