[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 289 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Router:: (11 methods):
__construct()
setOptions()
setOption()
getOption()
getRouteCollection()
setContext()
getContext()
generate()
match()
getMatcher()
getGenerator()
__construct(LoaderInterface $loader, $resource, array $options = array() X-Ref |
Constructor. param: LoaderInterface $loader A LoaderInterface instance param: mixed $resource The main resource to load param: array $options An array of options param: RequestContext $context The context param: LoggerInterface $logger A logger instance |
setOptions(array $options) X-Ref |
Sets options. Available options: * cache_dir: The cache directory (or null to disable caching) * debug: Whether to enable debugging or not (false by default) * resource_type: Type hint for the main resource (optional) param: array $options An array of options |
setOption($key, $value) X-Ref |
Sets an option. param: string $key The key param: mixed $value The value |
getOption($key) X-Ref |
Gets an option value. param: string $key The key return: mixed The value |
getRouteCollection() X-Ref |
{@inheritdoc} |
setContext(RequestContext $context) X-Ref |
{@inheritdoc} |
getContext() X-Ref |
{@inheritdoc} |
generate($name, $parameters = array() X-Ref |
{@inheritdoc} |
match($pathinfo) X-Ref |
{@inheritdoc} |
getMatcher() X-Ref |
Gets the UrlMatcher instance associated with this Router. return: UrlMatcherInterface A UrlMatcherInterface instance |
getGenerator() X-Ref |
Gets the UrlGenerator instance associated with this Router. return: UrlGeneratorInterface A UrlGeneratorInterface instance |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |