redis\Cache getValue()

getValue() protected method Retrieves a value from cache with a specified key. This method should be implemented by child classes to retrieve the data from specific cache storage. protected mixed|false getValue ( $key )$key string A unique key identifying the cached value return mixed|false The value stored in cache, false if the value is not in the cache or expired. Most often value is a string. If you have disabled $serializer, it could be something else.

filters\VerbFilter events()

events() public method Declares event handlers for the $owner's events. public array events ( )return array Events (array keys) and the corresponding event handler methods (array values).

mongodb\rbac\MongoDbManager revokeAll()

revokeAll() public method Revokes all roles from a user. public boolean revokeAll ( $userId )$userId mixed The user ID (see yii\web\User::$id) return boolean Whether the revoking is successful

bootstrap\Nav isChildActive()

isChildActive() protected method Check to see if a child item is active optionally activating the parent. protected array isChildActive ( $items, &$active )$items array @see items $active boolean Should the parent be active too return array @see items

web\UrlManager getHostInfo()

getHostInfo() public method Returns the host info that is used by createAbsoluteUrl() to prepend to created URLs. public string getHostInfo ( )return string The host info (e.g. "http://www.example.com") that is used by createAbsoluteUrl() to prepend to created URLs. throws yii\base\InvalidConfigException if running in console application and $hostInfo is not configured.

behaviors\AttributeBehavior $attributes

$attributes public property List of attributes that are to be automatically filled with the value specified via $value. The array keys are the ActiveRecord events upon which the attributes are to be updated, and the array values are the corresponding attribute(s) to be updated. You can use a string to represent a single attribute, or an array to represent a list of attributes. For example, [ ActiveRecord::EVENT_BEFORE_INSERT => ['attribute1', 'attribute2'], ActiveRecord::EVENT_BE

gii\generators\extension\Generator requiredTemplates()

requiredTemplates() public method Returns a list of code template files that are required. Derived classes usually should override this method if they require the existence of certain template files. public array requiredTemplates ( )return array List of code template files that are required. They should be file paths relative to $templatePath.

captcha\Captcha getClientOptions()

getClientOptions() protected method Returns the options for the captcha JS widget. protected array getClientOptions ( )return array The options

web\UrlManager getScriptUrl()

getScriptUrl() public method Returns the entry script URL that is used by createUrl() to prepend to created URLs. It defaults to yii\web\Request::$scriptUrl. This is mainly used when $enablePrettyUrl is false or $showScriptName is true. public string getScriptUrl ( )return string The entry script URL that is used by createUrl() to prepend to created URLs. throws yii\base\InvalidConfigException if running in console application and $scriptUrl is not configured.

web\JsonResponseFormatter formatJsonp()

formatJsonp() protected method Formats response data in JSONP format. protected void formatJsonp ( $response )$response yii\web\Response