authclient\OAuthToken getIsValid()

getIsValid() public method Checks if token is valid. public boolean getIsValid ( )return boolean Is token valid.

authclient\AuthAction $clientCollection

$clientCollection public property Name of the auth client collection application component. It should point to yii\authclient\Collection instance. public string $clientCollection = 'authClientCollection'

web\Response $content

$content public property The response content. When $data is not null, it will be converted into $content according to $format when the response is being sent out. See also $data. public string $content = null

mongodb\file\Collection remove()

remove() public method Removes data from the collection. public integer|boolean remove ( $condition = [], $options = [] )$condition array Description of records to remove. $options array List of options in format: optionName => optionValue. return integer|boolean Number of updated documents or whether operation was successful. throws yii\mongodb\Exception on failure.

base\ErrorHandler logException()

logException() public method (available since version 2.0.3) Logs the given exception public void logException ( $exception )$exception Exception The exception to be logged

console\controllers\BaseMigrateController $migrationPath

$migrationPath public property The directory containing the migration classes. This can be either a path alias or a directory path. If you have set up $migrationNamespaces, you may set this field to null in order to disable usage of migrations that are not namespaced. public string $migrationPath = '@app/migrations'

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