protected function pluginAssetFile(array $url)
    {
        list($plugin, $basefile) = $url;

        if ($plugin && Plugin::loaded($plugin)) {
            return realpath(Plugin::path($plugin) . 'webroot' . DS . $basefile);
        }

        return false;
    }
protected function pluginAssetFile(array $url)
    {
        list($plugin, $basefile) = $url;

        if ($plugin && Plugin::loaded($plugin)) {
            return realpath(Plugin::path($plugin) . 'webroot' . DS . $basefile);
        }

        return false;
    }
protected function pluginAssetFile ( array $ url ) { list ( $ plugin , $ basefile ) = $ url ; if ( $ plugin && Plugin :: loaded ( $ plugin ) ) { return realpath ( Plugin :: path ( $ plugin ) . 'webroot' . DS . $ basefile ) ; } return false ; }
Builds asset file path for a plugin based on url.

@param string  $url Asset URL.
@return string      Absolute path for asset file.
Builds asset file path for a plugin based on url .