mongodb\Query average()

average() public method Returns the average of the specified column values. public integer average ( $q, $db = null )$q string The column name. Make sure you properly quote column names in the expression. $db yii\mongodb\Connection The Mongo connection used to execute the query. If this parameter is not given, the mongodb application component will be used. return integer The average of the specified column values.

sphinx\gii\model\Generator generateLabels()

generateLabels() public method Generates the attribute labels for the specified table. public array generateLabels ( $table )$table yii\db\TableSchema The table schema return array The generated attribute labels (name => label)

gii\generators\model\Generator getSchemaNames()

getSchemaNames() protected method (available since version 2.0.5) protected string[] getSchemaNames ( )return string[] All db schema names or an array with a single empty string throws yii\base\NotSupportedException

authclient\clients\Live initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

db\ActiveRecord find()

find() public static method Creates an yii\db\ActiveQueryInterface instance for query purpose. The returned yii\db\ActiveQueryInterface instance can be further customized by calling methods defined in yii\db\ActiveQueryInterface before one() or all() is called to return populated ActiveRecord instances. For example, // find the customer whose ID is 1 $customer = Customer::find()->where(['id' => 1])->one(); // find all active customers and order them by their age: $customers = Cust

grid\CheckboxColumn $cssClass

$cssClass public property (available since version 2.0.9) The css class that will be used to find the checkboxes. public string $cssClass = null

web\Request setBodyParams()

setBodyParams() public method Sets the request body parameters. See also: getBodyParam() getBodyParams() public void setBodyParams ( $values )$values array The request body parameters (name-value pairs)

redis\Cache getValues()

getValues() protected method Retrieves multiple values from cache with the specified keys. The default implementation calls getValue() multiple times to retrieve the cached values one by one. If the underlying cache storage supports multiget, this method should be overridden to exploit that feature. protected array getValues ( $keys )$keys array A list of keys identifying the cached values return array A list of cached values indexed by the keys

widgets\DetailView init()

init() public method Initializes the detail view. This method will initialize required property values. public void init ( )

helpers\BaseInflector hasIntl()

hasIntl() protected static method protected static boolean hasIntl ( )return boolean If intl extension is loaded