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 655

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.