| 1 | <?php |
||
| 4 | class CMSPageAddController_Products extends CMSPageAddController |
||
| 5 | { |
||
| 6 | private static $url_segment = 'addproductorproductgroup'; |
||
|
|
|||
| 7 | |||
| 8 | private static $url_rule = '/$Action/$ID/$OtherID'; |
||
| 9 | |||
| 10 | private static $url_priority = 41; |
||
| 11 | |||
| 12 | private static $menu_title = 'Add Product'; |
||
| 13 | |||
| 14 | private static $required_permission_codes = 'CMS_ACCESS_CMSMain'; |
||
| 15 | |||
| 16 | private static $allowed_actions = array( |
||
| 17 | 'AddForm', |
||
| 18 | 'doAdd', |
||
| 19 | 'doCancel', |
||
| 20 | ); |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * the class of the page that is the root parent for the shop. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private static $root_parent_class_for_adding_page = 'ProductGroupSearchPage'; |
||
| 29 | |||
| 30 | |||
| 31 | public function doCancel($data, $form) |
||
| 35 | |||
| 36 | |||
| 37 | /** |
||
| 38 | * @return ArrayList |
||
| 39 | */ |
||
| 40 | public function PageTypes() |
||
| 62 | } |
||
| 63 |