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