A_DataMapper_Factory

Class A_DataMapper_Factory.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/datamapper/package.module.datamapper.php  
  1. class A_DataMapper_Factory extends Mixin 
  2. function datamapper_model($mapper, $properties = array(), $context = FALSE) 
  3. return new C_DataMapper_Model($mapper, $properties = array(), $context); 
  4. function datamapper($object_name, $context = FALSE) 
  5. return new C_DataMapper($object_name, $context); 
  6. function custom_table_datamapper($object_name, $context = FALSE) 
  7. return new C_CustomTable_DataMapper_Driver($object_name, $context); 
  8. function custom_post_datamapper($object_name, $context = FALSE) 
  9. return new C_CustomPost_DataMapper_Driver($object_name, $context);