Load Objects using SQL Queries in Joomla