helpers\BaseHtml activeTextInput()

activeTextInput() public static method Generates a text input tag for the given model attribute. This method will generate the "name" and "value" tag attributes automatically for the model attribute unless they are explicitly specified in $options. public static string activeTextInput ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $options

console\controllers\BaseMigrateController $templateFile

$templateFile public property The template file for generating new migrations. This can be either a path alias (e.g. "@app/migrations/template.php") or a file path. public string $templateFile = null

rbac\DbManager $db

$db public property The DB connection object or the application component ID of the DB connection. After the DbManager object is created, if you want to change this property, you should only assign it with a DB connection object. Starting from version 2.0.2, this can also be a configuration array for creating the object. public yii\db\Connection|array|string $db = 'db'

web\View registerCss()

registerCss() public method Registers a CSS code block. public void registerCss ( $css, $options = [], $key = null )$css string The content of the CSS code block to be registered $options array The HTML attributes for the <style>-tag. $key string The key that identifies the CSS code block. If null, it will use $css as the key. If two CSS code blocks are registered with the same key, the latter will overwrite the former.

mail\BaseMailer $viewPath

$viewPath public property The directory that contains the view files for composing mail messages Defaults to '@app/mail'. public string getViewPath ( )public void setViewPath ( $path )

i18n\Formatter asShortSize()

asShortSize() public method Formats the value in bytes as a size in human readable form for example 12 KB. This is the short form of asSize(). If $sizeFormatBase is 1024, binary prefixes (e.g. kibibyte/KiB, mebibyte/MiB, ...) are used in the formatting result. See also: \yii\i18n\sizeFormat asSize() public string asShortSize ( $value, $decimals = null, $options = [], $textOptions = [] )$value string|integer|float Value in bytes to be formatted. $decimals integer The number of digits

console\controllers\MessageController tokensEqual()

tokensEqual() protected method (available since version 2.0.1) Finds out if two PHP tokens are equal protected boolean tokensEqual ( $a, $b )$a array|string $b array|string

mongodb\file\ActiveQuery __construct()

__construct() public method Constructor. public void __construct ( $modelClass, $config = [] )$modelClass array The model class associated with this query $config array Configurations to be applied to the newly created query object

debug\panels\ConfigPanel getSummary()

getSummary() public method public string getSummary ( )return string Content that is displayed at debug toolbar

db\QueryTrait andFilterWhere()

andFilterWhere() public method Adds an additional WHERE condition to the existing one but ignores empty operands. The new condition and the existing one will be joined using the 'AND' operator. This method is similar to andWhere(). The main difference is that this method will remove empty query operands. As a result, this method is best suited for building query conditions based on filter values entered by users. See also: filterWhere() orFilterWhere() public $this andFilterWhere ( array