Bouncy Melons 0.2
declarative style orm
Public Member Functions | Protected Attributes
AutoSingle Class Reference
Inheritance diagram for AutoSingle:
Single ISingle ISingle

Public Member Functions

 declareFields ()
 
 __construct (AutoList $list)
 
 getBm ()
 
 getTableName ()
 
 getSlug ()
 
- Public Member Functions inherited from Single
 declareFields ()
 
 getFields ()
 
 getTitleField ()
 
 getFieldByName ($name)
 
 setData ($data)
 
 getData ()
 
 getDataForSave ()
 
 save ()
 
 remove ()
 
 get ($fieldName)
 
 getAll ()
 
 getRaw ($fieldName)
 
 set ($fieldName, $value)
 
 getId ()
 
 setId ($id)
 
 createTableIfNeeded ()
 
 getTableName ()
 
 getSlug ()
 
 createTable ()
 
 alterTable ()
 
 addField ($field)
 
 updateFieldType ($field)
 
 getBm ()
 
 setBm (BouncyMelons $bm)
 

Protected Attributes

 $list
 
- Protected Attributes inherited from Single
 $data
 
 $bm
 

Additional Inherited Members

- Data Fields inherited from Single
const TITLE = 'title'
 

Detailed Description

Definition at line 5 of file AutoSingle.php.

Constructor & Destructor Documentation

__construct ( AutoList  $list)

Definition at line 14 of file AutoSingle.php.

Member Function Documentation

declareFields ( )

Definition at line 9 of file AutoSingle.php.

getBm ( )

Implements ISingle.

Definition at line 18 of file AutoSingle.php.

getSlug ( )

Definition at line 26 of file AutoSingle.php.

getTableName ( )

Definition at line 22 of file AutoSingle.php.

Field Documentation

$list
protected

Definition at line 7 of file AutoSingle.php.


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