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