mongodb\Connection getQueryBuilder()

getQueryBuilder() public method (available since version 2.1) Returns the query builder for the this MongoDB connection. public yii\mongodb\QueryBuilder getQueryBuilder ( )return yii\mongodb\QueryBuilder The query builder for the this MongoDB connection.

mongodb\QueryBuilder listIndexes()

listIndexes() public method Generates list indexes command. public array listIndexes ( $collectionName, $options = [] )$collectionName string Collection name $options array Command options. Available options are: maxTimeMS: integer, max execution time in ms. return array Command document.

Service Locator

A service locator is an object that knows how to provide all sorts of services (or components) that an application might need. Within a service locator, each component exists as only a single instance, uniquely identified by an ID. You use the ID to retrieve a component from the service locator. In Yii, a service locator is simply an instance of yii\di\ServiceLocator or a child class. The most commonly used service locator in Yii is the application object, which can be accessed through \Yii::$a

web\User $identityCookie

$identityCookie public property The configuration of the identity cookie. This property is used only when $enableAutoLogin is true. See also yii\web\Cookie. public array $identityCookie = ['name' => '_identity', 'httpOnly' => true]

caching\DbCache init()

init() public method Initializes the DbCache component. This method will initialize the $db property to make sure it refers to a valid DB connection. public void init ( )throws yii\base\InvalidConfigException if $db is invalid.

mongodb\ActiveRecord equals()

equals() public method Returns a value indicating whether the given active record is the same as the current one. The comparison is made by comparing the collection names and the primary key values of the two active records. If one of the records is new they are also considered not equal. public boolean equals ( $record )$record yii\mongodb\ActiveRecord Record to compare to return boolean Whether the two active records refer to the same row in the same Mongo collection.

validators\FileValidator getSizeLimit()

getSizeLimit() public method Returns the maximum size allowed for uploaded files. This is determined based on four factors: 'upload_max_filesize' in php.ini 'post_max_size' in php.ini 'MAX_FILE_SIZE' hidden field $maxSize public integer getSizeLimit ( )return integer The size limit for uploaded files.

base\Security $authKeyInfo

$authKeyInfo public property HKDF info value for derivation of message authentication key. See also hkdf(). public string $authKeyInfo = 'AuthorizationKey'

sphinx\gii\model\Generator validateDb()

validateDb() public method Validates the $db attribute. public void validateDb ( )

debug\panels\LogPanel getDetail()

getDetail() public method public string getDetail ( )return string Content that is displayed in debugger detail view