Skip to content

Instantly share code, notes, and snippets.

@brisbanewebdeveloper
Created July 12, 2012 15:10
Show Gist options
  • Select an option

  • Save brisbanewebdeveloper/3098730 to your computer and use it in GitHub Desktop.

Select an option

Save brisbanewebdeveloper/3098730 to your computer and use it in GitHub Desktop.
How to debug SQL in model class for Joomla 2.5
$db = $this->getDbo();
var_dump($db->replacePrefix((string) $db->getQuery()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment