web\Session get()

get() public method Returns the session variable value with the session variable name. If the session variable does not exist, the $defaultValue will be returned. public mixed get ( $key, $defaultValue = null )$key string The session variable name $defaultValue mixed The default value to be returned when the session variable does not exist. return mixed The session variable value, or $defaultValue if the session variable does not exist.

mongodb\LogBuilder generateToken()

generateToken() public method Generate log/profile token. public string generateToken ( $namespace, $data = [] )$namespace string|array Command namespace $data array Command data. return string Token.

mongodb\Migration dropIndexes()

dropIndexes() public method (available since version 2.1) Drops collection indexes by name. public void dropIndexes ( $collection, $indexes )$collection string|array Name of the collection $indexes string Wildcard for name of the indexes to be dropped.

web\Response getHeaders()

getHeaders() public method Returns the header collection. The header collection contains the currently registered HTTP headers. public yii\web\HeaderCollection getHeaders ( )return yii\web\HeaderCollection The header collection

mongodb\Migration composeCollectionLogName()

composeCollectionLogName() protected method Composes string representing collection name. protected string composeCollectionLogName ( $collection )$collection array|string Collection name. return string Collection name.

base\Object __get()

__get() public method Returns the value of an object property. Do not call this method directly as it is a PHP magic method that will be implicitly called when executing $value = $object->property;. See also __set(). public mixed __get ( $name )$name string The property name return mixed The property value throws yii\base\UnknownPropertyException if the property is not defined throws yii\base\InvalidCallException if the property is write-only

mongodb\Migration dropIndex()

dropIndex() public method Drop indexes for specified column(s). public void dropIndex ( $collection, $columns )$collection string|array Name of the collection $columns string|array Column name or list of column names.

mongodb\Query distinct()

distinct() public method Returns a list of distinct values for the given column across a collection. public array distinct ( $q, $db = null )$q string Column to use. $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 array Array of distinct values

mongodb\rbac\MongoDbManager getChildrenList()

getChildrenList() protected method Returns the children for every parent. protected array getChildrenList ( )return array The children list. Each array key is a parent item name, and the corresponding array value is a list of child item names.

mongodb\Query min()

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