| 1 | <?php |
||
| 22 | class Module extends \yii\base\Module |
||
| 23 | { |
||
| 24 | const CONSOLE_CONTROLLER_MAP = [ |
||
| 25 | 'create' => [ |
||
| 26 | 'class' => 'assayerpro\sitemap\console\CreateController', |
||
| 27 | ], |
||
| 28 | ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * sitemap |
||
| 32 | * |
||
| 33 | * @var mixed |
||
| 34 | * @access private |
||
| 35 | */ |
||
| 36 | private $_sitemap = null; |
||
| 37 | /** |
||
| 38 | * The namespace that controller classes are in. |
||
| 39 | * |
||
| 40 | * @var string |
||
| 41 | * @access public |
||
| 42 | */ |
||
| 43 | public $controllerNamespace = 'assayerpro\sitemap\controllers'; |
||
| 44 | |||
| 45 | 6 | public function init() |
|
| 52 | |||
| 53 | |||
| 54 | /** |
||
| 55 | * setSitemap |
||
| 56 | * |
||
| 57 | * @param mixed $sitemap |
||
| 58 | * @access public |
||
| 59 | * @return void |
||
| 60 | */ |
||
| 61 | 1 | public function setSitemap($sitemap) { |
|
| 65 | |||
| 66 | /** |
||
| 67 | * getSitemap |
||
| 68 | * |
||
| 69 | * @access public |
||
| 70 | * @return void |
||
| 71 | */ |
||
| 72 | 3 | public function getSitemap() { |
|
| 84 | } |
||
| 85 |