Developer
User Docs ↗
You are viewing documentation for RT 4.4.2, which is end-of-life and no longer supported. The current release is 6.0.4 (view the current version of this page).
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.

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.

← Back to index