web\User $identityCookie

$identityCookie public property The configuration of the identity cookie. This property is used only when $enableAutoLogin is true. See also yii\web\Cookie. public array $identityCookie = ['name' => '_identity', 'httpOnly' => true]

caching\DbCache init()

init() public method Initializes the DbCache component. This method will initialize the $db property to make sure it refers to a valid DB connection. public void init ( )throws yii\base\InvalidConfigException if $db is invalid.

db\ColumnSchema $size

$size public property Display size of the column. public integer $size = null

debug\panels\TimelinePanel setColors()

setColors() public method Sets color indicators. key: percentages of time request, value: hex color public void setColors ( $colors )$colors array

authclient\OAuth1 fetchAccessToken()

fetchAccessToken() public method Fetches OAuth access token. public yii\authclient\OAuthToken fetchAccessToken ( yii\authclient\OAuthToken $requestToken = null, $oauthVerifier = null, array $params = [] )$requestToken yii\authclient\OAuthToken OAuth request token. $oauthVerifier string OAuth verifier. $params array Additional request params. return yii\authclient\OAuthToken OAuth access token. throws yii\base\Exception on failure.

Service Locator

A service locator is an object that knows how to provide all sorts of services (or components) that an application might need. Within a service locator, each component exists as only a single instance, uniquely identified by an ID. You use the ID to retrieve a component from the service locator. In Yii, a service locator is simply an instance of yii\di\ServiceLocator or a child class. The most commonly used service locator in Yii is the application object, which can be accessed through \Yii::$a

authclient\widgets\AuthChoiceStyleAsset $css

$css public property public $css = ['authchoice.css']

db\BaseActiveRecord hasOne()

hasOne() public method Declares a has-one relation. The declaration is returned in terms of a relational yii\db\ActiveQuery instance through which the related record can be queried and retrieved back. A has-one relation means that there is at most one related record matching the criteria set by this relation, e.g., a customer has one country. For example, to declare the country relation for Customer class, we can write the following code in the Customer class: public function getCountry() {

base\Module $controllerNamespace

$controllerNamespace public property The namespace that controller classes are in. This namespace will be used to load controller classes by prepending it to the controller class name. If not set, it will use the controllers sub-namespace under the namespace of this module. For example, if the namespace of this module is foo\bar, then the default controller namespace would be foo\bar\controllers. See also the guide section on autoloading to learn more about defining namespaces and how class

validators\Validator init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )