base\DynamicModel undefineAttribute()

undefineAttribute() public method Undefines an attribute. public void undefineAttribute ( $name )$name string The attribute name

gii\generators\form\Generator validateViewPath()

validateViewPath() public method Validates $viewPath to make sure it is a valid path or path alias and exists. public void validateViewPath ( )

base\ErrorHandler convertExceptionToError()

convertExceptionToError() public static method Converts an exception into a PHP error. This method can be used to convert exceptions inside of methods like __toString() to PHP errors because exceptions cannot be thrown inside of them. public static void convertExceptionToError ( $exception )$exception Exception The exception to convert to a PHP error.

db\Command $pdoStatement

$pdoStatement public property The PDOStatement object that this command is associated with public PDOStatement $pdoStatement = null

base\Event off()

off() public static method Detaches an event handler from a class-level event. This method is the opposite of on(). See also on(). public static boolean off ( $class, $name, $handler = null )$class string The fully qualified class name from which the event handler needs to be detached. $name string The event name. $handler callable The event handler to be removed. If it is null, all handlers attached to the named event will be removed. return boolean Whether a handler is found and

db\Connection $isActive

$isActive public read-only property Whether the DB connection is established public boolean getIsActive ( )

base\InvalidParamException getName()

getName() public method public string getName ( )return string The user-friendly name of this exception

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