mongodb\QueryBuilder group()

group() public method public void group ( $collectionName, $keys, $initial, $reduce, $options = [] )$collectionName $keys $initial $reduce $options

db\BaseActiveRecord hasOne()

hasOne() public method Declares a has-one relation. The declaration is returned in terms of a relational yii\db\ActiveQuery instance through which the related record can be queried and retrieved back. A has-one relation means that there is at most one related record matching the criteria set by this relation, e.g., a customer has one country. For example, to declare the country relation for Customer class, we can write the following code in the Customer class: public function getCountry() {

twig\ViewRenderer $functions

$functions public property Custom functions. Keys of the array are names to call in template, values are names of functions or static methods of some class. Example: ['rot13' => 'str_rot13', 'a' => '\yii\helpers\Html::a']. In the template you can use it like this: {{ rot13('test') }} or {{ a('Login', 'site/login') | raw }}. public array $functions = []

db\mysql\ColumnSchemaBuilder __toString()

__toString() public method Builds the full string for the column's schema public string __toString ( )

mail\MessageInterface setTextBody()

setTextBody() public abstract method Sets message plain text content. public abstract $this setTextBody ( $text )$text string Message plain text content. return $this Self reference.

web\AssetManager $assetMap

$assetMap public property Mapping from source asset files (keys) to target asset files (values). This property is provided to support fixing incorrect asset file paths in some asset bundles. When an asset bundle is registered with a view, each relative asset file in its css and js arrays will be examined against this map. If any of the keys is found to be the last part of an asset file (which is prefixed with yii\web\AssetBundle::$sourcePath if available), the corresponding value will repla

db\QueryBuilder buildHashCondition()

buildHashCondition() public method Creates a condition based on column-value pairs. public string buildHashCondition ( $condition, &$params )$condition array The condition specification. $params array The binding parameters to be populated return string The generated SQL expression

widgets\BaseListView run()

run() public method Runs the widget. public void run ( )

db\Command queryColumn()

queryColumn() public method Executes the SQL statement and returns the first column of the result. This method is best used when only the first column of result (i.e. the first element in each row) is needed for a query. public array queryColumn ( )return array The first column of the query result. Empty array is returned if the query results in nothing. throws yii\db\Exception execution failed

base\ArrayAccessTrait offsetExists()

offsetExists() public method This method is required by the interface ArrayAccess. public boolean offsetExists ( $offset )$offset mixed The offset to check on