caching\ApcCache addValues()

addValues() protected method Adds multiple key-value pairs to cache. protected array addValues ( $data, $duration )$data array Array where key corresponds to cache key while value is the value stored $duration integer The number of seconds in which the cached values will expire. 0 means never expire. return array Array of failed keys

caching\MemCache setValues()

setValues() protected method Stores multiple key-value pairs in cache. protected array setValues ( $data, $duration )$data array Array where key corresponds to cache key while value is the value stored $duration integer The number of seconds in which the cached values will expire. 0 means never expire. return array Array of failed keys. Always empty in case of using memcached.

base\View EVENT_END_PAGE

EVENT_END_PAGE event of type yii\base\Event An event that is triggered by endPage().

caching\MemCache addMemcacheServers()

addMemcacheServers() protected method Add servers to the server pool of the cache specified Used for memcache PECL extension. protected void addMemcacheServers ( $cache, $servers )$cache \Memcache $servers yii\caching\MemCacheServer[]

caching\Dependency evaluateDependency()

evaluateDependency() public method Evaluates the dependency by generating and saving the data related with dependency. This method is invoked by cache before writing data into it. public void evaluateDependency ( $cache )$cache yii\caching\Cache The cache component that is currently evaluating this dependency

validators\FileValidator validateExtension()

validateExtension() protected method Checks if given uploaded file have correct type (extension) according current validator settings. protected boolean validateExtension ( $file )$file yii\web\UploadedFile

data\ArrayDataProvider $allModels

$allModels public property The data that is not paginated or sorted. When pagination is enabled, this property usually contains more elements than $models. The array elements must use zero-based integer keys. public array $allModels = null

caching\ApcCache setValues()

setValues() protected method Stores multiple key-value pairs in cache. protected array setValues ( $data, $duration )$data array Array where key corresponds to cache key while value $duration integer The number of seconds in which the cached values will expire. 0 means never expire. return array Array of failed keys

base\ArrayableTrait toArray()

toArray() public method Converts the model into an array. This method will first identify which fields to be included in the resulting array by calling resolveFields(). It will then turn the model into an array with these fields. If $recursive is true, any embedded objects will also be converted into arrays. If the model implements the yii\web\Linkable interface, the resulting array will also have a _link element which refers to a list of links as specified by the interface. public array

caching\ArrayCache flushValues()

flushValues() protected method Deletes all values from cache. Child classes may implement this method to realize the flush operation. protected boolean flushValues ( )return boolean Whether the flush operation was successful.