@@ 1437-1443 (lines=7) @@ | ||
1434 | * @param string $key - url param key indicating a route is being called |
|
1435 | * @return string |
|
1436 | */ |
|
1437 | public static function get_forward( $route = null, $status = 0, $key = 'ee' ) { |
|
1438 | do_action( 'AHEE__EE_Config__get_forward__begin', $route, $status ); |
|
1439 | if ( isset( EE_Config::$_module_forward_map[ $key ][ $route ][ $status ] ) ) { |
|
1440 | return apply_filters( |
|
1441 | 'FHEE__EE_Config__get_forward', |
|
1442 | EE_Config::$_module_forward_map[ $key ][ $route ][ $status ], |
|
1443 | $route, |
|
1444 | $status |
|
1445 | ); |
|
1446 | } |
|
@@ 1501-1507 (lines=7) @@ | ||
1498 | * @param string $key - url param key indicating a route is being called |
|
1499 | * @return string |
|
1500 | */ |
|
1501 | public static function get_view( $route = null, $status = 0, $key = 'ee' ) { |
|
1502 | do_action( 'AHEE__EE_Config__get_view__begin', $route, $status ); |
|
1503 | if ( isset( EE_Config::$_module_view_map[ $key ][ $route ][ $status ] ) ) { |
|
1504 | return apply_filters( |
|
1505 | 'FHEE__EE_Config__get_view', |
|
1506 | EE_Config::$_module_view_map[ $key ][ $route ][ $status ], |
|
1507 | $route, |
|
1508 | $status |
|
1509 | ); |
|
1510 | } |