spoof
 All Data Structures Namespaces Files Functions Variables Pages
Store Class Reference
Inheritance diagram for Store:
Collaboration diagram for Store:

Public Member Functions

 getName ()
 getDB ()
 setName ($name)
 setDB ($db)
 getExecutor ()
 getLanguage ()

Protected Attributes

 $name
 $db
 $executor
 $language

Detailed Description

Abstract class that implements database storage interface


Member Function Documentation

getDB ( )

Returns the connection alias of the table.

Returns:
string connection alias

Implements IStore.

getExecutor ( )

Returns name of the query executor. The driver executor is returned, unless it is overriden by the storage object.

Returns:
object

Implements IStore.

Here is the caller graph for this function:

getLanguage ( )

Returns name of the query language. The driver language is returned, unless it is overriden by the storage object.

Returns:
object

Implements IStore.

Here is the caller graph for this function:

getName ( )

Returns the name of the table.

Returns:
string table name

Implements IStore.

setDB (   $db)

Set the database connection alias of the table.

Parameters:
string$dbdatabase alias

Implements IStore.

setName (   $name)

Set the name of the table.

Parameters:
string$nametable name

Implements IStore.


Field Documentation

$db
protected

Database connection alias. Extending classes will need to set the actual database connection alias for use with the connection pooling implementation.

$executor
protected

Optional query executor name. If specified this will override the executor provided by the connection driver.

$language
protected

Optional database query language. If specified this will override the language specified with the connection driver.

$name
protected

Data store name. Extending classes will need to set the actual data store or table name. This name will be set as a value of the type attribute of the record object returned from this class.


The documentation for this class was generated from the following file: