1 | <?php |
||
17 | class AdPosition extends \yii\db\ActiveRecord |
||
18 | { |
||
19 | const STATUS_ACTIVE = 1; |
||
20 | const STATUS_INACTIVE = 0; |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | 5 | public static function tableName() |
|
29 | |||
30 | /** |
||
31 | * @inheritdoc |
||
32 | */ |
||
33 | 5 | public function rules() |
|
42 | |||
43 | /** |
||
44 | * @inheritdoc |
||
45 | */ |
||
46 | 1 | public function attributeLabels() |
|
56 | |||
57 | /** |
||
58 | * @return \yii\db\ActiveQuery |
||
59 | */ |
||
60 | 1 | public function getAds() |
|
64 | |||
65 | /** |
||
66 | * 状态列表 |
||
67 | * @return array |
||
68 | */ |
||
69 | 1 | public static function getStatusList() |
|
76 | } |
||
77 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.