RT 4.2.17 Documentation

RT::Interface::Web::Request

Go to latest version →

callback

Takes hash with optional CallbackPage, CallbackName and CallbackOnce arguments, other arguments are passed throught to callback components.

CallbackPage

Page path relative to the root, leading slash is mandatory. By default is equal to path of the caller component.

CallbackName

Name of the callback. Default is used unless specified.

CallbackOnce

By default is false, otherwise runs callbacks only once per process of the server. Such callbacks can be used to fill structures.

Searches for callback components in /Callbacks/<any dir>/CallbackPage/CallbackName, for example /Callbacks/MyExtension/autohandler/Default would be called as default callback for /autohandler.

request_path

Returns path of the request.

Very close to $m->request_comp->path, but if called in a dhandler returns path of the request without dhandler name, but with dhandler arguments instead.

abort

Logs any recorded SQL statements for this request before calling the standard abort.

← Back to index