i18n\Formatter asScientific()

asScientific() public method Formats the value as a scientific number. public string asScientific ( $value, $decimals = null, $options = [], $textOptions = [] )$value mixed The value to be formatted. $decimals integer The number of digits after the decimal point. $options array Optional configuration for the number formatter. This parameter will be merged with $numberFormatterOptions. $textOptions array Optional configuration for the number formatter. This parameter will be merged

i18n\MessageFormatter parse()

parse() public method Parses an input string according to an ICU message format pattern. It uses the PHP intl extension's MessageFormatter::parse() and adds support for named arguments. Usage of this method requires PHP intl extension to be installed. public array|boolean parse ( $pattern, $message, $language )$pattern string The pattern to use for parsing the message. $message string The message to parse, conforming to the pattern. $language string The locale to use for formatting l

db\QueryInterface orderBy()

orderBy() public abstract method Sets the ORDER BY part of the query. See also addOrderBy(). public abstract $this orderBy ( $columns )$columns string|array The columns (and the directions) to be ordered by. Columns can be specified in either a string (e.g. "id ASC, name DESC") or an array (e.g. ['id' => SORT_ASC, 'name' => SORT_DESC]). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression).

base\Event on()

on() public static method Attaches an event handler to a class-level event. When a class-level event is triggered, event handlers attached to that class and all parent classes will be invoked. For example, the following code attaches an event handler to ActiveRecord's afterInsert event: Event::on(ActiveRecord::className(), ActiveRecord::EVENT_AFTER_INSERT, function ($event) { Yii::trace(get_class($event->sender) . ' is inserted.'); }); The handler will be invoked for EVERY successfu

caching\MemCacheServer $status

$status public property If the server should be flagged as online upon a failure. This is used by memcache only. public boolean $status = true

base\Event $handled

$handled public property Whether the event is handled. Defaults to false. When a handler sets this to be true, the event processing will stop and ignore the rest of the uninvoked event handlers. public boolean $handled = false

web\MultiFieldSession $writeCallback

$writeCallback public property A callback that will be called during session data writing. The signature of the callback should be as follows: function ($session) where $session is this session instance, this variable can be used to retrieve session data. Callback should return the actual fields set, which should be saved into the session storage. For example: function ($session) { return [ 'user_id' => Yii::$app->user->id, 'ip' => $_SERVER['REMOTE_ADDR'],

caching\ApcCache flushValues()

flushValues() protected method Deletes all values from cache. This is the implementation of the method declared in the parent class. protected boolean flushValues ( )return boolean Whether the flush operation was successful.

web\AssetBundle $js

$js public property List of JavaScript files that this bundle contains. Each JavaScript file can be specified in one of the following formats: an absolute URL representing an external asset. For example, http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js or //ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js. a relative path representing a local asset (e.g. js/main.js). The actual file path of a local asset can be determined by prefixing $basePath to the relative path, a

web\Session $useTransparentSessionID

$useTransparentSessionID public property Whether transparent sid support is enabled or not, defaults to false. public boolean getUseTransparentSessionID ( )public void setUseTransparentSessionID ( $value )