Query: apache2::sitecontrol::managerfactory
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Apache2::SiteControl::ManagerFactory(3pm) User Contributed Perl Documentation Apache2::SiteControl::ManagerFactory(3pm)NAMEApache2::SiteControl::ManagerFactory - An abstract base class to use as a pattern for custom PermissionManager production.DESCRIPTIONThis package is a simple abstract base class. Use it as the base for creating your instances of permission managers. For example, package MyManagerFactory; use strict; use Apache2::SiteControl::ManagerFactory; use base qw(Apache2::SiteControl::ManagerFactory); our $manager; sub getPermissionManager { return $manager if(defined($manager) && $manager->isa(Apache2::SiteControl::ManagerFactory)); $manager = new Apache2::SiteControl::PermissionManager; $manager->addRule(new XYZRule); $manager->addRule(new SomeOtherRule); return $manager; } 1;SEE ALSOApache2::SiteControl::PermissionManager, Apache::SiteControl::RuleAUTHORThis module was written by Tony Kay, <tkay@uoregon.edu>.COPYRIGHT AND LICENSEperl v5.14.2 2006-03-17 Apache2::SiteControl::ManagerFactory(3pm)