$globalFixtures public property Global fixtures that should be applied when loading and unloading. By default it is set to InitDbFixture that disables and enables integrity check, so your data can be safely loaded. public array $globalFixtures = ['yii\test\InitDb']
$defaultAction public property Controller default action ID. public string $defaultAction = 'load'
actionIndex() public method Lists the caches that can be flushed. public void actionIndex ( )
actionFlushSchema() public method (available since version 2.0.1) Clears DB schema cache for a given connection component. # clears cache schema specified by component id: "db" yii cache/flush-schema db public integer actionFlushSchema ( $db = 'db' )$db string Id connection component return integer Exit code throws yii\console\Exception throws yii\base\InvalidConfigException
actionFlushAll() public method Flushes all caches registered in the system. public void actionFlushAll ( )
actionFlush() public method Flushes given cache components. For example, # flushes caches specified by their id: "first", "second", "third" yii cache/flush first second third public void actionFlush ( )
removeMigrationHistory() protected abstract method Removes existing migration from the history. protected abstract void removeMigrationHistory ( $version )$version string Migration version name.
options() public method Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name. Child classes may override this method to specify possible options. Note that the values setting via options are not available until beforeAction() is being called. public array options ( $actionID )$actionID string The action id of the current request return array The names of the options valid for the action
migrateUp() protected method Upgrades with the specified migration class. protected boolean migrateUp ( $class )$class string The migration class name return boolean Whether the migration is successful
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.
Page 497 of 633