GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gungho::Component(3) User Contributed Perl Documentation Gungho::Component(3)

Gungho::Component - Component Base Class For Gungho

  package MyComponent;
  use base qw(Gungho::Component);

  # in your conf
  ---
  components:
    - +MyComponent
    - Authentication::Basic

Gungho::Component is yet another way to modify Gungho's behavior. It differs from plugins in that it adds directly to Gungho's internals via subclassing. Plugins are called from various hooks, but components can directly interfere and/or add functionality to Gungho.

To add a new component, just create a Gungho::Component subclass, and add it in your config. Gungho will ensure that it is loaded and setup.

Returns the name of the feature that this component provides. By default it's the package name with "Gungho::Component::" stripped out.
2007-11-12 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.