web\Request getMethod()

getMethod() public method Returns the method of the current request (e.g. GET, POST, HEAD, PUT, PATCH, DELETE). public string getMethod ( )return string Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE. The value returned is turned into upper case.

elasticsearch\BatchQueryResult reset()

reset() public method Resets the batch query. This method will clean up the existing batch query so that a new batch query can be performed. public void reset ( )

i18n\Formatter asCurrency()

asCurrency() public method Formats the value as a currency number. This function does not require the PHP intl extension to be installed to work, but it is highly recommended to install it to get good formatting results. public string asCurrency ( $value, $currency = null, $options = [], $textOptions = [] )$value mixed The value to be formatted. $currency string The 3-letter ISO 4217 currency code indicating the currency to use. If null, $currencyCode will be used. $options array Opt

caching\DummyCache 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.

debug\panels\TimelinePanel $duration

$duration public read-only property public float getDuration ( )

log\FileTarget $rotateByCopy

$rotateByCopy public property Whether to rotate log files by copy and truncate in contrast to rotation by renaming files. Defaults to true to be more compatible with log tailers and is windows systems which do not play well with rename on open files. Rotation by renaming however is a bit faster. The problem with windows systems where the rename() function does not work with files that are opened by some process is described in a comment by Martin Pelletier in the PHP documentation. By setti

helpers\BaseArrayHelper getValue()

getValue() public static method Retrieves the value of an array element or object property with the given key or property name. If the key does not exist in the array or object, the default value will be returned instead. The key may be specified in a dot format to retrieve the value of a sub-array or the property of an embedded object. In particular, if the key is x.y.z, then the returned value would be $array['x']['y']['z'] or $array->x->y->z (if $array is an object). If $array['

rest\CreateAction $scenario

$scenario public property The scenario to be assigned to the new model before it is validated and saved. public string $scenario = \yii\base\Model::SCENARIO_DEFAULT

db\sqlite\QueryBuilder alterColumn()

alterColumn() public method Builds a SQL statement for changing the definition of a column. public string alterColumn ( $table, $column, $type )$table string The table whose column is to be changed. The table name will be properly quoted by the method. $column string The name of the column to be changed. The name will be properly quoted by the method. $type string The new column type. The getColumnType() method will be invoked to convert abstract column type (if any) into the physica

base\Model formName()

formName() public method Returns the form name that this model class should use. The form name is mainly used by yii\widgets\ActiveForm to determine how to name the input fields for the attributes in a model. If the form name is "A" and an attribute name is "b", then the corresponding input name would be "A[b]". If the form name is an empty string, then the input name would be "b". The purpose of the above naming schema is that for forms which contain multiple different models, the attribut