widgets\Menu $labelTemplate

$labelTemplate public property The template used to render the body of a menu which is NOT a link. In this template, the token {label} will be replaced with the label of the menu item. This property will be overridden by the template option set in individual menu items via $items. public string $labelTemplate = '{label}'

db\QueryBuilder buildBetweenCondition()

buildBetweenCondition() public method Creates an SQL expressions with the BETWEEN operator. public string buildBetweenCondition ( $operator, $operands, &$params )$operator string The operator to use (e.g. BETWEEN or NOT BETWEEN) $operands array The first operand is the column name. The second and third operands describe the interval that column value should be in. $params array The binding parameters to be populated return string The generated SQL expression throws yii\base\In

web\UploadedFile $size

$size public property The actual size of the uploaded file in bytes public integer $size = null

validators\FileValidator $extensions

$extensions public property A list of file name extensions that are allowed to be uploaded. This can be either an array or a string consisting of file extension names separated by space or comma (e.g. "gif, jpg"). Extension names are case-insensitive. Defaults to null, meaning all file name extensions are allowed. See also $wrongExtension for the customized message for wrong file type. public array|string $extensions = null

widgets\ActiveFormAsset $js

$js public property public $js = ['yii.activeForm.js']

Core Validators

boolean captcha compare date default double each email exist file filter image ip in integer match number required safe string trim unique url Yii provides a set of commonly used core validators, found primarily under the yii\validators namespace. Instead of using lengthy validator class names, you may use aliases to specify the use of these core validators. For example, you can use the alias required to refer to the yii\validators\RequiredValidator class: public function rules() { return

web\Request $isFlash

$isFlash public read-only property Whether this is an Adobe Flash or Adobe Flex request. public boolean getIsFlash ( )

debug\DebugAsset $css

$css public property public $css = ['main.css', 'toolbar.css']

smarty\ViewRenderer $widgets

$widgets public property Widget declarations public array $widgets = ['functions' => [], 'blocks' => []]

caching\XCache setValue()

setValue() protected method Stores a value identified by a key in cache. This is the implementation of the method declared in the parent class. protected boolean setValue ( $key, $value, $duration )$key string The key identifying the value to be cached $value mixed The value to be cached. Most often it's a string. If you have disabled $serializer, it could be something else. $duration integer The number of seconds in which the cached value will expire. 0 means never expire. return b