widgets\ActiveForm $successCssClass

$successCssClass public property The CSS class that is added to a field container when the associated attribute is successfully validated. public string $successCssClass = 'has-success'

db\Connection $serverStatusCache

$serverStatusCache public property The cache object or the ID of the cache application component that is used to store the health status of the DB servers specified in $masters and $slaves. This is used only when read/write splitting is enabled or $masters is not empty. public yii\caching\Cache|string $serverStatusCache = 'cache'

db\Command addForeignKey()

addForeignKey() public method Creates a SQL command for adding a foreign key constraint to an existing table. The method will properly quote the table and column names. public $this addForeignKey ( $name, $table, $columns, $refTable, $refColumns, $delete = null, $update = null )$name string The name of the foreign key constraint. $table string The table that the foreign key constraint will be added to. $columns string|array The name of the column to that the constraint will be adde

db\Command cache()

cache() public method Enables query cache for this command. public $this cache ( $duration = null, $dependency = null )$duration integer The number of seconds that query result of this command can remain valid in the cache. If this is not set, the value of yii\db\Connection::$queryCacheDuration will be used instead. Use 0 to indicate that the cached data will never expire. $dependency yii\caching\Dependency The cache dependency associated with the cached query result. return $this Th

gii\generators\module\Generator 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

db\BaseActiveRecord EVENT_AFTER_FIND

EVENT_AFTER_FIND event of type yii\base\Event An event that is triggered after the record is created and populated with query result.

debug\controllers\DefaultController actionToolbar()

actionToolbar() public method public void actionToolbar ( $tag )$tag

gii\generators\model\Generator $name

$name public read-only property Name of the code generator public string getName ( )

debug\controllers\DefaultController beforeAction()

beforeAction() public method public void beforeAction ( $action )$action

db\ColumnSchemaBuilder buildCommentString()

buildCommentString() protected method (available since version 2.0.8) Builds the comment specification for the column. protected string buildCommentString ( )return string A string containing the COMMENT keyword and the comment itself