[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/phpbb/routing/ -> helper.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 162 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

helper:: (2 methods):
  __construct()
  route()


Class: helper  - X-Ref

Controller helper class, contains methods that do things for controllers

__construct(\phpbb\config\config $config, \phpbb\routing\router $router, \phpbb\symfony_request $symfony_request, \phpbb\request\request_interface $request, \phpbb\filesystem\filesystem $filesystem, $phpbb_root_path, $php_ext)   X-Ref
Constructor

param: \phpbb\config\config $config Config object
param: \phpbb\routing\router $router phpBB router
param: \phpbb\symfony_request $symfony_request Symfony Request object
param: \phpbb\request\request_interface $request phpBB request object
param: \phpbb\filesystem\filesystem $filesystem The filesystem object
param: string $phpbb_root_path phpBB root path
param: string $php_ext PHP file extension

route($route, array $params = array()   X-Ref
Generate a URL to a route

return: string The URL already passed through append_sid()
param: string    $route        Name of the route to travel
param: array    $params        String or array of additional url parameters
param: bool    $is_amp        Is url using & (true) or & (false)
param: string|bool        $session_id    Possibility to use a custom session id instead of the global one
param: bool|string        $reference_type The type of reference to be generated (one of the constants)



Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1