txtSQL Wrapper
The wrapper probably is not needed. It's functions could be placed directly in the model or datasource. I made it a seperate wrapper because I can use it in NON-cakePHP applications too. The models use this wrapper to talk to txtSQL.
CUSTOM WRAPPER
Highlighted version (model_txtsql_class.php)