db\ActiveQuery prepare()

prepare() public method Prepares for building SQL. This method is called by yii\db\QueryBuilder when it starts to build SQL from a query object. You may override this method to do some final preparation work when converting a query into a SQL statement. public $this prepare ( $builder )$builder yii\db\QueryBuilder return $this A prepared query instance which will be used by yii\db\QueryBuilder to build the SQL

helpers\BaseInflector hasIntl()

hasIntl() protected static method protected static boolean hasIntl ( )return boolean If intl extension is loaded

base\ActionFilter afterFilter()

afterFilter() public method public void afterFilter ( $event )$event yii\base\ActionEvent

console\controllers\MigrateController addDefaultPrimaryKey()

addDefaultPrimaryKey() protected method (available since version 2.0.7) Adds default primary key to fields list if there's no primary key specified protected void addDefaultPrimaryKey ( &$fields )$fields array Parsed fields

console\controllers\AssetController setAssetManager()

setAssetManager() public method Sets asset manager instance or configuration. public void setAssetManager ( $assetManager )$assetManager yii\web\AssetManager|array Asset manager instance or its array configuration. throws yii\console\Exception on invalid argument type.

console\controllers\BaseMigrateController actionTo()

actionTo() public method Upgrades or downgrades till the specified version. Can also downgrade versions to the certain apply time in the past by providing a UNIX timestamp or a string parseable by the strtotime() function. This means that all the versions applied after the specified certain time would be reverted. This command will first revert the specified migrations, and then apply them again. For example, yii migrate/to 101129_185401 # using timestamp yii migrat

console\controllers\BaseMigrateController migrateToVersion()

migrateToVersion() protected method Migrates to the certain version. protected integer migrateToVersion ( $version )$version string Name in the full format. return integer CLI exit code throws yii\console\Exception if the provided version cannot be found.

console\controllers\HelpController getDefaultHelp()

getDefaultHelp() protected method Displays all available commands. protected void getDefaultHelp ( )

console\controllers\MessageController $format

$format public property Generated file format. Can be "php", "db" or "po". public string $format = 'php'

gii\Generator getName()

getName() public abstract method public abstract string getName ( )return string Name of the code generator