BaseYii setAlias()

setAlias() public static method Registers a path alias. A path alias is a short name representing a long path (a file path, a URL, etc.) For example, we use '@yii' as the alias of the path to the Yii framework directory. A path alias must start with the character '@' so that it can be easily differentiated from non-alias paths. Note that this method does not check if the given path exists or not. All it does is to associate the alias with the path. Any trailing '/' and '\' characters in the

helpers\BaseConsole clearScreen()

clearScreen() public static method Clears entire screen content by sending ANSI control code ED with argument 2 to the terminal. Cursor position will not be changed. Note: ANSI.SYS implementation used in windows will reset cursor position to upper left corner of the screen. public static void clearScreen ( )

debug\models\search\Debug $tag

$tag public property Tag attribute input search value public string $tag = null

grid\Column $footerOptions

$footerOptions public property The HTML attributes for the footer cell tag. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $footerOptions = []

authclient\clients\VKontakte defaultTitle()

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

db\Connection $enableSlaves

$enableSlaves public property Whether to enable read/write splitting by using $slaves to read data. Note that if $slaves is empty, read/write splitting will NOT be enabled no matter what value this property takes. public boolean $enableSlaves = true

log\SyslogTarget $facility

$facility public property Syslog facility. public integer $facility = LOG_USER

validators\Validator isEmpty()

isEmpty() public method Checks if the given value is empty. A value is considered empty if it is null, an empty array, or an empty string. Note that this method is different from PHP empty(). It will return false when the value is 0. public boolean isEmpty ( $value )$value mixed The value to be checked return boolean Whether the value is empty

mongodb\Connection $defaultDatabaseName

$defaultDatabaseName public property Default database name. public string getDefaultDatabaseName ( )public void setDefaultDatabaseName ( $name )

mongodb\QueryBuilder buildSimpleCondition()

buildSimpleCondition() public method Creates an Mongo condition like {$operator:{field:value}}. public string buildSimpleCondition ( $operator, $operands )$operator string The operator to use. Besides regular MongoDB operators, aliases like >, <=, and so on, can be used here. $operands array The first operand is the column name. The second operand is a single value that column value should be compared with. return string The generated Mongo condition. throws yii\base\InvalidPa