phpPoA2
[ class tree: phpPoA2 ] [ index: phpPoA2 ] [ all elements ]

Class: PAPIMySQLDB

Source Location: /lib/authn/PAPIMySQLDB.php

Class Overview

GenericDB
   |
   --GenericMySQLDB
      |
      --PAPIMySQLDB

MySQL database frontend for the PAPI Authentication Engine.


Implements interfaces:

Variables

Methods


Inherited Variables

Inherited Methods

Class: GenericMySQLDB

GenericMySQLDB::check()
GenericMySQLDB::close()
GenericMySQLDB::configure()
GenericMySQLDB::delete()
GenericMySQLDB::fetch()
GenericMySQLDB::fetch_all()
GenericMySQLDB::getError()
GenericMySQLDB::open()
GenericMySQLDB::replace()

Class: GenericDB

GenericDB::__construct()
Main constructor.
GenericDB::check()
Checks if the specified key exists in the database.
GenericDB::close()
Closes the database.
GenericDB::configure()
Configure the database handler.
GenericDB::delete()
Removes the specified key from the database.
GenericDB::fetch()
Gets the value of the specified key.
GenericDB::fetch_all()
Gets all the contents stored in the database.
GenericDB::open()
Opens the database.
GenericDB::replace()
Replaces the specified key with a new value. If the key does not exist previously, it will be created.

Class Details

[line 33]
MySQL database frontend for the PAPI Authentication Engine.



[ Top ]


Class Variables

$context =

[line 35]



Tags:

access:  protected

Type:   mixed


[ Top ]

$prefix =  "papi_"

[line 36]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


constructor __construct [line 38]

PAPIMySQLDB __construct( $cfg)



Tags:

access:  public


Overrides GenericDB::__construct() (Main constructor.)

Parameters:

   $cfg  

[ Top ]

method fetch [line 76]

void fetch( $key)



Tags:

access:  public


Overrides GenericMySQLDB::fetch() (parent method not documented)

Parameters:

   $key  

[ Top ]

method replaceContents [line 53]

void replaceContents( $key, $get, $post, $request, $query, $method, $input, $hli)



Tags:

access:  public



Implementation of:
PAPIDB::replaceContents()

Parameters:

   $key  
   $get  
   $post  
   $request  
   $query  
   $method  
   $input  
   $hli  

[ Top ]


Documentation generated on Tue, 25 Jan 2011 11:24:36 +0100 by phpDocumentor 1.4.3