redis\Cache getValues()

getValues() protected method Retrieves multiple values from cache with the specified keys. The default implementation calls getValue() multiple times to retrieve the cached values one by one. If the underlying cache storage supports multiget, this method should be overridden to exploit that feature. protected array getValues ( $keys )$keys array A list of keys identifying the cached values return array A list of cached values indexed by the keys

redis\LuaScriptBuilder buildAverage()

buildAverage() public method Builds a Lua script for finding the average of a column public string buildAverage ( $query, $column )$query yii\redis\ActiveQuery The query used to build the script $column string Name of the column

db\ActiveQuery one()

one() public method Executes query and returns a single row of result. public yii\db\ActiveRecord|array|null one ( $db = null )$db yii\db\Connection The DB connection used to create the DB command. If null, the DB connection returned by $modelClass will be used. return yii\db\ActiveRecord|array|null A single row of query result. Depending on the setting of asArray(), the query result may be either an array or an ActiveRecord object. Null will be returned if the query results in nothi

redis\ActiveQuery max()

max() public method Returns the maximum of the specified column values. public integer max ( $column, $db = null )$column string The column name or expression. Make sure you properly quote column names in the expression. $db yii\redis\Connection The database connection used to execute the query. If this parameter is not given, the db application component will be used. return integer The maximum of the specified column values.

swiftmailer\Message getReturnPath()

getReturnPath() public method (available since version 2.0.6) Returns the return-path (the bounce address) of this message. public string getReturnPath ( )return string The bounce email address.

helpers\VarDumper

All Classes | Methods Inheritance yii\helpers\VarDumper » yii\helpers\BaseVarDumper Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/helpers/VarDumper.php VarDumper is intended to replace the buggy PHP function var_dump and print_r. It can correctly identify the recursively referenced objects in a complex object structure. It also has a recursive depth control to avoid indefinite recursive display of some peculiar variables. VarDumper can be u

db\BaseActiveRecord save()

save() public method Saves the current record. This method will call insert() when $isNewRecord is true, or update() when $isNewRecord is false. For example, to save a customer record: $customer = new Customer; // or $customer = Customer::findOne($id); $customer->name = $name; $customer->email = $email; $customer->save(); public boolean save ( $runValidation = true, $attributeNames = null )$runValidation boolean Whether to perform validation (calling validate()) before saving t

rbac\PhpManager getAssignments()

getAssignments() public method Returns all role assignment information for the specified user. public yii\rbac\Assignment[] getAssignments ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Assignment[] The assignments indexed by role names. An empty array will be returned if there is no role assigned to the user.

authclient\OAuthToken $tokenSecretParamKey

$tokenSecretParamKey public property Key in $params array, which stores token secret key. public string $tokenSecretParamKey = 'oauth_token_secret'

rbac\BaseManager remove()

remove() public method Removes a role, permission or rule from the RBAC system. public boolean remove ( $object )$object yii\rbac\Role|yii\rbac\Permission|yii\rbac\Rule return boolean Whether the role, permission or rule is successfully removed