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


Manual Reference Pages  -  GUNGHO::COMPONENT (3)

.ds Aq ’

NAME

Gungho::Component - Component Base Class For Gungho

CONTENTS

SYNOPSIS



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

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



DESCRIPTION

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.

METHODS

feature_name()

Returns the name of the feature that this component provides. By default it’s the package name with Gungho::Component:: stripped out.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GUNGHO::COMPONENT (3) 2007-11-12

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