caching\DbCache $cacheTable

$cacheTable public property Name of the DB table to store cache content. The table should be pre-created as follows: CREATE TABLE cache ( id char(128) NOT NULL PRIMARY KEY, expire int(11), data BLOB ); where 'BLOB' refers to the BLOB-type of your preferred DBMS. Below are the BLOB type that can be used for some popular DBMS: MySQL: LONGBLOB PostgreSQL: BYTEA MSSQL: BLOB When using DbCache in a production server, we recommend you create a DB index for the 'expire' column in the

base\Model rules()

rules() public method Returns the validation rules for attributes. Validation rules are used by validate() to check if attribute values are valid. Child classes may override this method to declare different validation rules. Each rule is an array with the following structure: [ ['attribute1', 'attribute2'], 'validator type', 'on' => ['scenario1', 'scenario2'], //...other parameters... ] where attribute list: required, specifies the attributes array to be validated, for s

debug\DebugAsset $sourcePath

$sourcePath public property public $sourcePath = '@yii/debug/assets'

grid\GridViewAsset $js

$js public property public $js = ['yii.gridView.js']

db\Connection $slave

$slave public read-only property The currently active slave connection. Null is returned if there is slave available and $fallbackToMaster is false. public yii\db\Connection getSlave ( $fallbackToMaster = true )

db\BaseActiveRecord getRelation()

getRelation() public method Returns the relation object with the specified name. A relation is defined by a getter method which returns an yii\db\ActiveQueryInterface object. It can be declared in either the Active Record class itself or one of its behaviors. public yii\db\ActiveQueryInterface|yii\db\ActiveQuery getRelation ( $name, $throwException = true )$name string The relation name, e.g. orders for a relation defined via getOrders() method (case-sensitive). $throwException boolean

gii\generators\extension\Generator optsType()

optsType() public method public array optsType ( )return array Options for type drop-down

behaviors\BlameableBehavior 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 ( )

web\Application $session

$session public read-only property The session component. public yii\web\Session getSession ( )

db\ColumnSchema $autoIncrement

$autoIncrement public property Whether this column is auto-incremental public boolean $autoIncrement = false