gii\generators\controller\Generator $actionIDs

$actionIDs public read-only property An array of action IDs entered by the user public array getActionIDs ( )

db\BaseActiveRecord afterRefresh()

afterRefresh() public method (available since version 2.0.8) This method is called when the AR object is refreshed. The default implementation will trigger an EVENT_AFTER_REFRESH event. When overriding this method, make sure you call the parent implementation to ensure the event is triggered. public void afterRefresh ( )

db\BaseActiveRecord findByCondition()

findByCondition() protected static method Finds ActiveRecord instance(s) by the given condition. This method is internally called by findOne() and findAll(). protected static yii\db\ActiveQueryInterface findByCondition ( $condition )$condition mixed Please refer to findOne() for the explanation of this parameter return yii\db\ActiveQueryInterface The newly created ActiveQuery instance. throws yii\base\InvalidConfigException if there is no primary key defined

db\BatchQueryResult key()

key() public method Returns the index of the current dataset. This method is required by the interface Iterator. public integer key ( )return integer The index of the current row.

db\BatchQueryResult reset()

reset() public method Resets the batch query. This method will clean up the existing batch query so that a new batch query can be performed. public void reset ( )

elasticsearch\Command updateSettings()

updateSettings() public method (available since version 2.0.4) Change specific index level settings in real time. Note that update analyzers required to \yii\elasticsearch\close() the index first and \yii\elasticsearch\open() it after the changes are made, use updateAnalyzers() for it. See also http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html. public mixed updateSettings ( $index, $setting, $options = [] )$index string $setting string|ar

db\ActiveQueryInterface with()

with() public abstract method Specifies the relations with which this query should be performed. The parameters to this method can be either one or multiple strings, or a single array of relation names and the optional callbacks to customize the relations. A relation name can refer to a relation defined in modelClass or a sub-relation that stands for a relation of a related record. For example, orders.address means the address relation defined in the model class corresponding to the orders

elasticsearch\Query exists()

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

db\Connection $slaves

$slaves public property List of slave connection configurations. Each configuration is used to create a slave DB connection. When $enableSlaves is true, one of these configurations will be chosen and used to create a DB connection for performing read queries only. See also: $enableSlaves $slaveConfig public array $slaves = []

db\ActiveRecord delete()

delete() public method Deletes the table row corresponding to this active record. This method performs the following steps in order: call beforeDelete(). If the method returns false, it will skip the rest of the steps; delete the record from the database; call afterDelete(). In the above step 1 and 3, events named EVENT_BEFORE_DELETE and EVENT_AFTER_DELETE will be raised by the corresponding methods. public integer|false delete ( )return integer|false The number of rows deleted, or fal