| [ Index ] |
PHP Cross Reference of Yamoon 0.9.0 |
[Source view] [Print]
(no description)
| File Size: | 119 lines (3 kb) |
| Included or required: | 7 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| Config() X-Ref |
| Config Constructor. Sets all config values. |
| getDB() X-Ref |
| Return the database. Connect to it if $this->db is empty. |
| dbConnect() X-Ref |
| Connect to a MySQL database. return $db The database handler. |
| query($query, $values=array() X-Ref |
| Execute a query and return it's resultSet object. Call this method directly if issuing a update or delete. param $query The query to be executed (use ? instead of '$param' inside it) param $values An array with all values (one for each ? inside the query) return $res The resultSet Object |
| select($query, $values=array() X-Ref |
| Execute a select query and return the array of values. This method calls the query() method and fetch the object array from the resultSet returned. param $query The query to be executed (use ? instead of '$param' inside it) param $values An array with all values (one for each ? inside the query) return $rows The array with all returned objects |
| Generated: Sat Feb 19 17:29:53 2005 | Cross-referenced by PHPXref 0.6 |