Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

route_filter.php
Go to the documentation of this file.
1 <?php
11 abstract class ezpRestRouteFilterInterface
12 {
19 abstract public function shallDoActionWithRoute( ezcMvcRoutingInformation $routeInfo );
20
28 public static function getRouteFilter()
29 {
30 $opt = new ezpExtensionOptions();
31 $opt->iniFile = 'rest.ini';
32 $opt->iniSection = 'RouteSettings';
33 $opt->iniVariable = 'RouteSettingImpl';
34
35 $routeSecurityFilterInstance = eZExtension::getHandlerClass( $opt );
36
37 if ( ! $routeSecurityFilterInstance instanceof self )
38 {
39 throw new ezpRestRouteSecurityFilterNotFoundException();
40 }
41
42 return $routeSecurityFilterInstance;
43 }
44 }
eZExtension\getHandlerClass
static getHandlerClass(ezpExtensionOptions $options)
Definition: ezextension.php:480
ezpExtensionOptions
Definition: ezpextensionoptions.php:59
ezpRestRouteFilterInterface
Definition: route_filter.php:12
ezpRestRouteFilterInterface\shallDoActionWithRoute
shallDoActionWithRoute(ezcMvcRoutingInformation $routeInfo)
ezpRestRouteFilterInterface\getRouteFilter
static getRouteFilter()
Definition: route_filter.php:28
ezpRestRouteSecurityFilterNotFoundException
Definition: route_security_filter_not_found.php:13
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.