elasticsearch\Connection getIsActive()

getIsActive() public method Returns a value indicating whether the DB connection is established. public boolean getIsActive ( )return boolean Whether the DB connection is established

caching\DbCache getValue()

getValue() protected method Retrieves a value from cache with a specified key. This is the implementation of the method declared in the parent class. protected string|false getValue ( $key )$key string A unique key identifying the cached value return string|false The value stored in cache, false if the value is not in the cache or expired.

db\Command dropIndex()

dropIndex() public method Creates a SQL command for dropping an index. public $this dropIndex ( $name, $table )$name string The name of the index to be dropped. The name will be properly quoted by the method. $table string The table whose index is to be dropped. The name will be properly quoted by the method. return $this The command object itself

web\Session setCookieParams()

setCookieParams() public method Sets the session cookie parameters. The cookie parameters passed to this method will be merged with the result of session_get_cookie_params(). See also http://us2.php.net/manual/en/function.session-set-cookie-params.php. public void setCookieParams ( array $value )$value array Cookie parameters, valid keys include: lifetime, path, domain, secure and httponly. throws yii\base\InvalidParamException if the parameters are incomplete.

authclient\Weibo defaultNormalizeUserAttributeMap()

defaultNormalizeUserAttributeMap() protected method Returns the default $normalizeUserAttributeMap value. Particular client may override this method in order to provide specific default map. protected array defaultNormalizeUserAttributeMap ( )return array Normalize attribute map.

mongodb\debug\MongoDbPanel hasExplain()

hasExplain() protected method protected boolean hasExplain ( )return boolean Whether the DB component has support for EXPLAIN queries

db\sqlite\Schema setTransactionIsolationLevel()

setTransactionIsolationLevel() public method Sets the isolation level of the current transaction. See also http://www.sqlite.org/pragma.html#pragma_read_uncommitted. public void setTransactionIsolationLevel ( $level )$level string The transaction isolation level to use for this transaction. This can be either yii\db\Transaction::READ_UNCOMMITTED or yii\db\Transaction::SERIALIZABLE. throws yii\base\NotSupportedException when unsupported isolation levels are used. SQLite only supports SE

helpers\BaseConsole getScreenSize()

getScreenSize() public static method Usage: list($width, $height) = ConsoleHelper::getScreenSize(); public static array|boolean getScreenSize ( $refresh = false )$refresh boolean Whether to force checking and not re-use cached size value. This is useful to detect changing window size while the application is running but may not get up to date values on every terminal. return array|boolean An array of ($width, $height) or false when it was not able to determine size.

db\mssql\QueryBuilder addCommentOnTable()

addCommentOnTable() public method (available since version 2.0.8) Builds a SQL command for adding comment to table public string addCommentOnTable ( $table, $comment )$table string The table whose column is to be commented. The table name will be properly quoted by the method. $comment string The text of the comment to be added. The comment will be properly quoted by the method. return string The SQL statement for adding comment on table

rbac\ManagerInterface add()

add() public abstract method Adds a role, permission or rule to the RBAC system. public abstract boolean add ( $object )$object yii\rbac\Role|yii\rbac\Permission|yii\rbac\Rule return boolean Whether the role, permission or rule 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)