mongodb\file\Upload __destruct()

__destruct() public method Destructor. Makes sure abandoned upload is cancelled. public void __destruct ( )

mongodb\Command insert()

insert() public method Inserts new document into collection. public \MongoDB\BSON\ObjectID|boolean insert ( $collectionName, $document, $options = [] )$collectionName string Collection name $document array Document content $options array List of options in format: optionName => optionValue. return \MongoDB\BSON\ObjectID|boolean Inserted record ID, false - on failure.

web\Response getIsOk()

getIsOk() public method public boolean getIsOk ( )return boolean Whether this response is OK

caching\ApcCache init()

init() public method Initializes this application component. It checks if extension required is loaded. public void init ( )

widgets\ActiveForm $successCssClass

$successCssClass public property The CSS class that is added to a field container when the associated attribute is successfully validated. public string $successCssClass = 'has-success'

bootstrap\Carousel renderItem()

renderItem() public method Renders a single carousel item public string renderItem ( $item, $index )$item string|array A single item from $items $index integer The item index as the first item should be set to active return string The rendering result throws yii\base\InvalidConfigException if the item is invalid

db\Connection $serverStatusCache

$serverStatusCache public property The cache object or the ID of the cache application component that is used to store the health status of the DB servers specified in $masters and $slaves. This is used only when read/write splitting is enabled or $masters is not empty. public yii\caching\Cache|string $serverStatusCache = 'cache'

gii\generators\module\Generator rules()

rules() public method Returns the validation rules for attributes. Validation rules are used by validate() to check if attribute values are valid. Child classes may override this method to declare different validation rules. Each rule is an array with the following structure: [ ['attribute1', 'attribute2'], 'validator type', 'on' => ['scenario1', 'scenario2'], //...other parameters... ] where attribute list: required, specifies the attributes array to be validated, for s

db\Command cache()

cache() public method Enables query cache for this command. public $this cache ( $duration = null, $dependency = null )$duration integer The number of seconds that query result of this command can remain valid in the cache. If this is not set, the value of yii\db\Connection::$queryCacheDuration will be used instead. Use 0 to indicate that the cached data will never expire. $dependency yii\caching\Dependency The cache dependency associated with the cached query result. return $this Th

db\Command addForeignKey()

addForeignKey() public method Creates a SQL command for adding a foreign key constraint to an existing table. The method will properly quote the table and column names. public $this addForeignKey ( $name, $table, $columns, $refTable, $refColumns, $delete = null, $update = null )$name string The name of the foreign key constraint. $table string The table that the foreign key constraint will be added to. $columns string|array The name of the column to that the constraint will be adde