web\AssetManager getPublishedUrl()

getPublishedUrl() public method

Returns the URL of a published file path.

This method does not perform any publishing. It merely tells you if the file path is published, what the URL will be to access it.

public string|false getPublishedUrl ( $path )
$path string

Directory or file path being published

return string|false

String the published URL for the file or directory. False if the file or directory does not exist.

doc_Yii
2016-10-30 17:14:37
Comments
Leave a Comment

Please login to continue.