db\Command $fetchMode

$fetchMode public property The default fetch mode for this command. See also http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php. public integer $fetchMode = \PDO::FETCH_ASSOC

db\ActiveRecord getDb()

getDb() public static method Returns the database connection used by this AR class. By default, the "db" application component is used as the database connection. You may override this method if you want to use a different database connection. public static yii\db\Connection getDb ( )return yii\db\Connection The database connection used by this AR class.

debug\Module $panels

$panels public property List of debug panels. The array keys are the panel IDs, and values are the corresponding panel class names or configuration arrays. This will be merged with corePanels(). You may reconfigure a core panel via this property by using the same panel ID. You may also disable a core panel by setting it to be false in this property. public array|yii\debug\Panel[] $panels = []

console\controllers\MessageController extractMessages()

extractMessages() protected method Extracts messages from a file protected array extractMessages ( $fileName, $translator, $ignoreCategories = [] )$fileName string Name of the file to extract messages from $translator string Name of the function used to translate messages $ignoreCategories array Message categories to ignore. This parameter is available since version 2.0.4.

console\controllers\MigrateController options()

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

console\controllers\MigrateController $generatorTemplateFiles

$generatorTemplateFiles public property (available since version 2.0.7) A set of template paths for generating migration code automatically. The key is the template type, the value is a path or the alias. Supported types are: create_table: table creating template drop_table: table dropping template add_column: adding new column template drop_column: dropping column template create_junction: create junction template public array $generatorTemplateFiles = ['create_table' => '@yii/vie

caching\ArrayCache addValue()

addValue() protected method Stores a value identified by a key into cache if the cache does not contain this key. This method should be implemented by child classes to store the data in specific cache storage. protected boolean addValue ( $key, $value, $duration )$key string The key identifying the value to be cached $value mixed The value to be cached. Most often it's a string. If you have disabled $serializer, it could be something else. $duration integer The number of seconds in w

console\controllers\AssetController saveTargets()

saveTargets() protected method Saves new asset bundles configuration. protected void saveTargets ( $targets, $bundleFile )$targets yii\web\AssetBundle[] List of asset bundles to be saved. $bundleFile string Output file name. throws yii\console\Exception on failure.

mongodb\rbac\MongoDbManager getUserIdsByRole()

getUserIdsByRole() public method Returns all user IDs assigned to the role specified. public array getUserIdsByRole ( $roleName )$roleName string return array Array of user ID strings

helpers\BaseMarkdown $defaultFlavor

$defaultFlavor public static property The markdown flavor to use when none is specified explicitly. Defaults to original. See also $flavors. public static string $defaultFlavor = 'original'