Formatting output Plese Wait...

zDynOrm Class Reference
[Dynamic ORM]

Inheritance diagram for zDynOrm:

Inheritance graph
[legend]
Collaboration diagram for zDynOrm:

Collaboration graph
[legend]

Public Member Functions

 zDynOrm ($connAlias, $tableName)
 __construct ($connAlias, $tableName)
 Constructs Table level Objects.

Private Member Functions

 colList ($conAlias, $driver)
 Bind's Proper driver, and connects through it.

Detailed Description

builds a table Object dynamically. without using static ORM Maps. it uses the real column names as the column alias name. and as there is no orm map assiciated wit it it doesn't uses any validation filters. you need to load dynOrm module to use it.
You can use any magic method that comes from zOrm_magic and its parents like findCol() or findColByOp() etc.. You can also use non-magic methods from zOrm_nomagic Class as zOrm_magic inherits from zOrm_nomagic Class.
you need to pass a table name with which you want to connect and pass the connection name e.g. Connection file name by using that it will connect.
you can even create dynamic Connection files on the fly. take a look at the zCDE Class/Module. If you dont need magic-method support use zDbAccess Class Instead.
Show Source
  $this->load->module('dynOrm');//code this in your Controller. you can also code load_module('dbAccess');
  $stdObj = new zDynOrm('conAliasName', 'student');
  //$stdObj = new zDynOrm('conAliasName', 'tableName');
  $stdObj->findName();//$stdObj->findColName();

Definition at line 64 of file dynorm.php.


Constructor & Destructor Documentation

zDynOrm::__construct( string $connAlias, string $tableName )


Member Function Documentation

zDynOrm::zDynOrm( string $connAlias, string $tableName )

zDynOrm::colList( string $conAlias, string $driver ) [private]


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

Generated on Mon Oct 27 23:53:49 2008 for zigmoyd.kdevelop by doxygen 1.5.6
CompoundsX
Build Compounds List