UNB Components Code Reference

UnbDatabase::ProcessSql method

Basic SQL query processing.

private function UnbDatabase::ProcessSql ($sql);

Parameters

sql
(string) SQL query to process

Return value

the processed and (if appropriate) modified SQL query.

Remarks

This method strips out SQL comments (they could crash PHP/Apache during development) and replaces the "#" placeholder with the specified table name prefix (if any).

Member of class: UnbDatabase

Implementation file: database.class.php, line 531

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.