base\Theme applyTo()

applyTo() public method

Converts a file to a themed file if possible.

If there is no corresponding themed file, the original file will be returned.

public string applyTo ( $path )
$path string

The file to be themed

return string

The themed file, or the original file if the themed version is not available.

throws yii\base\InvalidConfigException

if $basePath is not set

doc_Yii
2016-10-30 16:52:24
Comments
Leave a Comment

Please login to continue.