The actual URL is obtained by prepending either [[AssetBundle::$baseUrl]] or [[AssetManager::$baseUrl]] to the given asset path.
public getAssetUrl ( |
||
$bundle | the asset bundle which the asset file belongs to | |
$asset | string | the asset path. This should be one of the assets listed in [[AssetBundle::$js]] or [[AssetBundle::$css]]. |
Результат | string | the actual URL for the specified asset. |