db\Command refreshTableSchema()

refreshTableSchema() protected method (available since version 2.0.6) Refreshes table schema, which was marked by requireTableSchemaRefresh() protected void refreshTableSchema ( )

debug\panels\AssetPanel $summary

$summary public read-only property Content that is displayed at debug toolbar public string getSummary ( )

validators\RangeValidator init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

helpers\BaseHtml resetInput()

resetInput() public static method Generates a reset input button. public static string resetInput ( $label = 'Reset', $options = [] )$label string The value attribute. If it is null, the value attribute will not be generated. $options array The attributes of the button tag. The values will be HTML-encoded using encode(). Attributes whose value is null will be ignored and not put in the tag returned. See renderTagAttributes() for details on how attributes are being rendered. return str

caching\DbCache $db

$db public property The DB connection object or the application component ID of the DB connection. After the DbCache 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'

gii\generators\extension\Generator optsLicense()

optsLicense() public method public array optsLicense ( )return array Options for license drop-down

rbac\PhpManager saveRules()

saveRules() protected method Saves rules data into persistent storage. protected void saveRules ( )

gii\generators\extension\Generator $keywordsArrayJson

$keywordsArrayJson public read-only property A json encoded array with the given keywords public string getKeywordsArrayJson ( )

mongodb\Query scalar()

scalar() public method (available since version 2.1.2) Returns the query result as a scalar value. The value returned will be the first column in the first row of the query results. Column _id will be automatically excluded from select fields, if select() is not empty and _id is not selected explicitly. public string|null|false scalar ( $db = null )$db yii\mongodb\Connection The MongoDB connection used to generate the query. If this parameter is not given, the mongodb application compone

helpers\BaseHtml script()

script() public static method Generates a script tag. public static string script ( $content, $options = [] )$content string The script content $options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will not be rendered. See renderTagAttributes() for details on how attributes are being rendered. return string The generate