Class Policy

Description

Base Policy class This is the basic policy implementation The real policy implementation can override what happens by simply providing an implementation of the pre and post connect methods.

This class extends the Common class.

Located in /lib/Policy.php (line 27)

Common
   |
   --Policy
Direct descendents
Class Description
 class Sample Policy File
Method Summary
 void postconnect ()
 void preconnect ()
Variables

Inherited Variables

Inherited from Common

Common::$conf
Common::$db_conn
Common::$logger
Methods
postconnect (line 40)

Default policy is to deny everything

  • throws: Deny
  • access: public
void postconnect ()

Redefined in descendants as:
preconnect (line 32)

Default policy is to deny everything

  • throws: Deny
  • access: public
void preconnect ()

Redefined in descendants as:

Inherited Methods

Inherited From Common

 Common::__construct()
 Common::getConnection()
 Common::htmlescape()
 Common::log2db()
 Common::real_escape_string1()
 Common::sqlescape()

Documentation generated on Mon, 13 Oct 2008 01:10:40 +0200 by phpDocumentor 1.4.0