filters\ContentNegotiator isLanguageSupported()

isLanguageSupported() protected method Returns a value indicating whether the requested language matches the supported language. protected boolean isLanguageSupported ( $requested, $supported )$requested string The requested language code $supported string The supported language code return boolean Whether the requested language is supported

web\Request getCsrfToken()

getCsrfToken() public method Returns the token used to perform CSRF validation. This token is generated in a way to prevent BREACH attacks. It may be passed along via a hidden field of an HTML form or an HTTP header value to support CSRF validation. public string getCsrfToken ( $regenerate = false )$regenerate boolean Whether to regenerate CSRF token. When this parameter is true, each time this method is called, a new CSRF token will be generated and persisted (in session or cookie). re

sphinx\Command prepare()

prepare() public method Prepares the SQL statement to be executed. For complex SQL statement that is to be executed multiple times, this may improve performance. For SQL statement with binding parameters, this method is invoked automatically. public void prepare ( $forRead = null )$forRead boolean Whether this method is called for a read query. If null, it means the SQL statement should be used to determine whether it is for read or write. throws yii\db\Exception if there is any DB err

validators\RangeValidator validateAttribute()

validateAttribute() public method Validates a single attribute. Child classes must implement this method to provide the actual validation logic. public void validateAttribute ( $model, $attribute )$model yii\base\Model The data model to be validated $attribute string The name of the attribute to be validated.

web\Request $authUser

$authUser public read-only property The username sent via HTTP authentication, null if the username is not given public string|null getAuthUser ( )

helpers\BaseArrayHelper getColumn()

getColumn() public static method Returns the values of a specified column in an array. The input array should be multidimensional or an array of objects. For example, $array = [ ['id' => '123', 'data' => 'abc'], ['id' => '345', 'data' => 'def'], ]; $result = ArrayHelper::getColumn($array, 'id'); // the result is: ['123', '345'] // using anonymous function $result = ArrayHelper::getColumn($array, function ($element) { return $element['id']; }); public static array

gii\generators\model\Generator generateRules()

generateRules() public method Generates validation rules for the specified table. public array generateRules ( $table )$table yii\db\TableSchema The table schema return array The generated validation rules

db\DataReader $columnCount

$columnCount public read-only property The number of columns in the result set. public integer getColumnCount ( )

db\Connection $masters

$masters public property List of master connection configurations. Each configuration is used to create a master DB connection. When open() is called, one of these configurations will be chosen and used to create a DB connection which will be used by this object. Note that when this property is not empty, the connection setting (e.g. "dsn", "username") of this object will be ignored. See also $masterConfig. public array $masters = []

db\Connection $charset

$charset public property The charset used for database connection. The property is only used for MySQL, PostgreSQL and CUBRID databases. Defaults to null, meaning using default charset as configured by the database. For Oracle Database, the charset must be specified in the $dsn, for example for UTF-8 by appending ;charset=UTF-8 to the DSN string. The same applies for if you're using GBK or BIG5 charset with MySQL, then it's highly recommended to specify charset via $dsn like 'mysql:dbname=m