base\Model offsetSet()

offsetSet() public method Sets the element at the specified offset. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $model[$offset] = $item;. public void offsetSet ( $offset, $item )$offset integer The offset to set element $item mixed The element value

base\Model $activeValidators

$activeValidators public read-only property The validators applicable to the current $scenario. public yii\validators\Validator[] getActiveValidators ( $attribute = null )

redis\ActiveRecord keyPrefix()

keyPrefix() public static method Declares prefix of the key that represents the keys that store this records in redis. By default this method returns the class name as the table name by calling yii\helpers\Inflector::camel2id(). For example, 'Customer' becomes 'customer', and 'OrderItem' becomes 'order_item'. You may override this method if you want different key naming. public static string keyPrefix ( )return string The prefix to apply to all AR keys

rbac\BaseManager update()

update() public method Updates the specified role, permission or rule in the system. public boolean update ( $name, $object )$name string The old name of the role, permission or rule $object yii\rbac\Role|yii\rbac\Permission|yii\rbac\Rule return boolean Whether the update is successful throws Exception if data validation or saving fails (such as the name of the role or permission is not unique)

web\Application getErrorHandler()

getErrorHandler() public method Returns the error handler component. public yii\web\ErrorHandler getErrorHandler ( )return yii\web\ErrorHandler The error handler application component.

db\ActiveRecordInterface insert()

insert() public abstract method Inserts the record into the database using the attribute values of this record. Usage example: $customer = new Customer; $customer->name = $name; $customer->email = $email; $customer->insert(); public abstract boolean insert ( $runValidation = true, $attributes = null )$runValidation boolean Whether to perform validation (calling \yii\db\Model::validate()) before saving the record. Defaults to true. If the validation fails, the record will not be

db\Connection getTableSchema()

getTableSchema() public method Obtains the schema information for the named table. public yii\db\TableSchema getTableSchema ( $name, $refresh = false )$name string Table name. $refresh boolean Whether to reload the table schema even if it is found in the cache. return yii\db\TableSchema Table schema information. Null if the named table does not exist.

base\Component __clone()

__clone() public method This method is called after the object is created by cloning an existing one. It removes all behaviors because they are attached to the old object. public void __clone ( )

base\Component __unset()

__unset() public method Sets a component property to be null. This method will check in the following order and act accordingly: a property defined by a setter: set the property value to be null a property of a behavior: set the property value to be null Do not call this method directly as it is a PHP magic method that will be implicitly called when executing unset($component->property). See also http://php.net/manual/en/function.unset.php. public void __unset ( $name )$name string Th

base\DynamicModel attributes()

attributes() public method Returns the list of attribute names. By default, this method returns all public non-static properties of the class. You may override this method to change the default behavior. public array attributes ( )return array List of attribute names.