sphinx\IndexSchema $type

$type public property Type of the index. public string $type = null

Database Access Objects

Creating DB Connections Executing SQL Queries Quoting Table and Column Names Performing Transactions Replication and Read-Write Splitting Working with Database Schema Built on top of PDO, Yii DAO (Database Access Objects) provides an object-oriented API for accessing relational databases. It is the foundation for other more advanced database access methods, including query builder and active record. When using Yii DAO, you mainly need to deal with plain SQLs and PHP arrays. As a result, it is

db\DataReader bindColumn()

bindColumn() public method Binds a column to a PHP variable. When rows of data are being fetched, the corresponding column value will be set in the variable. Note, the fetch mode must include PDO::FETCH_BOUND. See also http://www.php.net/manual/en/function.PDOStatement-bindColumn.php. public void bindColumn ( $column, &$value, $dataType = null )$column integer|string Number of the column (1-indexed) or name of the column in the result set. If using the column name, be aware that th

db\BaseActiveRecord EVENT_BEFORE_INSERT

EVENT_BEFORE_INSERT event of type yii\base\ModelEvent An event that is triggered before inserting a record. You may set yii\base\ModelEvent::$isValid to be false to stop the insertion.

validators\ValidationAsset $sourcePath

$sourcePath public property public $sourcePath = '@yii/assets'

helpers\Inflector

All Classes | Properties | Methods | Constants Inheritance yii\helpers\Inflector » yii\helpers\BaseInflector Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/helpers/Inflector.php Inflector pluralizes and singularizes English nouns. It also contains some other useful methods. Public Properties Property Type Description Defined By $plurals array The rules for converting a word into its plural form. yii\helpers\BaseInflector $singulars array Th

validators\UrlValidator $validSchemes

$validSchemes public property List of URI schemes which should be considered valid. By default, http and https are considered to be valid schemes. public array $validSchemes = ['http', 'https']

rbac\PhpManager removeAll()

removeAll() public method Removes all authorization data, including roles, permissions, rules, and assignments. public void removeAll ( )

console\controllers\FixtureController needToApplyAll()

needToApplyAll() public method Checks if needed to apply all fixtures. public boolean needToApplyAll ( $fixture )$fixture string

debug\models\search\Log rules()

rules() public method Returns the validation rules for attributes. Validation rules are used by validate() to check if attribute values are valid. Child classes may override this method to declare different validation rules. Each rule is an array with the following structure: [ ['attribute1', 'attribute2'], 'validator type', 'on' => ['scenario1', 'scenario2'], //...other parameters... ] where attribute list: required, specifies the attributes array to be validated, for s