RT 3.8.17 Documentation

RT

Go to latest version →

NAME

RT - Request Tracker

SYNOPSIS

A fully featured request tracker package

DESCRIPTION

INITIALIZATION

LoadConfig

Load RT's config file. First, the site configuration file (RT_SiteConfig.pm) is loaded, in order to establish overall site settings like hostname and name of RT instance. Then, the core configuration file (RT_Config.pm) is loaded to set fallback values for all settings; it bases some values on settings from the site configuration file.

In order for the core configuration to not override the site's settings, the function Set is used; it only sets values if they have not been set already.

Init

"ConnectToDatabase" in Connect to the database , "InitSystemObjects" in initilizes system objects , "InitClasses" in preloads classes and "InitLogging" in set up logging .

ConnectToDatabase

Get a database connection. See also </Handle>.

InitLogging

Create the Logger object and set up signal handlers.

InitClasses

Load all modules that define base classes.

InitSystemObjects

Initializes system objects: $RT::System, $RT::SystemUser and $RT::Nobody.

CLASS METHODS

Config

Returns the current "config object RT::Config", but note that you must "LoadConfig" in load config first otherwise this method returns undef.

Method can be called as class method.

DatabaseHandle

Returns the current "database handle object RT::Handle".

See also "ConnectToDatabase".

Logger

Returns the logger. See also "InitLogging".

System

Returns the current "system object RT::System". See also "InitSystemObjects".

SystemUser

Returns the system user's object, it's object of RT::CurrentUser class that represents the system. See also "InitSystemObjects".

Nobody

Returns object of Nobody. It's object of RT::CurrentUser class that represents a user who can own ticket and nothing else. See also "InitSystemObjects".

Plugins

Returns a listref of all Plugins currently configured for this RT instance. You can define plugins by adding them to the @Plugins list in your RT_SiteConfig

PluginDirs

Takes optional subdir (e.g. po, lib, etc.) and return plugins' dirs that exist.

This code chacke plugins names or anything else and required when main config is loaded to load plugins' configs.

InitPluginPaths

Push plugins' lib paths into @INC right after local/lib. In case local/lib isn't in @INC, append them to @INC

InitPlugins

Initialze all Plugins found in the RT configuration file, setting up their lib and HTML::Mason component roots.

BUGS

Please report them to rt-bugs@bestpractical.com, if you know what's broken and have at least some idea of what needs to be fixed.

If you're not sure what's going on, report them rt-devel@lists.bestpractical.com.

SEE ALSO

RT::StyleGuide DBIx::SearchBuilder

← Back to index