getAssetPath() public method
Returns the actual file path for the specified asset.
public string|boolean getAssetPath ( $bundle, $asset ) | ||
---|---|---|
$bundle | yii\web\AssetBundle |
The asset bundle which the asset file belongs to |
$asset | string |
The asset path. This should be one of the assets listed in \yii\web\js or \yii\web\css. |
return | string|boolean |
The actual file path, or false if the asset is specified as an absolute URL |
Please login to continue.