kernel/private/rest/classes/interfaces/route_filter.php
public static function getRouteFilter()
    {
        $opt = new ezpExtensionOptions();
        $opt->iniFile = 'rest.ini';
        $opt->iniSection = 'RouteSettings';
        $opt->iniVariable = 'RouteSettingImpl';

        $routeSecurityFilterInstance = eZExtension::getHandlerClass( $opt );

        if ( ! $routeSecurityFilterInstance instanceof self )
        {
            throw new ezpRestRouteSecurityFilterNotFoundException();
        }

        return $routeSecurityFilterInstance;
    }
public static function getRouteFilter()
    {
        $opt = new ezpExtensionOptions();
        $opt->iniFile = 'rest.ini';
        $opt->iniSection = 'RouteSettings';
        $opt->iniVariable = 'RouteSettingImpl';

        $routeSecurityFilterInstance = eZExtension::getHandlerClass( $opt );

        if ( ! $routeSecurityFilterInstance instanceof self )
        {
            throw new ezpRestRouteSecurityFilterNotFoundException();
        }

        return $routeSecurityFilterInstance;
    }
public static function getRouteFilter ( ) { $ opt = new ezpExtensionOptions ( ) ; $ opt -> iniFile = 'rest.ini' ; $ opt -> iniSection = 'RouteSettings' ; $ opt -> iniVariable = 'RouteSettingImpl' ; $ routeSecurityFilterInstance = eZExtension :: getHandlerClass ( $ opt ) ; if ( ! $ routeSecurityFilterInstance instanceof self ) { throw new ezpRestRouteSecurityFilterNotFoundException ( ) ; } return $ routeSecurityFilterInstance ; }
Returns the currently configured class for handling Route security.

@static
@throws ezpRestRouteSecurityFilterNotFoundException
@return ezpRestRouteFilterInterface
Returns the currently configured class for handling Route security .