redis\ActiveQuery exists()

exists() public method Returns a value indicating whether the query result contains any row of data. public boolean exists ( $db = null )$db yii\redis\Connection The database connection used to execute the query. If this parameter is not given, the db application component will be used. return boolean Whether the query result contains any row of data.

db\QueryBuilder batchInsert()

batchInsert() public method Generates a batch INSERT SQL statement. For example, $sql = $queryBuilder->batchInsert('user', ['name', 'age'], [ ['Tom', 30], ['Jane', 20], ['Linda', 25], ]); Note that the values in each row must match the corresponding column names. The method will properly escape the column names, and quote the values to be inserted. public string batchInsert ( $table, $columns, $rows )$table string The table that new rows will be inserted into. $columns a

rbac\DbManager addItem()

addItem() protected method Adds an auth item to the RBAC system. protected boolean addItem ( $item )$item yii\rbac\Item The item to add return boolean Whether the auth item is successfully added to the system throws Exception if data validation or saving fails (such as the name of the role or permission is not unique)

db\Query $groupBy

$groupBy public property How to group the query results. For example, ['company', 'department']. This is used to construct the GROUP BY clause in a SQL statement. public array $groupBy = null

widgets\ActiveForm $validateOnType

$validateOnType public property Whether to perform validation while the user is typing in an input field. If yii\widgets\ActiveField::$validateOnType is set, its value will take precedence for that input field. See also $validationDelay. public boolean $validateOnType = false

elasticsearch\Connection populateNodes()

populateNodes() protected method (available since version 2.0.4) Populates $nodes with the result of a cluster nodes request. protected void populateNodes ( )throws yii\elasticsearch\Exception if no active node(s) found

web\HeaderCollection count()

count() public method Returns the number of headers in the collection. This method is required by the SPL Countable interface. It will be implicitly called when you use count($collection). public integer count ( )return integer The number of headers in the collection.

db\ActiveQueryInterface one()

one() public abstract method Executes query and returns a single row of result. public abstract yii\db\ActiveRecordInterface|array|null one ( $db = null )$db yii\db\Connection The DB connection used to create the DB command. If null, the DB connection returned by \yii\db\modelClass will be used. return yii\db\ActiveRecordInterface|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 wil

authclient\widgets\AuthChoice setClients()

setClients() public method public void setClients ( array $clients )$clients yii\authclient\ClientInterface[] Auth providers

web\Application $controller

$controller public property The currently active controller instance public yii\web\Controller $controller = null