private static function loadAssets()
	{
		$am = \Yii::app()->assetManager;
		$cs = \Yii::app()->clientScript;

		// Publish all assets
		self::$_assetsUrl = $am->publish(realpath(__DIR__.'/../assets'));

		// Register jquery-unveil
		$script = YII_DEBUG ? 'jquery-unveil.js' : 'jquery-unveil.min.js';

		$cs->registerScriptFile(self::$_assetsUrl
				.'/js/'.$script, \CClientScript::POS_END);

		$cs->registerScript(__CLASS__.'_unveil', '
			$(".lazy").unveil(50);
		', \CClientScript::POS_END);
	}
private static function loadAssets()
	{
		$am = \Yii::app()->assetManager;
		$cs = \Yii::app()->clientScript;

		// Publish all assets
		self::$_assetsUrl = $am->publish(realpath(__DIR__.'/../assets'));

		// Register jquery-unveil
		$script = YII_DEBUG ? 'jquery-unveil.js' : 'jquery-unveil.min.js';

		$cs->registerScriptFile(self::$_assetsUrl
				.'/js/'.$script, \CClientScript::POS_END);

		$cs->registerScript(__CLASS__.'_unveil', '
			$(".lazy").unveil(50);
		', \CClientScript::POS_END);
	}
private static function loadAssets ( ) { $ am = \ Yii :: app ( ) -> assetManager ; $ cs = \ Yii :: app ( ) -> clientScript ; // Publish all assets self :: $ _assetsUrl = $ am -> publish ( realpath ( __DIR__ . '/../assets' ) ) ; // Register jquery-unveil $ script = YII_DEBUG ? 'jquery-unveil.js' : 'jquery-unveil.min.js' ; $ cs -> registerScriptFile ( self :: $ _assetsUrl . '/js/' . $ script , \ CClientScript :: POS_END ) ; $ cs -> registerScript ( __CLASS__ . '_unveil' , '
			$(".lazy").unveil(50);
		' , \ CClientScript :: POS_END ) ; }
Publishes the required assets
Publishes the required assets