db\QueryBuilder buildColumns()

buildColumns() public method Processes columns and properly quotes them if necessary. It will join all columns into a string with comma as separators. public string buildColumns ( $columns )$columns string|array The columns to be processed return string The processing result

db\Query addGroupBy()

addGroupBy() public method Adds additional group-by columns to the existing ones. See also groupBy(). public $this addGroupBy ( $columns )$columns string|array Additional columns to be grouped by. Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression). Note that if your group-by is an expression contai

db\Query column()

column() public method Executes the query and returns the first column of the result. public array column ( $db = null )$db yii\db\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return array The first column of the query result. An empty array is returned if the query results in nothing.

rbac\PhpManager getRule()

getRule() public method Returns the rule of the specified name. public null|yii\rbac\Rule getRule ( $name )$name string The rule name return null|yii\rbac\Rule The rule object, or null if the specified name does not correspond to a rule.

validators\IpValidator $normalize

$normalize public property Whether to add the CIDR prefix with the smallest length (32 for IPv4 and 128 for IPv6) to an address without it. Works only when subnet is not false. For example: 10.0.1.5 will normalized to 10.0.1.5/32 2008:db0::1 will be normalized to 2008:db0::1/128 Defaults to false. See also $subnet. public boolean $normalize = false

gii\generators\controller\Generator $actions

$actions public property List of action IDs separated by commas or spaces public string $actions = 'index'

rest\ActiveController $modelClass

$modelClass public property The model class name. This property must be set. public string $modelClass = null

console\controllers\BaseMigrateController actionHistory()

actionHistory() public method Displays the migration history. This command will show the list of migrations that have been applied so far. For example, yii migrate/history # showing the last 10 migrations yii migrate/history 5 # showing the last 5 migrations yii migrate/history all # showing the whole history public void actionHistory ( $limit = 10 )$limit integer The maximum number of migrations to be displayed. If it is "all", the whole migration history will be displayed. thro

filters\AccessRule $matchCallback

$matchCallback public property A callback that will be called to determine if the rule should be applied. The signature of the callback should be as follows: function ($rule, $action) where $rule is this rule, and $action is the current action object. The callback should return a boolean value indicating whether this rule should be applied. public callable $matchCallback = null

console\controllers\FixtureController actionUnload()

actionUnload() public method Unloads the specified fixtures. For example, # unload the fixture data specified by User and UserProfile. yii fixture/unload "User, UserProfile" # unload all fixtures found under 'tests\unit\fixtures' yii fixture/unload "*" # unload all fixtures except User and UserProfile yii fixture/unload "*, -User, -UserProfile" public integer actionUnload ( array $fixturesInput = [] )$fixturesInput array return integer Return code throws yii\console\Exception if th