| [ Index ] |
PHP Cross Reference of MyBB 1.6.5 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 232 lines (4 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
dbpdoEngine:: (13 methods):
__construct()
query()
fetch_array()
seek()
num_rows()
insert_id()
error_number()
error_string()
roll_back()
affected_rows()
num_fields()
escape_string()
get_attribute()
Class: dbpdoEngine - X-Ref
MyBB 1.6| __construct($dsn, $username="", $password="", $driver_options=array() X-Ref |
| Connect to the database. param: string The database DSN. param: string The database username. (depends on DSN) param: string The database user's password. (depends on DSN) param: array The databases driver options (optional) return: boolean True on success |
| query($string) X-Ref |
| Query the database. param: string The query SQL. return: resource The query data. |
| fetch_array($query) X-Ref |
| Return a result array for a query. param: resource The query resource. return: array The array of results. |
| seek($query, $row) X-Ref |
| Moves internal row pointer to the next row param: resource The query resource. param: int The pointer to move the row to. |
| num_rows($query) X-Ref |
| Return the number of rows resulting from a query. param: resource The query resource. return: int The number of rows in the result. |
| insert_id($name="") X-Ref |
| Return the last id number of inserted data. param: string The name of the insert id to check. (Optional) return: int The id number. |
| error_number($query) X-Ref |
| Return an error number. param: resource The query resource. return: int The error number of the current error. |
| error_string($query) X-Ref |
| Return an error string. param: resource The query resource. return: int The error string of the current error. |
| roll_back() X-Ref |
| Roll back the last query. return: boolean true on success, false otherwise. |
| affected_rows($query) X-Ref |
| Returns the number of affected rows in a query. return: int The number of affected rows. |
| num_fields($query) X-Ref |
| Return the number of fields. param: resource The query resource. return: int The number of fields. |
| escape_string($string) X-Ref |
| No description |
| get_attribute($attribute) X-Ref |
| Return a selected attribute param: constant The attribute to check. return: string The value of the attribute. |
| Generated: Sun Dec 11 14:16:27 2011 | Cross-referenced by PHPXref 0.7.1 |