1 | <?php |
||
24 | class CreateController extends Controller |
||
25 | { |
||
26 | /** |
||
27 | * @inheritdoc |
||
28 | */ |
||
29 | public $defaultAction = 'create'; |
||
30 | |||
31 | /** |
||
32 | * @var string folder for sitemaps files |
||
33 | */ |
||
34 | public $rootDir = '@webroot'; |
||
35 | |||
36 | /** |
||
37 | * @var string sitemap main file name |
||
38 | */ |
||
39 | public $sitemapFile = 'sitemap.xml'; |
||
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | public function options($actionID) |
||
48 | |||
49 | /** |
||
50 | * Generate sitemap.xml file |
||
51 | * |
||
52 | * @access public |
||
53 | * @return integer |
||
54 | */ |
||
55 | public function actionCreate() |
||
73 | } |
||
74 |