console\controllers\AssetController $jsCompressor

$jsCompressor public property JavaScript file compressor. If a string, it is treated as shell command template, which should contain placeholders {from} - source file name - and {to} - output file name. Otherwise, it is treated as PHP callback, which should perform the compression. Default value relies on usage of "Closure Compiler" See also https://developers.google.com/closure/compiler/. public string|callable $jsCompressor = 'java -jar compiler.jar --js {from} --js_output_file {to}'

console\controllers\BaseMigrateController actionMark()

actionMark() public method Modifies the migration history to the specified version. No actual migration will be performed. yii migrate/mark 101129_185401 # using timestamp yii migrate/mark m101129_185401_create_user_table # using full name yii migrate/to app\migrations\M101129185401CreateUser # using full namespace name public integer actionMark ( $version )$version string The version at which the migration history should be marked. This can be either the time

authclient\BaseOAuth getReturnUrl()

getReturnUrl() public method public string getReturnUrl ( )return string Return URL.

authclient\OpenId defaultReturnUrl()

defaultReturnUrl() protected method Generates default $returnUrl value. protected string defaultReturnUrl ( )return string Default authentication return URL.

HTTP Caching

Last-Modified Header ETag Header Cache-Control Header Session Cache Limiter SEO Implications Besides server-side caching that we have described in the previous sections, Web applications may also exploit client-side caching to save the time for generating and transmitting the same page content. To use client-side caching, you may configure yii\filters\HttpCache as a filter for controller actions whose rendering result may be cached on the client-side. HttpCache only works for GET and HEAD requ

db\ColumnSchema $precision

$precision public property Precision of the column data, if it is numeric. public integer $precision = null

base\Security generateSalt()

generateSalt() protected method Generates a salt that can be used to generate a password hash. The PHP crypt() built-in function requires, for the Blowfish hash algorithm, a salt string in a specific format: "$2a$", "$2x$" or "$2y$", a two digit cost parameter, "$", and 22 characters from the alphabet "./0-9A-Za-z". protected string generateSalt ( $cost = 13 )$cost integer The cost parameter return string The random salt value. throws yii\base\InvalidParamException if the cost parame

authclient\clients\Twitter defaultName()

defaultName() protected method Generates service name. protected string defaultName ( )return string Service name.

web\XmlResponseFormatter $itemTag

$itemTag public property The name of the elements that represent the array elements with numeric keys. public string $itemTag = 'item'

elasticsearch\Connection getNodeInfo()

getNodeInfo() public method public void getNodeInfo ( )