sphinx\Command createTable()

createTable() public method Creates a SQL command for creating a new DB table. The columns in the new table should be specified as name-definition pairs (e.g. 'name' => 'string'), where name stands for a column name which will be properly quoted by the method, and definition stands for the column type which can contain an abstract DB type. The method yii\sphinx\QueryBuilder::getColumnType() will be called to convert the abstract column types to physical ones. For example, string will be

base\Application $charset

$charset public property The charset currently used for the application. public string $charset = 'UTF-8'

db\DataReader readObject()

readObject() public method Returns an object populated with the next row of data. public mixed readObject ( $className, $fields )$className string Class name of the object to be created and populated $fields array Elements of this array are passed to the constructor return mixed The populated object, false if no more row of data available

mongodb\BatchQueryResult $batchSize

$batchSize public property The number of rows to be returned in each batch. public integer $batchSize = 100

rbac\PhpManager getInheritedPermissionsByUser()

getInheritedPermissionsByUser() protected method (available since version 2.0.7) Returns all permissions that the user inherits from the roles assigned to him. protected yii\rbac\Permission[] getInheritedPermissionsByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Permission[] All inherited permissions that the user has. The array is indexed by the permission names.

db\Connection useMaster()

useMaster() public method Executes the provided callback by using the master connection. This method is provided so that you can temporarily force using the master connection to perform DB operations even if they are read queries. For example, $result = $db->useMaster(function ($db) { return $db->createCommand('SELECT * FROM user LIMIT 1')->queryOne(); }); public mixed useMaster ( callable $callback )$callback callable A PHP callable to be executed by this method. Its signa

debug\panels\RequestPanel getName()

getName() public method public string getName ( )return string Name of the panel

caching\FileCache $gcProbability

$gcProbability public property The probability (parts per million) that garbage collection (GC) should be performed when storing a piece of data in the cache. Defaults to 10, meaning 0.001% chance. This number should be between 0 and 1000000. A value 0 means no GC will be performed at all. public integer $gcProbability = 10

mongodb\BatchQueryResult key()

key() public method Returns the index of the current dataset. This method is required by the interface Iterator. public integer key ( )return integer The index of the current row.

test\ArrayFixture $dataFile

$dataFile public property The file path or path alias of the data file that contains the fixture data to be returned by getData(). You can set this property to be false to prevent loading any data. public string|boolean $dataFile = null