debug\controllers\DefaultController actionIndex()

actionIndex() public method public void actionIndex ( )

filters\AccessRule $actions

$actions public property List of action IDs that this rule applies to. The comparison is case-sensitive. If not set or empty, it means this rule applies to all actions. public array $actions = null

base\Controller actions()

actions() public method Declares external actions for the controller. This method is meant to be overwritten to declare external actions for the controller. It should return an array, with array keys being action IDs, and array values the corresponding action class names or action configuration arrays. For example, return [ 'action1' => 'app\components\Action1', 'action2' => [ 'class' => 'app\components\Action2', 'property1' => 'value1', 'property

rest\IndexAction $prepareDataProvider

$prepareDataProvider public property A PHP callable that will be called to prepare a data provider that should return a collection of the models. If not set, prepareDataProvider() will be used instead. The signature of the callable should be: function ($action) { // $action is the action object currently running } The callable should return an instance of yii\data\ActiveDataProvider. public callable $prepareDataProvider = null

caching\ArrayCache setValue()

setValue() protected method Stores a value identified by a key in cache. This method should be implemented by child classes to store the data in specific cache storage. protected boolean setValue ( $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 which the cached value will expire. 0 mean

rbac\BaseManager getRole()

getRole() public method Returns the named role. public null|yii\rbac\Role getRole ( $name )$name string The role name. return null|yii\rbac\Role The role corresponding to the specified name. Null is returned if no such role.

sphinx\QueryBuilder batchInsert()

batchInsert() public method Generates a batch INSERT SQL statement. For example, $sql = $queryBuilder->batchInsert('idx_user', ['id', 'name', 'age'], [ [1, 'Tom', 30], [2, 'Jane', 20], [3, 'Linda', 25], ], $params); Note that the values in each row must match the corresponding column names. public string batchInsert ( $index, $columns, $rows, &$params )$index string The index that new rows will be inserted into. $columns array The column names $rows array The rows

gii\generators\extension\Generator getDescription()

getDescription() public method public string getDescription ( )return string The detailed description of the generator.

widgets\ActiveForm $validateOnBlur

$validateOnBlur public property Whether to perform validation when an input field loses focus. If yii\widgets\ActiveField::$validateOnBlur is set, its value will take precedence for that input field. public boolean $validateOnBlur = true

db\mssql\QueryBuilder selectExists()

selectExists() public method (available since version 2.0.8) Creates a SELECT EXISTS() SQL statement. public string selectExists ( $rawSql )$rawSql string The subquery in a raw form to select from. return string The SELECT EXISTS() SQL statement.