db\TableSchema $foreignKeys

$foreignKeys public property Foreign keys of this table. Each array element is of the following structure: [ 'ForeignTableName', 'fk1' => 'pk1', // pk1 is in foreign table 'fk2' => 'pk2', // if composite foreign key ] public array $foreignKeys = []

web\Response $version

$version public property The version of the HTTP protocol to use. If not set, it will be determined via $_SERVER['SERVER_PROTOCOL'], or '1.1' if that is not available. public string $version = null

web\UrlRule getNormalizer()

getNormalizer() protected method (available since version 2.0.10) protected yii\web\UrlNormalizer|null getNormalizer ( $manager )$manager yii\web\UrlManager The URL manager

i18n\DbMessageSource loadMessages()

loadMessages() protected method Loads the message translation for the specified language and category. If translation for specific locale code such as en-US isn't found it tries more generic en. protected array loadMessages ( $category, $language )$category string The message category $language string The target language return array The loaded messages. The keys are original messages, and the values are translated messages.

web\SessionIterator key()

key() public method Returns the key of the current array element. This method is required by the interface Iterator. public mixed key ( )return mixed The key of the current array element

web\Request $bodyParams

$bodyParams public property The request parameters given in the request body. public array getBodyParams ( )public void setBodyParams ( $values )

debug\Panel getDetail()

getDetail() public method public string getDetail ( )return string Content that is displayed in debugger detail view

debug\TimelineAsset $css

$css public property public $css = ['timeline.css']

web\UrlManager addRules()

addRules() public method Adds additional URL rules. This method will call buildRules() to parse the given rule declarations and then append or insert them to the existing $rules. Note that if $enablePrettyUrl is false, this method will do nothing. public void addRules ( $rules, $append = true )$rules array The new rules to be added. Each array element represents a single rule declaration. Please refer to $rules for the acceptable rule format. $append boolean Whether to add the new rule

validators\Validator addError()

addError() public method Adds an error about the specified attribute to the model object. This is a helper method that performs message selection and internationalization. public void addError ( $model, $attribute, $message, $params = [] )$model yii\base\Model The data model being validated $attribute string The attribute being validated $message string The error message $params array Values for the placeholders in the error message