/** * @return bool */ public function AUsersTableExists() { $aTables = $this->oConnection->GetTableNames(); $aTables = is_array($aTables) ? $aTables : array(); $bResult = in_array($this->oConnection->Prefix() . 'a_users', $aTables); $this->throwDbExceptionIfExist(); return $bResult; }