elasticsearch\ActiveRecord arrayAttributes()

arrayAttributes() public method A list of attributes that should be treated as array valued when retrieved through yii\elasticsearch\ActiveQuery::fields(). If not listed by this method, attributes retrieved through yii\elasticsearch\ActiveQuery::fields() will converted to a scalar value when the result array contains only one value. public string[] arrayAttributes ( )return string[] List of attribute names. Must be a subset of attributes().

mongodb\QueryBuilder normalizeConditionKeyword()

normalizeConditionKeyword() protected method Converts "\yii\db*" quick condition keyword into actual Mongo condition keyword. protected string normalizeConditionKeyword ( $key )$key string Raw condition key. return string Actual key.

elasticsearch\ActiveRecord findAll()

findAll() public static method Returns a list of active record models that match the specified primary key value(s) or a set of column values. The method accepts: a scalar value (integer or string): query by a single primary key value and return an array containing the corresponding record (or an empty array if not found). a non-associative array: query by a list of primary key values and return the corresponding records (or an empty array if none was found). Note that an empty condition wi

validators\CompareValidator $compareValue

$compareValue public property The constant value to be compared with. When both this property and $compareAttribute are set, this property takes precedence. See also $compareAttribute. public mixed $compareValue = null

gii\generators\crud\Generator $nameAttribute

$nameAttribute public read-only property public void getNameAttribute ( )

db\DataReader key()

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

validators\DateValidator $format

$format public property The date format that the value being validated should follow. This can be a date time pattern as described in the ICU manual. Alternatively this can be a string prefixed with php: representing a format that can be recognized by the PHP Datetime class. Please refer to http://php.net/manual/en/datetime.createfromformat.php on supported formats. If this property is not set, the default value will be obtained from Yii::$app->formatter->dateFormat, see yii\i18n\Form

web\User loginByCookie()

loginByCookie() protected method Logs in a user by cookie. This method attempts to log in a user using the ID and authKey information provided by the identity cookie. protected void loginByCookie ( )

web\Session getHasSessionId()

getHasSessionId() public method Returns a value indicating whether the current request has sent the session ID. The default implementation will check cookie and $_GET using the session name. If you send session ID via other ways, you may need to override this method or call setHasSessionId() to explicitly set whether the session ID is sent. public boolean getHasSessionId ( )return boolean Whether the current request has sent the session ID.

elasticsearch\ActiveQuery one()

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