Class app\modules\shop\models\Status
| Inheritance | app\modules\shop\models\Status » common\db\ActiveRecord » yii\db\ActiveRecord |
|---|---|
| Uses Traits | app\modules\main\components\PermissionTrait, common\db\CreatedAtSearchTrait |
Class Status Модель статуса заказа
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $tplHtml | string | шаблон письма | app\modules\shop\models\Status |
Protected Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $_baseScenarios | array | common\db\ActiveRecord | |
| $_createdAtFrom | common\db\CreatedAtSearchTrait | ||
| $_createdAtTo | common\db\CreatedAtSearchTrait | ||
| $_defaultSearchOrder | array | значение сортировки по умолчанию | common\db\ActiveRecord |
| $_metaFields | common\db\MetaFields | объект с описанием полей модели | common\db\ActiveRecord |
| $initScenarios | array | массив сценариев при которых инициалихируются начальные значения | common\db\ActiveRecord |
Public Methods
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| DEFAULT_SORT | 500 | Значение сортировки по умолчанию | common\db\ActiveRecord |
| SCENARIO_INSERT | "insert" | Сценарии валидации | common\db\ActiveRecord |
| SCENARIO_SEARCH | "search" | common\db\ActiveRecord | |
| SCENARIO_UPDATE | "update" | common\db\ActiveRecord |
Property Details
Method Details
| void afterFind( ) |
| void afterSave( $insert, $changedAttributes ) | ||
| $insert | ||
| $changedAttributes | ||
| app\modules\shop\db\StatusQuery find( ) |
| string getTplName( ) | ||
| return | string | возвращает имя файла шаблона |
|---|---|---|
Возвращает имя класса содержащего описание полей модели
| string metaClass( ) |
| void tableName( ) |