console\controllers\BaseMigrateController actionUp()

actionUp() public method Upgrades the application by applying new migrations. For example, yii migrate # apply all new migrations yii migrate 3 # apply the first 3 new migrations public integer actionUp ( $limit = 0 )$limit integer The number of new migrations to be applied. If 0, it means applying all available new migrations. return integer The status of the action execution. 0 means normal, other values mean abnormal.

console\controllers\BaseMigrateController removeMigrationHistory()

removeMigrationHistory() protected abstract method Removes existing migration from the history. protected abstract void removeMigrationHistory ( $version )$version string Migration version name.

console\controllers\AssetController combineJsFiles()

combineJsFiles() public method Combines JavaScript files into a single one. public void combineJsFiles ( $inputFiles, $outputFile )$inputFiles array Source file names. $outputFile string Output file name. throws yii\console\Exception on failure.

grid\Column renderDataCellContent()

renderDataCellContent() protected method Renders the data cell content. protected string renderDataCellContent ( $model, $key, $index )$model mixed The data model $key mixed The key associated with the data model $index integer The zero-based index of the data model among the models array returned by yii\grid\GridView::$dataProvider. return string The rendering result

console\controllers\MigrateController $useTablePrefix

$useTablePrefix public property (available since version 2.0.8) Indicates whether the table names generated should consider the tablePrefix setting of the DB connection. For example, if the table name is post the generator wil return {{%post}}. public boolean $useTablePrefix = false

db\mssql\Schema findColumns()

findColumns() protected method Collects the metadata of table columns. protected boolean findColumns ( $table )$table yii\db\mssql\TableSchema The table metadata return boolean Whether the table exists in the database

elasticsearch\ElasticsearchTarget $options

$options public property URL options. public array $options = []

db\oci\QueryBuilder buildOrderByAndLimit()

buildOrderByAndLimit() public method Builds the ORDER BY and LIMIT/OFFSET clauses and appends them to the given SQL. public string buildOrderByAndLimit ( $sql, $orderBy, $limit, $offset )$sql string The existing SQL (without ORDER BY/LIMIT/OFFSET) $orderBy array The order by columns. See \yii\db\oci\Query::orderBy for more details on how to specify this parameter. $limit integer The limit number. See \yii\db\oci\Query::limit for more details. $offset integer The offset number. See

mongodb\BatchQueryResult current()

current() public method Returns the current dataset. This method is required by the interface Iterator. public mixed current ( )return mixed The current dataset.

caching\Cache getValue()

getValue() protected abstract method Retrieves a value from cache with a specified key. This method should be implemented by child classes to retrieve the data from specific cache storage. protected abstract mixed|false getValue ( $key )$key string A unique key identifying the cached value return mixed|false The value stored in cache, false if the value is not in the cache or expired. Most often value is a string. If you have disabled $serializer, it could be something else.