setDBO(VoxelCareDB::getDatabase()); } function _buildQuery() { $where = array(); $this->_query = "SELECT id, name FROM #__vxc_template ORDER BY name"; return $this->_query; } function getData() { if (empty($this->_data)) { $query = $this->_buildQuery(); $this->_data = $this->_getList($query); } return $this->_data; } } ?>