UrlFilterException example

continue;
            }

            // Check if no filters exist at all             if (!$filters) {
                return $urls;
            }

            $filterHandler = $this->getFilterHandler($url->getResource());

            if (!$filterHandler) {
                throw new UrlFilterException(sprintf('No handler known for resource \'%s\'.', $url->getResource()));
            }

            if ($filterHandler->isFiltered($url->getIdentifier()$filters)) {
                continue;
            }

            $filteredUrls[] = $url;
        }

        return $filteredUrls;
    }

    
Home | Imprint | This part of the site doesn't use cookies.