Bouncy Melons 0.2
declarative style orm
Public Member Functions | Static Public Member Functions | Protected Attributes
VModel Class Reference
Inheritance diagram for VModel:
IVModel VBrand VCountWineBottles VMyPhoneBook

Public Member Functions

 createList ()
 
 getListModel ()
 
 setBm (BouncyMelons $bm)
 
 getBm ()
 
 getTableName ()
 
 getViewName ()
 
 readSlug ()
 
 createViewAs ($sql)
 
 createTemptableAs ($sql)
 

Static Public Member Functions

static getSlug ()
 

Protected Attributes

 $bm
 
 $list
 

Detailed Description

Examples:
basic-usage.php, view-model-base.php, and view-model-extended.php.

Definition at line 5 of file VModel.php.

Member Function Documentation

createList ( )

override this to use custom list model

Returns

Definition at line 14 of file VModel.php.

createTemptableAs (   $sql)
Examples:
view-model-extended.php.

Definition at line 63 of file VModel.php.

createViewAs (   $sql)

Definition at line 59 of file VModel.php.

getBm ( )

Definition at line 32 of file VModel.php.

getListModel ( )
Returns

Implements IVModel.

Definition at line 21 of file VModel.php.

static getSlug ( )
static
Examples:
basic-usage.php.

Definition at line 48 of file VModel.php.

getTableName ( )

Definition at line 36 of file VModel.php.

getViewName ( )

Definition at line 44 of file VModel.php.

readSlug ( )

non-static alias for getSlug, should not be overriden

Definition at line 55 of file VModel.php.

setBm ( BouncyMelons  $bm)

Definition at line 28 of file VModel.php.

Field Documentation

$bm
protected
Examples:
basic-usage.php.

Definition at line 7 of file VModel.php.

$list
protected
Examples:
basic-usage.php.

Definition at line 8 of file VModel.php.


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