Class used for handling any SQL Statement, which is meant as DB abstraction layer.
It caches loaded - unprepared - Statments for performance issues.
NOTE: There are two super-global Replacer that are automatically appended.
Initializes the SQLHelper with the required Database Connection.
Executes the SQL Statement and returns the Result.
Normaly used for Select, Update, Delete ...
Executes the Insert Statement and returns the generated ID.
Simple wrapper for
Loads and returns the Statement. If this statement was loaded before, it will be served directly from the Cache.
Prepares the given Statement by replacing all found {REPLACER} with the values of the submitted values array.
For example you have the SQL: Select * from {TABLE} where id='{ID}'
You would pass an array like this: array('TABLE' => 'item_1', 'ID' => '-1')
Documentation generated by phpDocumentor 1.3.1