widgets\MaskedInput $aliases

$aliases public property Custom aliases to use. Should be configured as maskAlias => settings, where maskAlias is a string containing a text to identify your mask alias definition (e.g. 'phone') and settings is an array containing settings for the mask symbol, exactly similar to parameters as passed in $clientOptions. public array $aliases = null

Application Components

Bootstrapping Components Core Application Components Applications are service locators. They host a set of the so-called application components that provide different services for processing requests. For example, the urlManager component is responsible for routing Web requests to appropriate controllers; the db component provides DB-related services; and so on. Each application component has an ID that uniquely identifies itself among other application components in the same application. You

log\Dispatcher setLogger()

setLogger() public method Sets the connected logger. public void setLogger ( $value )$value yii\log\Logger|string|array The logger to be used. This can either be a logger instance or a configuration that will be used to create one using Yii::createObject().

web\User $identityCookie

$identityCookie public property The configuration of the identity cookie. This property is used only when $enableAutoLogin is true. See also yii\web\Cookie. public array $identityCookie = ['name' => '_identity', 'httpOnly' => true]

db\QueryInterface filterWhere()

filterWhere() public abstract method Sets the WHERE part of the query ignoring empty parameters. See also: andFilterWhere() orFilterWhere() public abstract $this filterWhere ( array $condition )$condition array The conditions that should be put in the WHERE part. Please refer to where() on how to specify this parameter. return $this The query object itself

widgets\MaskedInput $options

$options public property The HTML attributes for the input tag. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = ['class' => 'form-control']

db\ActiveRecordInterface insert()

insert() public abstract method Inserts the record into the database using the attribute values of this record. Usage example: $customer = new Customer; $customer->name = $name; $customer->email = $email; $customer->insert(); public abstract boolean insert ( $runValidation = true, $attributes = null )$runValidation boolean Whether to perform validation (calling \yii\db\Model::validate()) before saving the record. Defaults to true. If the validation fails, the record will not be

base\Model load()

load() public method Populates the model with input data. This method provides a convenient shortcut for: if (isset($_POST['FormName'])) { $model->attributes = $_POST['FormName']; if ($model->save()) { // handle success } } which, with load() can be written as: if ($model->load($_POST) && $model->save()) { // handle success } load() gets the 'FormName' from the model's formName() method (which you may override), unless the $formName parameter is

base\View renderDynamic()

renderDynamic() public method Renders dynamic content returned by the given PHP statements. This method is mainly used together with content caching (fragment caching and page caching) when some portions of the content (called dynamic content) should not be cached. The dynamic content must be returned by some PHP statements. public string renderDynamic ( $statements )$statements string The PHP statements for generating the dynamic content. return string The placeholder of the dynamic c

behaviors\AttributeTypecastBehavior $skipOnNull

$skipOnNull public property Whether to skip typecasting of null values. If enabled attribute value which equals to null will not be type-casted (e.g. null remains null), otherwise it will be converted according to the type configured at $attributeTypes. public boolean $skipOnNull = true