web\User can()

can() public method Checks if the user can perform the operation as specified by the given permission. Note that you must configure "authManager" application component in order to use this method. Otherwise it will always return false. public boolean can ( $permissionName, $params = [], $allowCaching = true )$permissionName string The name of the permission (e.g. "edit post") that needs access check. $params array Name-value pairs that would be passed to the rules associated with the r

mongodb\Connection setLogBuilder()

setLogBuilder() public method (available since version 2.1) Sets log builder used for this connection. public void setLogBuilder ( $logBuilder )$logBuilder array|string|yii\mongodb\LogBuilder The log builder for this connection.

console\controllers\HelpController validateControllerClass()

validateControllerClass() protected method Validates if the given class is a valid console controller class. protected boolean validateControllerClass ( $controllerClass )$controllerClass string

db\oci\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a simple table name for use in a query. A simple table name should contain the table name only without any schema prefix. If the table name is already quoted, this method will do nothing. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name

db\pgsql\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a table name for use in a query. A simple table name has no schema prefix. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name

authclient\clients\Live initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

web\UserEvent $cookieBased

$cookieBased public property Whether the login is cookie-based. This property is only meaningful for yii\web\User::EVENT_BEFORE_LOGIN and yii\web\User::EVENT_AFTER_LOGIN events. public boolean $cookieBased = null

db\QueryBuilder buildColumns()

buildColumns() public method Processes columns and properly quotes them if necessary. It will join all columns into a string with comma as separators. public string buildColumns ( $columns )$columns string|array The columns to be processed return string The processing result

helpers\BaseJson htmlEncode()

htmlEncode() public static method (available since version 2.0.4) Encodes the given value into a JSON string HTML-escaping entities so it is safe to be embedded in HTML code. The method enhances json_encode() by supporting JavaScript expressions. In particular, the method will not encode a JavaScript expression that is represented in terms of a yii\web\JsExpression object. public static string htmlEncode ( $value )$value mixed The data to be encoded return string The encoding result t

db\QueryTrait addOrderBy()

addOrderBy() public method Adds additional ORDER BY columns to the query. See also orderBy(). public $this addOrderBy ( $columns )$columns string|array|yii\db\Expression The columns (and the directions) to be ordered by. Columns can be specified in either a string (e.g. "id ASC, name DESC") or an array (e.g. ['id' => SORT_ASC, 'name' => SORT_DESC]). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB