found the answer
function beforeFilter( ) {
$db =& ConnectionManager::getDataSource('default');
$db->fullDebug = false;
}
On Feb 13, 3:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I am making a SOAP controller and setting the debug level in core.php
> to 2. It is causing all my soal and wsdl stuff to not parsing since
> the database queries were dumped after my xml/wsdl stuff. I hate to
> keep going back and firth toi change my debug level between 1 and 2.
>
> Is there anyway i can stop the sql dump inside my webservice
> controller? e.g.
>
> class MyServiceController extends WebServicesController {
>
> function __construct() {
>
> imaginary_function_stop_dumping_sql_queries_temporarry(true);
>
> }
>
> function __destructor() {
>
> imaginary_function_stop_dumping_sql_queries_temporarry(false);
>
> }
>
> }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---