Loading Please wait...

Custom Database Access without Magic Methods
[Database Connectivity]

Collaboration diagram for Custom Database Access without Magic Methods:
This file is part of Zigmoyd PHP Framework. More...

Data Structures

class  zDbAccessRowSet
class  zDbAccess

Variables

 $__zigmoyd__Orm_drv = new stdClass()

Detailed Description

This file is part of Zigmoyd PHP Framework.

Copyright (C) 2008 Neel Basu (Sunanda Bose)

Zigmoyd PHP Framework is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Zigmoyd PHP Framework is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Zigmoyd PHP Framework. If not, see <http://www.gnu.org/licenses/>.

Builds a Table level Object dynamically with no magic method support without any ORM Map. If you need magic-method support use zDynOrm Class Instead. You can simply code like this.

  $this->load->module('dbAccess');//code this in your Controller. you can also code load_module('dbAccess');
  $stdObj = new zDbAccess('conAliasName', 'student');
  //$stdObj = new zDbAccess('conAliasName', 'tableName');
  $stdObj->find('std_name');//$stdObj->find('col_name');
as you are not using ORM Maps while building Table level Objects, table/column alias names are their real Table Name

Variable Documentation

$__zigmoyd__Orm_drv = new stdClass()

Definition at line 36 of file dbaccess.php.


Generated on Mon Oct 27 23:52:54 2008 for zigmoyd.kdevelop by doxygen 1.5.6