spoof
 All Data Structures Namespaces Files Functions Variables Pages
IRecord Interface Reference
Inheritance diagram for IRecord:

Public Member Functions

 __construct ($type= 'Record')
 __set ($key, $value)
 __get ($key)
 toXML ()

Detailed Description

Database record interface. This interface is used to define database data record.


Constructor & Destructor Documentation

__construct (   $type = 'Record')

Constructor.

Parameters:
string$typeoptional type, default 'Record'

Implemented in Record.


Member Function Documentation

__get (   $key)

Gets associated value of the supplied key.

Parameters:
string$key
Returns:
mixed associated value
Exceptions:
OutOfBoundsExceptionwhen key doesn't exist

Implemented in Record.

__set (   $key,
  $value 
)

Sets key-value association.

Parameters:
string$key
mixed$value

Implemented in Record.

toXML ( )

Transforms object into XML representation.

Returns:
DOMDocument XML document object

Implemented in Record.


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