25 lines
373 B
PHP
Executable File
25 lines
373 B
PHP
Executable File
<?php
|
|
|
|
namespace backend\modules\news;
|
|
|
|
/**
|
|
* news module definition class
|
|
*/
|
|
class News extends \yii\base\Module
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public $controllerNamespace = 'app\modules\news\controllers';
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function init()
|
|
{
|
|
parent::init();
|
|
|
|
// custom initialization code goes here
|
|
}
|
|
}
|