db\BaseActiveRecord __get()

__get() public method PHP getter magic method. This method is overridden so that attributes and related objects can be accessed like properties. See also getAttribute(). public mixed __get ( $name )$name string Property name return mixed Property value throws yii\base\InvalidParamException if relation name is wrong

filters\HttpCache $etagSeed

$etagSeed public property A PHP callback that generates the ETag seed string. The callback's signature should be: function ($action, $params) where $action is the yii\base\Action object that this filter is currently handling; $params takes the value of $params. The callback should return a string serving as the seed for generating an ETag. public callable $etagSeed = null

i18n\Formatter asDecimal()

asDecimal() public method Formats the value as a decimal number. Property $decimalSeparator will be used to represent the decimal point. The value is rounded automatically to the defined decimal digits. See also: $decimalSeparator $thousandSeparator public string asDecimal ( $value, $decimals = null, $options = [], $textOptions = [] )$value mixed The value to be formatted. $decimals integer The number of digits after the decimal point. If not given the number of digits is determined fr

db\sqlite\Schema findColumns()

findColumns() protected method Collects the table column metadata. protected boolean findColumns ( $table )$table yii\db\TableSchema The table metadata return boolean Whether the table exists in the database

base\Object hasProperty()

hasProperty() public method Returns a value indicating whether a property is defined. A property is defined if: the class has a getter or setter method associated with the specified name (in this case, property name is case-insensitive); the class has a member variable with the specified name (when $checkVars is true); See also: canGetProperty() canSetProperty() public boolean hasProperty ( $name, $checkVars = true )$name string The property name $checkVars boolean Whether to treat mem

web\AssetManager $hashCallback

$hashCallback public property (available since version 2.0.6) A callback that will be called to produce hash for asset directory generation. The signature of the callback should be as follows: function ($path) where $path is the asset path. Note that the $path can be either directory where the asset files reside or a single file. For a CSS file that uses relative path in url(), the hash implementation should use the directory path of the file instead of the file path to include the relativ

widgets\Menu $items

$items public property List of menu items. Each menu item should be an array of the following structure: label: string, optional, specifies the menu item label. When $encodeLabels is true, the label will be HTML-encoded. If the label is not specified, an empty string will be used. encode: boolean, optional, whether this item`s label should be HTML-encoded. This param will override global $encodeLabels param. url: string or array, optional, specifies the URL of the menu item. It will be proc

caching\Cache flush()

flush() public method Deletes all values from cache. Be careful of performing this operation if the cache is shared among multiple applications. public boolean flush ( )return boolean Whether the flush operation was successful.

db\oci\Schema createQueryBuilder()

createQueryBuilder() public method Creates a query builder for the database. This method may be overridden by child classes to create a DBMS-specific query builder. public yii\db\QueryBuilder createQueryBuilder ( )return yii\db\QueryBuilder Query builder instance

mongodb\file\Download getChunkIterator()

getChunkIterator() public method Returns iterator for the file chunks cursor. public Iterator getChunkIterator ( $refresh = false )$refresh boolean Whether to recreate iterator, if it is already exist. return Iterator Chuck cursor iterator.