caching\Cache exists()

exists() public method Checks whether a specified key exists in the cache. This can be faster than getting the value from the cache if the data is big. In case a cache does not support this feature natively, this method will try to simulate it but has no performance improvement over getting it. Note that this method does not check whether the dependency associated with the cached data, if there is any, has changed. So a call to get() may return false while exists returns true. public bool

db\QueryBuilder getColumnType()

getColumnType() public method Converts an abstract column type into a physical column type. The conversion is done using the type map specified in $typeMap. The following abstract column types are supported (using MySQL as an example to explain the corresponding physical types): pk: an auto-incremental primary key type, will be converted into "int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY" bigpk: an auto-incremental primary key type, will be converted into "bigint(20) NOT NULL AUTO_INCREMEN

mongodb\rbac\MongoDbManager populateItem()

populateItem() protected method Populates an auth item with the data fetched from collection protected yii\rbac\Item populateItem ( $row )$row array The data from the auth item collection return yii\rbac\Item The populated auth item instance (either Role or Permission)

base\View $renderers

$renderers public property A list of available renderers indexed by their corresponding supported file extensions. Each renderer may be a view renderer object or the configuration for creating the renderer object. For example, the following configuration enables both Smarty and Twig view renderers: [ 'tpl' => ['class' => 'yii\smarty\ViewRenderer'], 'twig' => ['class' => 'yii\twig\ViewRenderer'], ] If no renderer is available for the given view file, the view file will b

caching\DbCache $gcProbability

$gcProbability public property The probability (parts per million) that garbage collection (GC) should be performed when storing a piece of data in the cache. Defaults to 100, meaning 0.01% chance. This number should be between 0 and 1000000. A value 0 meaning no GC will be performed at all. public integer $gcProbability = 100

sphinx\Schema quoteSimpleColumnName()

quoteSimpleColumnName() public method Quotes a column name for use in a query. A simple column name has no prefix. public string quoteSimpleColumnName ( $name )$name string Column name return string The properly quoted column name

web\CookieCollection offsetUnset()

offsetUnset() public method Removes the named cookie. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like unset($collection[$name]). This is equivalent to remove(). public void offsetUnset ( $name )$name string The cookie name

elasticsearch\Connection $dataTimeout

$dataTimeout public property Timeout to use when reading the response from an elasticsearch node. This value will be used to configure the curl CURLOPT_TIMEOUT option. If not set, no explicit timeout will be set for curl. public float $dataTimeout = null

helpers\BaseHtml dropDownList()

dropDownList() public static method Generates a drop-down list. public static string dropDownList ( $name, $selection = null, $items = [], $options = [] )$name string The input name $selection string|array|null The selected value(s). String for single or array for multiple selection(s). $items array The option data items. The array keys are option values, and the array values are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too).

db\Command requireTableSchemaRefresh()

requireTableSchemaRefresh() protected method (available since version 2.0.6) Marks a specified table schema to be refreshed after command execution. protected $this requireTableSchemaRefresh ( $name )$name string Name of the table, which schema should be refreshed. return $this This command instance