redis\ActiveQuery one()

one() public method Executes the query and returns a single row of result. public yii\redis\ActiveRecord|array|null one ( $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 yii\redis\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 t

elasticsearch\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.

web\JsExpression $expression

$expression public property The JavaScript expression represented by this object public string $expression = null

db\BaseActiveRecord updateAll()

updateAll() public static method Updates the whole table using the provided attribute values and conditions. For example, to change the status to be 1 for all customers whose status is 2: Customer::updateAll(['status' => 1], 'status = 2'); public static integer updateAll ( $attributes, $condition = '' )$attributes array Attribute values (name-value pairs) to be saved into the table $condition string|array The conditions that will be put in the WHERE part of the UPDATE SQL. Please

sphinx\gii\model\Generator $indexName

$indexName public property public $indexName = null

widgets\ActiveField widget()

widget() public method Renders a widget as the input of the field. Note that the widget must have both model and attribute properties. They will be initialized with $model and $attribute of this field, respectively. If you want to use a widget that does not have model and attribute properties, please use render() instead. For example to use the yii\widgets\MaskedInput widget to get some date input, you can use the following code, assuming that $form is your yii\widgets\ActiveForm instance:

base\Controller renderFile()

renderFile() public method Renders a view file. public string renderFile ( $file, $params = [] )$file string The view file to be rendered. This can be either a file path or a path alias. $params array The parameters (name-value pairs) that should be made available in the view. return string The rendering result. throws yii\base\InvalidParamException if the view file does not exist.

db\QueryTrait orFilterWhere()

orFilterWhere() public method Adds an additional WHERE condition to the existing one but ignores empty operands. The new condition and the existing one will be joined using the 'OR' operator. This method is similar to orWhere(). The main difference is that this method will remove empty query operands. As a result, this method is best suited for building query conditions based on filter values entered by users. See also: filterWhere() andFilterWhere() public $this orFilterWhere ( array $co

elasticsearch\ActiveDataProvider getQueryResults()

getQueryResults() public method public array getQueryResults ( )return array Full query results

db\BaseActiveRecord refresh()

refresh() public method Repopulates this active record with the latest data. If the refresh is successful, an EVENT_AFTER_REFRESH event will be triggered. This event is available since version 2.0.8. public boolean refresh ( )return boolean Whether the row still exists in the database. If true, the latest data will be populated to this active record. Otherwise, this record will remain unchanged.