Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
interface.db.php
Go to the documentation of this file.
00001 <?php
00025 interface DbManager {
00026 
00027         function __construct($params);
00028 
00034         public function openConnection();
00035 
00042         public function escapeString($string);
00043         
00050         public function executeQuery($query);
00051 
00058         public function queryResult($query);
00059         
00065         public function getError();
00066         
00077         public function autoSelect($fields, $tables, $where, $order=null, $limit=null);
00078         
00087         public function getNumRecords($table, $where=null, $field='id');
00088 
00095         public function getFieldsName($table);
00096         
00116         public function getTableStructure($table);
00117         
00124         public function getTables($like=null);
00125         
00133         public function insert($table, $data);
00134         
00143         public function update($table, $data, $where);
00144         
00152         public function delete($table, $where);
00153 
00154 
00155 }
00156 
00157 ?>