1 | <?php |
||
21 | class Route extends BaseRoute |
||
22 | { |
||
23 | const TYPE_SHOP_CATEGORY = 'shop_category'; |
||
24 | const TYPE_PRODUCT = 'product'; |
||
25 | const TYPE_CATEGORY = 'category'; |
||
26 | const TYPE_PAGE = 'page'; |
||
27 | const TYPE_MAIN = 'main'; |
||
28 | const TYPE_MODULE = 'module'; |
||
29 | |||
30 | /** |
||
31 | * @param string $newParentUrl |
||
32 | * @param string $newUrl |
||
33 | */ |
||
34 | public function updateUrlRecursive($newParentUrl, $newUrl) { |
||
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | public function getRouteUrl() { |
||
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getFullUrl() { |
||
61 | |||
62 | /** |
||
63 | * @return Route[]|ObjectCollection |
||
64 | */ |
||
65 | public function getPathRoutes() { |
||
80 | |||
81 | /** |
||
82 | * @param string $url |
||
83 | * @param string $parentUrl |
||
84 | * @param int $type |
||
85 | * @return string |
||
86 | */ |
||
87 | public static function createRouteUrl($url, $parentUrl, $type) { |
||
109 | |||
110 | } |