@@ 1321-1325 (lines=5) @@ | ||
1318 | public static function register_forward($route = null, $status = 0, $forward = null, $key = 'ee') |
|
1319 | { |
|
1320 | do_action('AHEE__EE_Config__register_forward', $route, $status, $forward); |
|
1321 | if (! isset(EE_Config::$_module_route_map[ $key ][ $route ]) || empty($route)) { |
|
1322 | $msg = sprintf( |
|
1323 | __('The module route %s for this forward has not been registered.', 'event_espresso'), |
|
1324 | $route |
|
1325 | ); |
|
1326 | EE_Error::add_error($msg . '||' . $msg, __FILE__, __FUNCTION__, __LINE__); |
|
1327 | return false; |
|
1328 | } |
|
@@ 1406-1410 (lines=5) @@ | ||
1403 | public static function register_view($route = null, $status = 0, $view = null, $key = 'ee') |
|
1404 | { |
|
1405 | do_action('AHEE__EE_Config__register_view__begin', $route, $status, $view); |
|
1406 | if (! isset(EE_Config::$_module_route_map[ $key ][ $route ]) || empty($route)) { |
|
1407 | $msg = sprintf( |
|
1408 | __('The module route %s for this view has not been registered.', 'event_espresso'), |
|
1409 | $route |
|
1410 | ); |
|
1411 | EE_Error::add_error($msg . '||' . $msg, __FILE__, __FUNCTION__, __LINE__); |
|
1412 | return false; |
|
1413 | } |