authclient\OAuthToken getParams()

getParams() public method public array getParams ( )

Fragment Caching

Caching Options Nested Caching Dynamic Content Fragment caching refers to caching a fragment of a Web page. For example, if a page displays a summary of yearly sale in a table, you can store this table in cache to eliminate the time needed to generate this table for each request. Fragment caching is built on top of data caching. To use fragment caching, use the following construct in a view: if ($this->beginCache($id)) { // ... generate content here ... $this->endCache(); } Th

debug\LogTarget $tag

$tag public property public $tag = null

validators\UniqueValidator $comboNotUnique

$comboNotUnique public property (available since version 2.0.9) public string $comboNotUnique = null

web\Response xSendFile()

xSendFile() public method Sends existing file to a browser as a download using x-sendfile. X-Sendfile is a feature allowing a web application to redirect the request for a file to the webserver that in turn processes the request, this way eliminating the need to perform tasks like reading the file and sending it to the user. When dealing with a lot of files (or very big files) this can lead to a great increase in performance as the web application is allowed to terminate earlier while the w

debug\models\search\Mail $from

$from public property From attribute input search value public string $from = null

web\Response $isSuccessful

$isSuccessful public read-only property Whether this response is successful public boolean getIsSuccessful ( )

mongodb\Command aggregate()

aggregate() public method Performs aggregation using MongoDB Aggregation Framework. public array aggregate ( $collectionName, $pipelines, $options = [] )$collectionName string Collection name $pipelines array List of pipeline operators. $options array Optional parameters. return array Aggregation result.

mongodb\file\Collection $fileCollection

$fileCollection public read-only property Mongo collection instance. public yii\mongodb\Collection getFileCollection ( $refresh = false )

rbac\Rule $name

$name public property Name of the rule public string $name = null