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

Public Member Functions

 __construct ($value, $type)
 getType ()
 getValue ()

Detailed Description

Database value interface

Constructor & Destructor Documentation

__construct (   $value,

Constructor creates an instance with specified type and value. Type must match the actual type of the value parameter. This object will not explicitly cast the type.

$valuemixed value of the object
$typeint type of the value
DBExceptionwhen specified type and actual type do not match
DBExceptionwhen invalid type is supplied

Implemented in Value.

Member Function Documentation

getType ( )

Returns the value type

integer value type

Implemented in Value.

getValue ( )

Returns value

mixed value

Implemented in Value.

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