elasticsearch\ActiveDataProvider getAggregation()

getAggregation() public method Returns results of the specified aggregation. public array getAggregation ( $name )$name string Aggregation name. return array Aggregation results. throws yii\base\InvalidCallException if requested aggregation does not present in query results.

validators\FileValidator getClientOptions()

getClientOptions() protected method Returns the client-side validation options. protected array getClientOptions ( $model, $attribute )$model yii\base\Model The model being validated $attribute string The attribute name being validated return array The client-side validation options

elasticsearch\Query $stats

$stats public property The 'stats' part of the query. An array of groups to maintain a statistics aggregation for. See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search.html#stats-groups. public array $stats = []

rbac\DbManager removeAllAssignments()

removeAllAssignments() public method Removes all role assignments. public void removeAllAssignments ( )

widgets\DetailView $formatter

$formatter public property The formatter used to format model attribute values into displayable texts. This can be either an instance of yii\i18n\Formatter or an configuration array for creating the yii\i18n\Formatter instance. If this property is not set, the formatter application component will be used. public array|yii\i18n\Formatter $formatter = null

i18n\GettextMoFile writeString()

writeString() protected method Writes a string. protected integer writeString ( $fileHandle, $string )$fileHandle resource To write to $string string To be written return integer How many bytes are written

db\Schema insert()

insert() public method (available since version 2.0.4) Executes the INSERT command, returning primary key values. public array|false insert ( $table, $columns )$table string The table that new rows will be inserted into. $columns array The column data (name => value) to be inserted into the table. return array|false Primary key values or false if the command fails

web\Session $flashParam

$flashParam public property The name of the session variable that stores the flash message data. public string $flashParam = '__flash'

db\ActiveQuery one()

one() public method Executes query and returns a single row of result. public yii\db\ActiveRecord|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 $modelClass will be used. return yii\db\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 the query results in nothi

rbac\DbManager getRolesByUser()

getRolesByUser() public method Returns the roles that are assigned to the user via assign(). Note that child roles that are not assigned directly to the user will not be returned. public yii\rbac\Role[] getRolesByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Role[] All roles directly assigned to the user. The array is indexed by the role names.