helpers/Foundation.php
public static function registerScriptFile($asset, $position = \CClientScript::POS_END)
    {
        \Yii::app()->clientScript->registerScriptFile(static::getAssetsUrl() . "/{$asset}", $position);
    }
public static function registerScriptFile($asset, $position = \CClientScript::POS_END)
    {
        \Yii::app()->clientScript->registerScriptFile(static::getAssetsUrl() . "/{$asset}", $position);
    }
public static function registerScriptFile ( $ asset , $ position = \ CClientScript :: POS_END ) { \ Yii :: app ( ) -> clientScript -> registerScriptFile ( static :: getAssetsUrl ( ) . "/{$asset}" , $ position ) ; }
Registers a specific js assets file
@param string $asset the assets file (ie 'foundation/foundation.abide.js'
@param int $position the position where the script should be registered on the page
Registers a specific js assets file