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'

console\controllers\MessageController $format

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

helpers\BaseFormatConverter convertDatePhpToJui()

convertDatePhpToJui() public static method Converts a date format pattern from [php date() function format][] to [jQuery UI date format][]. The conversion is limited to date patterns that do not use escaped characters. Patterns like jS \o\f F Y which will result in a date like 1st of December 2014 may not be converted correctly because of the use of escaped characters. Pattern constructs that are not supported by the jQuery UI format will be removed. public static string convertDatePhpToJ

helpers\BaseArrayHelper isIn()

isIn() public static method (available since version 2.0.7) Check whether an array or Traversable contains an element. This method does the same as the PHP function in_array() but additionally works for objects that implement the Traversable interface. See also http://php.net/manual/en/function.in-array.php. public static boolean isIn ( $needle, $haystack, $strict = false )$needle mixed The value to look for. $haystack array|Traversable The set of values to search. $strict boolean

helpers\BaseInflector transliterate()

transliterate() public static method (available since version 2.0.7) Returns transliterated version of a string. If intl extension isn't available uses fallback that converts latin characters only and removes the rest. You may customize characters map via $transliteration property of the helper. public static string transliterate ( $string, $transliterator = null )$string string Input string $transliterator string|\Transliterator Either a \yii\helpers\Transliterator or a string from w

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.