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

Class: AuthorizedDBADB

Source Location: /lib/authz/AuthorizedDBADB.php

Class Overview

GenericDB
   |
   --DBADB
      |
      --AuthorizedDBADB

Authorization lists 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]
Authorization lists binding to a Berkeley DB backend.



[ Top ]


Class Variables

$authorized =

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mandatory_options = array("AuthorizedDBFile")

[line 34]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


method fetch [line 51]

void fetch( $key)



Tags:

access:  public


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

Parameters:

   $key  

[ Top ]

method fetch_all [line 61]

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_authorization [line 41]

void replace_authorization( $alias, $attributes, $email, $expires)



Tags:

access:  public



Implementation of:
AuthorizedDB::replace_authorization()

Parameters:

   $alias  
   $attributes  
   $email  
   $expires  

[ Top ]


Documentation generated on Tue, 14 Jun 2011 12:22:06 +0200 by phpDocumentor 1.4.3