1 | <?php |
||
34 | class OrganizationSetting extends BaseBlameableModel |
||
35 | { |
||
36 | use OperatorTrait; |
||
37 | /** |
||
38 | * @var string Host class. |
||
39 | * You must assign with your own [[Organization]] class. |
||
40 | */ |
||
41 | public $hostClass = Organization::class; |
||
42 | |||
43 | public $idAttribute = 'item'; |
||
44 | public $idPreassigned = true; |
||
45 | public $createdByAttribute = 'organization_guid'; |
||
46 | public $updatedByAttribute = false; |
||
47 | public $enableIP = false; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | public $contentAttribute = 'value'; |
||
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | */ |
||
57 | 31 | public static function tableName() |
|
61 | |||
62 | /** |
||
63 | * @inheritdoc |
||
64 | */ |
||
65 | 31 | public function behaviors() |
|
71 | |||
72 | /** |
||
73 | * @inheritdoc |
||
74 | */ |
||
75 | 31 | public function rules() |
|
83 | |||
84 | /** |
||
85 | * @inheritdoc |
||
86 | */ |
||
87 | 31 | public function getContentRules() |
|
93 | |||
94 | /** |
||
95 | * @inheritdoc |
||
96 | */ |
||
97 | public function attributeLabels() |
||
108 | } |
||
109 |