mongodb\Command executeBatch()

executeBatch() public method Execute commands batch (bulk). public array executeBatch ( $collectionName, $options = [] )$collectionName string Collection name. $options array Batch options. return array Array of 2 elements: 'insertedIds' - contains inserted IDs. 'result' - \MongoDB\Driver\WriteResult instance. throws yii\mongodb\Exception on failure. throws yii\base\InvalidConfigException on invalid $document format.

authclient\OAuth2 composeRequestCurlOptions()

composeRequestCurlOptions() protected method Composes HTTP request CUrl options, which will be merged with the default ones. protected array composeRequestCurlOptions ( $method, $url, array $params )$method string Request type. $url string Request URL. $params array Request params. return array CUrl options. throws yii\base\Exception on failure.

db\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a simple table name for use in a query. A simple table name should contain the table name only without any schema prefix. If the table name is already quoted, this method will do nothing. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name

data\ArrayDataProvider $key

$key public property The column that is used as the key of the data models. This can be either a column name, or a callable that returns the key value of a given data model. If this is not set, the index of the $models array will be used. See also getKeys(). public string|callable $key = null

mongodb\file\Download $chunkIterator

$chunkIterator public read-only property Chuck cursor iterator. public Iterator getChunkIterator ( $refresh = false )

data\Sort getOrders()

getOrders() public method Returns the columns and their corresponding sort directions. public array getOrders ( $recalculate = false )$recalculate boolean Whether to recalculate the sort directions return array The columns (keys) and their corresponding sort directions (values). This can be passed to yii\db\Query::orderBy() to construct a DB query.

web\UploadedFile getInstances()

getInstances() public static method Returns all uploaded files for the given model attribute. public static yii\web\UploadedFile[] getInstances ( $model, $attribute )$model yii\base\Model The data model $attribute string The attribute name. The attribute name may contain array indexes for tabular file uploading, e.g. '[1]file'. return yii\web\UploadedFile[] Array of UploadedFile objects. Empty array is returned if no available file was found for the given attribute.

caching\FileCache getCacheFile()

getCacheFile() protected method Returns the cache file path given the cache key. protected string getCacheFile ( $key )$key string Cache key return string The cache file path

filters\RateLimiter $errorMessage

$errorMessage public property The message to be displayed when rate limit exceeds public string $errorMessage = 'Rate limit exceeded.'

db\BaseActiveRecord afterDelete()

afterDelete() public method This method is invoked after deleting a record. The default implementation raises the EVENT_AFTER_DELETE event. You may override this method to do postprocessing after the record is deleted. Make sure you call the parent implementation so that the event is raised properly. public void afterDelete ( )