web\DbSession init()

init() public method Initializes the DbSession component. This method will initialize the $db property to make sure it refers to a valid DB connection. public void init ( )throws yii\base\InvalidConfigException if $db is invalid.

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

authclient\clients\Facebook defaultViewOptions()

defaultViewOptions() protected method Returns the default $viewOptions value. Particular client may override this method in order to provide specific default view options. protected array defaultViewOptions ( )return array List of default $viewOptions

web\User setIdentity()

setIdentity() public method Sets the user identity object. Note that this method does not deal with session or cookie. You should usually use switchIdentity() to change the identity of the current user. public void setIdentity ( $identity )$identity yii\web\IdentityInterface|null The identity object associated with the currently logged user. If null, it means the current user will be a guest without any associated identity. throws yii\base\InvalidValueException if $identity object do

web\User checkRedirectAcceptable()

checkRedirectAcceptable() protected method (available since version 2.0.8) Checks if the Accept header contains a content type that allows redirection to the login page. The login page is assumed to serve text/html or application/xhtml+xml by default. You can change acceptable content types by modifying $acceptableRedirectTypes property. See also $acceptableRedirectTypes. protected boolean checkRedirectAcceptable ( )return boolean Whether this request may be redirected to the login page.

db\Schema quoteTableName()

quoteTableName() public method Quotes a table name for use in a query. If the table name contains schema prefix, the prefix will also be properly quoted. If the table name is already quoted or contains '(' or '{{', then this method will do nothing. See also quoteSimpleTableName(). public string quoteTableName ( $name )$name string Table name return string The properly quoted table name

db\QueryBuilder addColumn()

addColumn() public method Builds a SQL statement for adding a new DB column. public string addColumn ( $table, $column, $type )$table string The table that the new column will be added to. The table name will be properly quoted by the method. $column string The name of the new column. The name will be properly quoted by the method. $type string The column type. The getColumnType() method will be invoked to convert abstract column type (if any) into the physical one. Anything that is

sphinx\ActiveRecord callKeywords()

callKeywords() public static method Returns tokenized and normalized forms of the keywords, and, optionally, keyword statistics. public static array callKeywords ( $text, $fetchStatistic = false )$text string The text to break down to keywords. $fetchStatistic boolean Whether to return document and hit occurrence statistics return array Keywords and statistics

validators\StringValidator $min

$min public property Minimum length. If not set, it means no minimum length limit. See also $tooShort for the customized message for a too short string. public integer $min = null

db\BaseActiveRecord isAttributeChanged()

isAttributeChanged() public method Returns a value indicating whether the named attribute has been changed. public boolean isAttributeChanged ( $name, $identical = true )$name string The name of the attribute. $identical boolean Whether the comparison of new and old value is made for identical values using ===, defaults to true. Otherwise == is used for comparison. This parameter is available since version 2.0.4. return boolean Whether the attribute has been changed