mongodb\Query modify()

modify() public method Performs 'findAndModify' query and returns a single row of result. public array|null modify ( $update, $options = [], $db = null )$update array Update criteria $options array List of options in format: optionName => optionValue. $db yii\mongodb\Connection The Mongo connection used to execute the query. return array|null The original document, or the modified document when $options['new'] is set.

i18n\I18N getMessageSource()

getMessageSource() public method Returns the message source for the given category. public yii\i18n\MessageSource getMessageSource ( $category )$category string The category name. return yii\i18n\MessageSource The message source for the given category. throws yii\base\InvalidConfigException if there is no message source available for the specified category.

captcha\CaptchaValidator $skipOnEmpty

$skipOnEmpty public property Whether to skip this validator if the input is empty. public boolean $skipOnEmpty = false

validators\ImageValidator $overHeight

$overHeight public property The error message used when the image is over $maxHeight. You may use the following tokens in the message: {attribute}: the attribute name {file}: the uploaded file name {limit}: the value of $maxHeight public string $overHeight = null

validators\ImageValidator $notImage

$notImage public property The error message used when the uploaded file is not an image. You may use the following tokens in the message: {attribute}: the attribute name {file}: the uploaded file name public string $notImage = null

web\View $cssFiles

$cssFiles public property The registered CSS files. See also registerCssFile(). public array $cssFiles = null

i18n\GettextMessageSource 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. When both are present, the en-US messages will be merged over en. See loadFallbackMessages() for details. If the $language is less specific than $sourceLanguage, the method will try to load the messages for $sourceLanguage. For example: $sourceLanguage is en-GB, $language is en. The method will lo

web\GroupUrlRule createRules()

createRules() protected method Creates the URL rules that should be contained within this composite rule. protected yii\web\UrlRuleInterface[] createRules ( )return yii\web\UrlRuleInterface[] The URL rules

sphinx\Query defaultConnection()

defaultConnection() protected method protected yii\sphinx\Connection defaultConnection ( )return yii\sphinx\Connection Default connection value.

db\Query column()

column() public method Executes the query and returns the first column of the result. public array column ( $db = null )$db yii\db\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return array The first column of the query result. An empty array is returned if the query results in nothing.