b224f0ae
Alexey Boroda
Changes:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
namespace common\models;
use common\modules\comment\models\CommentModel;
use yii\base\Model;
/**
* This is the model class for table "Comments".
*
*/
class Comments extends Model
{
public $id;
// public function getComments()
// {
// return CommentModel::find()
// ->where([
// 'entity_id' => 'id',
// 'artbox_comment.entity' => self::className(),
// 'artbox_comment.status' => CommentModel::STATUS_ACTIVE,
// 'artbox_comment.artbox_comment_pid' => NULL
// ]);
// }
}
|