helpers/Foundation.php
public static function isCoreRegistered($minimized = true, $position = \CClientScript::POS_END)
    {
        $script = $minimized
            ? '/js/foundation.min.js'
            : '/js/foundation/foundation.js';

        return \Yii::app()->getClientScript()
            ->isScriptFileRegistered(static::getAssetsUrl() . $script, $position);
    }
public static function isCoreRegistered($minimized = true, $position = \CClientScript::POS_END)
    {
        $script = $minimized
            ? '/js/foundation.min.js'
            : '/js/foundation/foundation.js';

        return \Yii::app()->getClientScript()
            ->isScriptFileRegistered(static::getAssetsUrl() . $script, $position);
    }
public static function isCoreRegistered ( $ minimized = true , $ position = \ CClientScript :: POS_END ) { $ script = $ minimized ? '/js/foundation.min.js' : '/js/foundation/foundation.js' ; return \ Yii :: app ( ) -> getClientScript ( ) -> isScriptFileRegistered ( static :: getAssetsUrl ( ) . $ script , $ position ) ; }
Checks whether the core script has been registered or not
@param bool $minimized whether to check full minimized library or not
@param int $position the position to register the core script
@return bool
Checks whether the core script has been registered or not