i18n\I18N $messageFormatter

$messageFormatter public property The message formatter to be used to format message via ICU message format. public yii\i18n\MessageFormatter getMessageFormatter ( )public void setMessageFormatter ( $value )

captcha\Captcha registerClientScript()

registerClientScript() public method Registers the needed JavaScript. public void registerClientScript ( )

db\TableSchema fixPrimaryKey()

fixPrimaryKey() public method Manually specifies the primary key for this table. public void fixPrimaryKey ( $keys )$keys string|array The primary key (can be composite) throws yii\base\InvalidParamException if the specified key cannot be found in the table.

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'