db\mssql\QueryBuilder dropCommentFromColumn()

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

db\QueryBuilder buildFrom()

buildFrom() public method public string buildFrom ( $tables, &$params )$tables array $params array The binding parameters to be populated return string The FROM clause built from yii\db\Query::$from.

debug\panels\DbPanel canBeExplained()

canBeExplained() public static method (available since version 2.0.5) Check if given query type can be explained. public static boolean canBeExplained ( $type )$type string Query type

log\Target $enabled

$enabled public property Whether to enable this log target. Defaults to true. public boolean $enabled = true

log\Target getContextMessage()

getContextMessage() protected method Generates the context information to be logged. The default implementation will dump user information, system variables, etc. protected string getContextMessage ( )return string The context information. If an empty string, it means no context information.

di\Instance ensure()

ensure() public static method Resolves the specified reference into the actual object and makes sure it is of the specified type. The reference may be specified as a string or an Instance object. If the former, it will be treated as a component ID, a class/interface name or an alias, depending on the container type. If you do not specify a container, the method will first try Yii::$app followed by Yii::$container. For example, use yii\db\Connection; // returns Yii::$app->db $db = Instan

web\Request getETags()

getETags() public method Gets the Etags. public array getETags ( )return array The entity tags

bootstrap\NavBar $brandLabel

$brandLabel public property The text of the brand or false if it's not used. Note that this is not HTML-encoded. See also http://getbootstrap.com/components/#navbar. public string|boolean $brandLabel = false

web\Request getUserAgent()

getUserAgent() public method Returns the user agent. public string|null getUserAgent ( )return string|null User agent, null if not available

web\Request $cookieValidationKey

$cookieValidationKey public property A secret key used for cookie validation. This property must be set if $enableCookieValidation is true. public string $cookieValidationKey = null