db\ActiveQuery alias()

alias() public method (available since version 2.0.7) Define an alias for the table defined in $modelClass. This method will adjust from() so that an already defined alias will be overwritten. If none was defined, from() will be populated with the given alias. public $this alias ( $alias )$alias string The table alias. return $this The query object itself

gii\generators\module\Generator successMessage()

successMessage() public method Returns the message to be displayed when the newly generated code is saved successfully. Child classes may override this method to customize the message. public string successMessage ( )return string The message to be displayed when the newly generated code is saved successfully.

helpers\BaseConsole hideCursor()

hideCursor() public static method Hides the cursor by sending ANSI DECTCEM code ?25l to the terminal. Use showCursor() to bring it back. Do not forget to show cursor when your application exits. Cursor might stay hidden in terminal after exit. public static void hideCursor ( )

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