Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class Module extends \yii\base\Module |
||
13 | { |
||
14 | /** |
||
15 | * @var string the class name of the [[identity]] object |
||
16 | */ |
||
17 | public $userIdentityClass; |
||
18 | |||
19 | /** |
||
20 | * @var string the class name of the comment model object, by default its yii2mod\comments\models\CommentModel |
||
21 | */ |
||
22 | public $commentModelClass = 'yii2mod\comments\models\CommentModel'; |
||
23 | |||
24 | /** |
||
25 | * @var string the namespace that controller classes are in |
||
26 | */ |
||
27 | public $controllerNamespace = 'yii2mod\comments\controllers'; |
||
28 | |||
29 | /** |
||
30 | * @var bool when admin can edit comments on frontend |
||
31 | */ |
||
32 | public $enableInlineEdit = false; |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function init() |
||
46 |