tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Interface: I_DB_Storable

Source Location: /interfaces/i_db_storable.class.php

Interface I_DB_Storable

Interface Overview

Interface that show that classes/objects that implements it can be saved in DB

Located in /interfaces/i_db_storable.class.php [line 20]



		
		
		
		

Methods

[ Top ]
Method Summary
void   load_by_id()   Loads the object from DB
void   save()   Save the object in DB

[ Top ]
Methods
load_by_id  [line 37]

  void load_by_id( DB_Connection $dbc, integer $id  )

Loads the object from DB

Returns $id on success or false on failure;

Parameters:
DB_Connection   $dbc: 
integer   $id: 

API Tags:
Access:  public


[ Top ]
save  [line 26]

  void save( DB_Connection $dbc  )

Save the object in DB

Parameters:
DB_Connection   $dbc: 

API Tags:
Access:  public


[ Top ]