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

Class: InviteDBADB

Source Location: /lib/authz/InviteDBADB.php

Class Overview

GenericDB
   |
   --DBADB
      |
      --InviteDBADB

Invites binding to a Berkeley DB backend.


Implements interfaces:

Variables

Methods


Inherited Variables

Inherited Methods

Class: DBADB

DBADB::check()
DBADB::close()
DBADB::configure()
DBADB::delete()
DBADB::fetch()
DBADB::fetch_all()
DBADB::open()
DBADB::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 31]
Invites binding to a Berkeley DB backend.



[ Top ]


Class Variables

$invite =

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mandatory_options = array("InvitesDBFile")

[line 34]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


method fetch [line 49]

void fetch( $key)



Tags:

access:  public


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

Parameters:

   $key  

[ Top ]

method fetch_all [line 59]

void fetch_all( )



Tags:

access:  public


Overrides DBADB::fetch_all() (parent method not documented)

[ Top ]

method open [line 36]

void open( )



Tags:

access:  public


Overrides DBADB::open() (parent method not documented)

[ Top ]

method replace_invite [line 41]

void replace_invite( $key, $email, $expires)



Tags:

access:  public



Implementation of:
InviteDB::replace_invite()

Parameters:

   $key  
   $email  
   $expires  

[ Top ]


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