Changeset 22760
- Timestamp:
- 07/01/09 15:51:26 (1 year ago)
- Files:
-
- trunk/midcom/midcom_core/services/dispatcher.php (modified) (1 diff)
- trunk/midcom/midcom_core/services/dispatcher/manual.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom_core/services/dispatcher.php
r20604 r22760 30 30 31 31 public function generate_url($route_id, array $args); 32 33 private function is_core_route($route_id); 32 34 } 33 35 ?> trunk/midcom/midcom_core/services/dispatcher/manual.php
r22563 r22760 290 290 } 291 291 292 private function is_core_route($route_id) 293 { 294 if (!isset($_MIDCOM->context->component_routes)) 295 { 296 return false; 297 } 298 if (isset($_MIDCOM->context->component_routes[$route_id])) 299 { 300 return false; 301 } 302 303 return true; 304 } 305 292 306 /** 293 307 * Generates an URL for given route_id with given arguments
