public function JFalangDatabase($options) { parent::__construct($options); $this->_table_prefix = $options['prefix']; $pfunc = $this->_profile(); $query = "select distinct reference_table from #__falang_content"; $this->setQuery($query); $this->_skipSetRefTables = true; $this->_mlTableList = $this->loadColumn(0, false); $this->_skipSetRefTables = false; if (!$this->_mlTableList) { if ($this->getErrorNum() > 0) { JError::raiseWarning(200, JTEXT::_('No valid table list:') . $this->getErrorMsg()); } } $pfunc = $this->_profile($pfunc); }