web\UrlManager $hostInfo

$hostInfo public property The host info (e.g. "http://www.example.com") that is used by createAbsoluteUrl() to prepend to created URLs. public string getHostInfo ( )public void setHostInfo ( $value )

web\UrlManager $enableStrictParsing

$enableStrictParsing public property Whether to enable strict parsing. If strict parsing is enabled, the incoming requested URL must match at least one of the $rules in order to be treated as a valid request. Otherwise, the path info part of the request will be treated as the requested route. This property is used only when $enablePrettyUrl is true. public boolean $enableStrictParsing = false

web\UrlManager $enablePrettyUrl

$enablePrettyUrl public property Whether to enable pretty URLs. Instead of putting all parameters in the query string part of a URL, pretty URLs allow using path info to represent some of the parameters and can thus produce more user-friendly URLs, such as "/news/Yii-is-released", instead of "/index.php?r=news%2Fview&id=100". public boolean $enablePrettyUrl = false

web\UrlManager $cacheKey

$cacheKey protected property (available since version 2.0.8) The cache key for cached rules protected string $cacheKey = __CLASS__

web\UrlManager $cache

$cache public property The cache object or the application component ID of the cache object. Compiled URL rules will be cached through this cache object, if it is available. After the UrlManager object is created, if you want to change this property, you should only assign it with a cache object. Set this property to false if you do not want to cache the URL rules. public yii\caching\Cache|string $cache = 'cache'

web\UrlManager $baseUrl

$baseUrl public property The base URL that is used by createUrl() to prepend to created URLs. public string getBaseUrl ( )public void setBaseUrl ( $value )

web\UploadedFile __toString()

__toString() public method String output. This is PHP magic method that returns string representation of an object. The implementation here returns the uploaded file's name. public string __toString ( )return string The string representation of the object

web\UploadedFile saveAs()

saveAs() public method Saves the uploaded file. Note that this method uses php's move_uploaded_file() method. If the target file $file already exists, it will be overwritten. See also $error. public boolean saveAs ( $file, $deleteTempFile = true )$file string The file path used to save the uploaded file $deleteTempFile boolean Whether to delete the temporary file after saving. If true, you will not be able to save the uploaded file again in the current request. return boolean True wh

web\UploadedFile reset()

reset() public static method Cleans up the loaded UploadedFile instances. This method is mainly used by test scripts to set up a fixture. public static void reset ( )

web\UploadedFile getInstancesByName()

getInstancesByName() public static method Returns an array of uploaded files corresponding to the specified file input name. This is mainly used when multiple files were uploaded and saved as 'files[0]', 'files[1]', 'files[n]'..., and you can retrieve them all by passing 'files' as the name. public static yii\web\UploadedFile[] getInstancesByName ( $name )$name string The name of the array of files return yii\web\UploadedFile[] The array of UploadedFile objects. Empty array is returne