We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
debug()
1 parent 34e49ce commit e24fd33Copy full SHA for e24fd33
lib/ezsqlModel.php
@@ -237,6 +237,22 @@ public function hide_errors()
237
$this->show_errors = false;
238
}
239
240
+ /**
241
+ * Turn on echoing of debug info, for `debug()`
242
+ */
243
+ public function debugOn()
244
+ {
245
+ $this->debug_echo_is_on = true;
246
+ }
247
+
248
249
+ * Turn off echoing of debug info, the default, for `debug()`
250
251
+ public function debugOff()
252
253
+ $this->debug_echo_is_on = false;
254
255
256
public function flush()
257
{
258
// Get rid of these
0 commit comments