db\Schema getSchemaNames()

getSchemaNames() public method (available since version 2.0.4) Returns all schema names in the database, except system schemas. public string[] getSchemaNames ( $refresh = false )$refresh boolean Whether to fetch the latest available schema names. If this is false, schema names fetched previously (if available) will be returned. return string[] All schema names in the database, except system schemas.

sphinx\Schema quoteIndexName()

quoteIndexName() public method Quotes a index name for use in a query. If the index name contains schema prefix, the prefix will also be properly quoted. If the index name is already quoted or contains '(' or '{{', then this method will do nothing. See also \yii\sphinx\quoteSimpleTableName. public string quoteIndexName ( $name )$name string Index name return string The properly quoted index name

db\Schema releaseSavepoint()

releaseSavepoint() public method Releases an existing savepoint. public void releaseSavepoint ( $name )$name string The savepoint name

helpers\BaseHtml getInputId()

getInputId() public static method Generates an appropriate input ID for the specified attribute name or expression. This method converts the result getInputName() into a valid input ID. For example, if getInputName() returns Post[content], this method will return post-content. public static string getInputId ( $model, $attribute )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for explanation of attribute expression. re

log\FileTarget export()

export() public method Writes log messages to a file. public void export ( )throws yii\base\InvalidConfigException if unable to open the log file for writing

Events

Event Handlers Attaching Event Handlers Event Handler Order Triggering Events Detaching Event Handlers Class-Level Event Handlers Events using interfaces Global Events Events allow you to inject custom code into existing code at certain execution points. You can attach custom code to an event so that when the event is triggered, the code gets executed automatically. For example, a mailer object may trigger a messageSent event when it successfully sends a message. If you want to keep track of t

caching\ExpressionDependency $expression

$expression public property The string representation of a PHP expression whose result is used to determine the dependency. A PHP expression can be any PHP code that evaluates to a value. To learn more about what an expression is, please refer to the php manual. public string $expression = 'true'

i18n\DbMessageSource init()

init() public method Initializes the DbMessageSource component. This method will initialize the $db property to make sure it refers to a valid DB connection. Configured $cache component would also be initialized. public void init ( )throws yii\base\InvalidConfigException if $db is invalid or $cache is invalid.

helpers\BaseConsole error()

error() public static method Prints text to STDERR appended with a carriage return (PHP_EOL). public static integer|boolean error ( $string = null )$string string The text to print return integer|boolean Number of bytes printed or false on error.

gii\generators\model\Generator validateDb()

validateDb() public method Validates the $db attribute. public void validateDb ( )