db\ActiveRecord deleteInternal()

deleteInternal() protected method Deletes an ActiveRecord without considering transaction. protected integer|false deleteInternal ( )return integer|false The number of rows deleted, or false if the deletion is unsuccessful for some reason. Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful. throws yii\db\StaleObjectException

mongodb\ActiveQuery populate()

populate() public method Converts the raw query results into the format as specified by this query. This method is internally used to convert the data fetched from MongoDB into the format as required by this query. public array populate ( $rows )$rows array The raw query result from MongoDB return array The converted query result

helpers\BaseFormatConverter convertDateIcuToJui()

convertDateIcuToJui() public static method Converts a date format pattern from [ICU format][] to [jQuery UI date format][]. Pattern constructs that are not supported by the jQuery UI format will be removed. public static string convertDateIcuToJui ( $pattern, $type = 'date', $locale = null )$pattern string Date format pattern in ICU format. $type string 'date', 'time', or 'datetime'. $locale string The locale to use for converting ICU short patterns short, medium, long and full. If n

i18n\Formatter asOrdinal()

asOrdinal() public method Formats the value as a ordinal value of a number. This function requires the PHP intl extension to be installed. public string asOrdinal ( $value )$value mixed The value to be formatted return string The formatted result. throws yii\base\InvalidParamException if the input value is not numeric or the formatting failed. throws yii\base\InvalidConfigException when the PHP intl extension is not available.

mail\BaseMailer generateMessageFileName()

generateMessageFileName() public method public string generateMessageFileName ( )return string The file name for saving the message when $useFileTransport is true.

web\Session set()

set() public method Adds a session variable. If the specified name already exists, the old value will be overwritten. public void set ( $key, $value )$key string Session variable name $value mixed Session variable value

sphinx\QueryBuilder buildShowMeta()

buildShowMeta() protected method Builds SHOW META query. protected string buildShowMeta ( $showMeta, &$params )$showMeta boolean|string|yii\db\Expression Show meta specification. $params array The binding parameters to be populated return string SHOW META query, if it does not required - empty string.

log\Target $levels

$levels public property The message levels that this target is interested in. This is a bitmap of level values. Defaults to 0, meaning all available levels. public integer getLevels ( )public void setLevels ( $levels )

gii\generators\model\Generator validateModelClass()

validateModelClass() public method Validates the $modelClass attribute. public void validateModelClass ( )

elasticsearch\ActiveRecord getOldPrimaryKey()

getOldPrimaryKey() public method Returns the old primary key value(s). This refers to the primary key value that is populated into the record after executing a find method (e.g. find(), findOne()). The value remains unchanged even if the primary key attribute is manually assigned with a different value. public mixed getOldPrimaryKey ( $asArray = false )$asArray boolean Whether to return the primary key value as an array. If true, the return value will be an array with column name as key