Redirector interface class.

package net.nemein.redirector

 Methods

_can_handle_redirect (mixed $handler_id, array $args, array $data)

Check for hijacked URL space

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

Returns

booleanIndicating success.

_handler_redirect (mixed $handler_id, array $args, array $data)

Process the redirect request

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_on_handle ($handler_id, $args)

Add creation link

Parameters

$handler_id

$args

_on_initialize ()

Initialization script, which sets the request switches

_show_redirect (string $handler_id, array $data)

Show redirection page.

Parameters

$handler_id

stringHandler ID

$data

array&$data Pass-by-reference of request data