db\ColumnSchema $isPrimaryKey

$isPrimaryKey public property Whether this column is a primary key public boolean $isPrimaryKey = null

base\Application $vendorPath

$vendorPath public property The directory that stores vendor files. Defaults to "vendor" directory under $basePath. public string getVendorPath ( )public void setVendorPath ( $path )

db\Command $db

$db public property The DB connection that this command is associated with public yii\db\Connection $db = null

base\Application setRuntimePath()

setRuntimePath() public method Sets the directory that stores runtime files. public void setRuntimePath ( $path )$path string The directory that stores runtime files.

base\Application $layout

$layout public property The layout that should be applied for views in this application. Defaults to 'main'. If this is false, layout will be disabled. public string|boolean $layout = 'main'

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 ( )

db\ColumnSchema $autoIncrement

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