base\Controller $id

$id public property The ID of this controller. public string $id = null

Aliases

Defining Aliases Resolving Aliases Using Aliases Predefined Aliases Extension Aliases Aliases are used to represent file paths or URLs so that you don't have to hard-code absolute paths or URLs in your project. An alias must start with the @ character to be differentiated from normal file paths and URLs. Alias defined without leading @ will be prefixed with @ character. Yii has many pre-defined aliases already available. For example, the alias @yii represents the installation path of the Yii f

mongodb\rbac\MongoDbManager $assignmentCollection

$assignmentCollection public property The name of the collection storing authorization item assignments. Defaults to "auth_assignment". public string|array $assignmentCollection = 'auth_assignment'

db\Schema createColumnSchemaBuilder()

createColumnSchemaBuilder() public method (available since version 2.0.6) Create a column schema builder instance giving the type and value precision. This method may be overridden by child classes to create a DBMS-specific column schema builder. public yii\db\ColumnSchemaBuilder createColumnSchemaBuilder ( $type, $length = null )$type string Type of the column. See yii\db\ColumnSchemaBuilder::$type. $length integer|string|array Length or precision of the column. See yii\db\ColumnSch

bootstrap\Alert $body

$body public property The body content in the alert component. Note that anything between the begin() and end() calls of the Alert widget will also be treated as the body content, and will be rendered before this. public string $body = null

web\Request $userHost

$userHost public read-only property User host name, null if not available public string|null getUserHost ( )

web\HeaderCollection remove()

remove() public method Removes a header. public array remove ( $name )$name string The name of the header to be removed. return array The value of the removed header. Null is returned if the header does not exist.

gii\CodeFile $type

$type public read-only property The code file extension (e.g. php, txt) public string getType ( )

mongodb\rbac\MongoDbManager invalidateCache()

invalidateCache() public method Invalidates RBAC related cache public void invalidateCache ( )

Active Record

Declaring Active Record Classes Connecting to Databases Querying Data Accessing Data Saving Data Deleting Data Active Record Life Cycles Working with Transactions Optimistic Locks Working with Relational Data Saving Relations Cross-Database Relations Customizing Query Classes Selecting extra fields Active Record provides an object-oriented interface for accessing and manipulating data stored in databases. An Active Record class is associated with a database table, an Active Record instance cor