caching\Cache offsetUnset()

offsetUnset() public method Deletes the value with the specified key from cache This method is required by the interface ArrayAccess. public void offsetUnset ( $key )$key string The key of the value to be deleted

gii\generators\extension\Generator $description

$description public read-only property public string getDescription ( )

rbac\DbManager invalidateCache()

invalidateCache() public method public void invalidateCache ( )

di\Instance __construct()

__construct() protected method Constructor. protected void __construct ( $id )$id string The component ID

mongodb\Query scalar()

scalar() public method (available since version 2.1.2) Returns the query result as a scalar value. The value returned will be the first column in the first row of the query results. Column _id will be automatically excluded from select fields, if select() is not empty and _id is not selected explicitly. public string|null|false scalar ( $db = null )$db yii\mongodb\Connection The MongoDB connection used to generate the query. If this parameter is not given, the mongodb application compone

helpers\BaseHtml script()

script() public static method Generates a script tag. public static string script ( $content, $options = [] )$content string The script content $options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will not be rendered. See renderTagAttributes() for details on how attributes are being rendered. return string The generate

validators\RangeValidator init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

caching\ChainedDependency $dependOnAll

$dependOnAll public property Whether this dependency is depending on every dependency in $dependencies. Defaults to true, meaning if any of the dependencies has changed, this dependency is considered changed. When it is set false, it means if one of the dependencies has NOT changed, this dependency is considered NOT changed. public boolean $dependOnAll = true

web\CacheSession $useCustomStorage

$useCustomStorage public read-only property Whether to use custom storage. public boolean getUseCustomStorage ( )

i18n\Formatter $nullDisplay

$nullDisplay public property The text to be displayed when formatting a null value. Defaults to '<span class="not-set">(not set)</span>', where (not set) will be translated according to $locale. public string $nullDisplay = null