RT 4.4.4 Documentation

RT::Plugin

Go to latest version →

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