web\AssetManager publishDirectory()

publishDirectory() protected method Publishes a directory. protected array publishDirectory ( $src, $options )$src string The asset directory to be published $options array The options to be applied when publishing a directory. The following options are supported: only: array, list of patterns that the file paths should match if they want to be copied. except: array, list of patterns that the files or directories should match if they want to be excluded from being copied. caseSensitive

db\Schema getQueryBuilder()

getQueryBuilder() public method public yii\db\QueryBuilder getQueryBuilder ( )return yii\db\QueryBuilder The query builder for this connection.

debug\panels\ConfigPanel getExtensions()

getExtensions() public method Returns data about extensions public array getExtensions ( )

sphinx\ActiveQuery one()

one() public method Executes query and returns a single row of result. public yii\sphinx\ActiveRecord|array|null one ( $db = null )$db yii\sphinx\Connection The DB connection used to create the DB command. If null, the DB connection returned by $modelClass will be used. return yii\sphinx\ActiveRecord|array|null A single row of query result. Depending on the setting of asArray(), the query result may be either an array or an ActiveRecord object. Null will be returned if the query resu

sphinx\Connection quoteTableName()

quoteTableName() public method Alias of quoteIndexName(). public string quoteTableName ( $name )$name string Table name return string The properly quoted table name

console\controllers\MigrateController $fields

$fields public property (available since version 2.0.7) Column definition strings used for creating migration code. The format of each definition is COLUMN_NAME:COLUMN_TYPE:COLUMN_DECORATOR. Delimiter is ,. For example, --fields="name:string(12):notNull:unique" produces a string column of size 12 which is not null and unique values. Note: primary key is added automatically and is named id by default. If you want to use another name you may specify it explicitly like --fields="id_key:primary

widgets\BaseListView renderItems()

renderItems() public abstract method Renders the data models. public abstract string renderItems ( )return string The rendering result.

test\DbFixture init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

console\controllers\MigrateController generateTableName()

generateTableName() protected method (available since version 2.0.8) If useTablePrefix equals true, then the table name will contain the prefix format. protected string generateTableName ( $tableName )$tableName string The table name to generate.

twig\ViewRenderer addFunctions()

addFunctions() public method Adds custom functions public void addFunctions ( $functions )$functions array @see self::$functions