Commit 4b714a39 authored by Shakarim Sapa's avatar Shakarim Sapa

- Изменили наследование модели

parent 64aa9c88
......@@ -6,6 +6,7 @@ use common\models\Settings;
use common\modules\users\models\User;
use Yii;
use \common\modules\testings\models\Session;
use \common\components\ActiveRecordModel;
/**
* This is the model class for table "blog_bids".
......@@ -14,8 +15,7 @@ use \common\modules\testings\models\Session;
* @property string $email
* @property string $date
*/
class BlogBids extends \yii\db\ActiveRecord
{
class BlogBids extends ActiveRecordModel {
/**
* @inheritdoc
*/
......@@ -24,6 +24,13 @@ class BlogBids extends \yii\db\ActiveRecord
return 'blog_bids';
}
/**
* @inheritdoc
*/
public function name() {
return 'Подписка на блог';
}
/**
* @inheritdoc
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment