caching\MemCache setServers()

setServers() public method See also: http://php.net/manual/en/memcache.addserver.php http://php.net/manual/en/memcached.addserver.php public void setServers ( $config )$config array List of memcache or memcached server configurations. Each element must be an array with the following keys: host, port, persistent, weight, timeout, retryInterval, status.

mongodb\rbac\MongoDbManager addItem()

addItem() protected method Adds an auth item to the RBAC system. protected boolean addItem ( $item )$item yii\rbac\Item The item to add return boolean Whether the auth item is successfully added to the system throws Exception if data validation or saving fails (such as the name of the role or permission is not unique)

caching\DummyCache flushValues()

flushValues() protected method Deletes all values from cache. This is the implementation of the method declared in the parent class. protected boolean flushValues ( )return boolean Whether the flush operation was successful.

authclient\clients\Facebook defaultTitle()

defaultTitle() protected method Generates service title. protected string defaultTitle ( )return string Service title.

db\QueryBuilder createTable()

createTable() public method Builds a SQL statement 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 getColumnType() method will be invoked to convert any abstract type into a physical one. If a column is specified with definition only (e.g. 'PRI

mongodb\Session $sessionCollection

$sessionCollection public property The name of the MongoDB collection that stores the session data. Please refer to yii\mongodb\Connection::getCollection() on how to specify this parameter. This collection is better to be pre-created with fields 'id' and 'expire' indexed. public string|array $sessionCollection = 'session'

db\Migration createTable()

createTable() public method Builds and executes a SQL statement 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 yii\db\QueryBuilder::getColumnType() method will be invoked to convert any abstract type into a physical one. If a column is specifi

rbac\ManagerInterface getRoles()

getRoles() public abstract method Returns all roles in the system. public abstract yii\rbac\Role[] getRoles ( )return yii\rbac\Role[] All roles in the system. The array is indexed by the role names.

db\QueryBuilder buildInCondition()

buildInCondition() public method Creates an SQL expressions with the IN operator. public string buildInCondition ( $operator, $operands, &$params )$operator string The operator to use (e.g. IN or NOT IN) $operands array The first operand is the column name. If it is an array a composite IN condition will be generated. The second operand is an array of values that column value should be among. If it is an empty array the generated expression will be a false value if operator is IN a

sphinx\MatchBuilder parseParams()

parseParams() protected method Returns the actual MATCH expression by inserting parameter values into the corresponding placeholders. protected string parseParams ( $expression, $params )$expression string The expression string which is needed to prepare. $params array The binding parameters for inserting. return string Parsed expression.