behaviors\AttributeTypecastBehavior $attributeTypes

$attributeTypes public property Attribute typecast map in format: attributeName => type. Type can be set via PHP callable, which accept raw value as an argument and should return typecast result. For example: [ 'amount' => 'integer', 'price' => 'float', 'is_active' => 'boolean', 'date' => function ($value) { return ($value instanceof \DateTime) ? $value->getTimestamp(): (int)$value; }, ] If not set, attribute type map will be composed automatic

grid\ActionColumn $visibleButtons

$visibleButtons public property (available since version 2.0.7) Visibility conditions for each button. The array keys are the button names (without curly brackets), and the values are the boolean true/false or the anonymous function. When the button name is not specified in this array it will be shown by default. The callbacks must use the following signature: function ($model, $key, $index) { return $model->status === 'editable'; } Or you can pass a boolean value: [ 'update' =&

db\pgsql\Schema getViewNames()

getViewNames() public method (available since version 2.0.9) Returns all view names in the database. public string[] getViewNames ( $schema = '', $refresh = false )$schema string The schema of the views. Defaults to empty string, meaning the current or default schema name. If not empty, the returned view names will be prefixed with the schema name. $refresh boolean Whether to fetch the latest available view names. If this is false, view names fetched previously (if available) will be r

db\Query rightJoin()

rightJoin() public method Appends a RIGHT OUTER JOIN part to the query. public $this rightJoin ( $table, $on = '', $params = [] )$table string|array The table to be joined. Use a string to represent the name of the table to be joined. The table name can contain a schema prefix (e.g. 'public.user') and/or table alias (e.g. 'user u'). The method will automatically quote the table name unless it contains some parenthesis (which means the table is given as a sub-query or DB expression). Us

authclient\AuthAction setCancelUrl()

setCancelUrl() public method public void setCancelUrl ( $url )$url string Cancel URL.

helpers\BaseConsole updateProgress()

updateProgress() public static method Updates a progress bar that has been started by startProgress(). See also: startProgress() endProgress() public static void updateProgress ( $done, $total, $prefix = null )$done integer The number of items that are completed. $total integer The total value of items that are to be done. $prefix string An optional string to display before the progress bar. Defaults to null meaning the prefix specified by startProgress() will be used. If prefix is s

sphinx\Query options()

options() public method Sets the query options. See also addOptions(). public $this options ( $options )$options array Query options in format: optionName => optionValue return $this The query object itself

debug\panels\AssetPanel formatOptions()

formatOptions() protected method Format associative array of params to simple value. protected array formatOptions ( array &$params )$params array

mail\MailerInterface sendMultiple()

sendMultiple() public abstract method Sends multiple messages at once. This method may be implemented by some mailers which support more efficient way of sending multiple messages in the same batch. public abstract integer sendMultiple ( array $messages )$messages array List of email messages, which should be sent. return integer Number of messages that are successfully sent.

i18n\I18N $messageFormatter

$messageFormatter public property The message formatter to be used to format message via ICU message format. public yii\i18n\MessageFormatter getMessageFormatter ( )public void setMessageFormatter ( $value )