@@ 1354-1358 (lines=5) @@ | ||
1351 | public static function register_forward($route = null, $status = 0, $forward = null, $key = 'ee') |
|
1352 | { |
|
1353 | do_action('AHEE__EE_Config__register_forward', $route, $status, $forward); |
|
1354 | if (! isset(EE_Config::$_module_route_map[$key][$route]) || empty($route)) { |
|
1355 | $msg = sprintf( |
|
1356 | __('The module route %s for this forward has not been registered.', 'event_espresso'), |
|
1357 | $route |
|
1358 | ); |
|
1359 | EE_Error::add_error($msg . '||' . $msg, __FILE__, __FUNCTION__, __LINE__); |
|
1360 | return false; |
|
1361 | } |
|
@@ 1441-1445 (lines=5) @@ | ||
1438 | public static function register_view($route = null, $status = 0, $view = null, $key = 'ee') |
|
1439 | { |
|
1440 | do_action('AHEE__EE_Config__register_view__begin', $route, $status, $view); |
|
1441 | if (! isset(EE_Config::$_module_route_map[$key][$route]) || empty($route)) { |
|
1442 | $msg = sprintf( |
|
1443 | __('The module route %s for this view has not been registered.', 'event_espresso'), |
|
1444 | $route |
|
1445 | ); |
|
1446 | EE_Error::add_error($msg . '||' . $msg, __FILE__, __FUNCTION__, __LINE__); |
|
1447 | return false; |
|
1448 | } |