Developer
User Docs ↗ Star uson GitHub
You are viewing documentation for RT 5.0.0, an older supported release. The current release is 6.0.4 (view the current version of this page).

NAME

RT::Plugin

METHODS

new

Instantiate a new RT::Plugin object. Takes a paramhash. currently the only key it cares about is 'name', the name of this plugin.

Name

Returns a human-readable name for this plugin.

Version

Returns the extension version.

Path

Takes a name of sub directory and returns its full path, for example:

    my $plugin_etc_dir = $plugin->Path('etc');

See also "ComponentRoot", "StaticDir", "PoDir" and other shortcut methods.

ComponentRoot

Returns the directory this plugin has installed its HTML::Mason templates into

StaticDir

Returns the directory this plugin has installed its static files into

PoDir

Returns the directory this plugin has installed its message catalogs into.

Still need help?Get answers from the team behind Request Tracker.

← Back to index