Bouncy Melons 0.2
declarative style orm
Public Member Functions | Data Fields
DatetimeField Class Reference
Inheritance diagram for DatetimeField:
Field IField

Public Member Functions

 beforeSet ($value)
 beforeGet ($value)
- Public Member Functions inherited from Field
 __construct ($name, $title=null, $options=array(), $sqlType=null)
 getName ()
 getTitle ()
 getType ()
 getOption ($key)
 isRequired ()
 getSqlType ()
 beforeGet ($value)
 beforeRead ($value)
 beforeSet ($value)
 setOption ($key, $value)

Data Fields

const DEFAULT_SQL_TYPE = "datetime"

Additional Inherited Members

- Protected Attributes inherited from Field
 $options = []

Detailed Description

Definition at line 5 of file DatetimeField.php.

Member Function Documentation

beforeGet (   $value)

change field value, for editing it later

Implements IField.

Definition at line 12 of file DatetimeField.php.

beforeSet (   $value)

change field value before storing in database, serialize, etc

$nameinitial value
modified value

Implements IField.

Definition at line 8 of file DatetimeField.php.

Field Documentation

const DEFAULT_SQL_TYPE = "datetime"

Definition at line 6 of file DatetimeField.php.

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