public static function existsTable($tableName)
    {
        if ($tableName === '') {
            throw new \InvalidArgumentException('The table name must not be empty.', 1331315636);
        }

        self::retrieveTableNames();

        return isset(self::$tableNameCache[$tableName]);
    }
public static function existsTable($tableName)
    {
        if ($tableName === '') {
            throw new \InvalidArgumentException('The table name must not be empty.', 1331315636);
        }

        self::retrieveTableNames();

        return isset(self::$tableNameCache[$tableName]);
    }
public static function existsTable ( $ tableName ) { if ( $ tableName === '' ) { throw new \ InvalidArgumentException ( 'The table name must not be empty.' , 1331315636 ) ; } self :: retrieveTableNames ( ) ; return isset ( self :: $ tableNameCache [ $ tableName ] ) ; }
Checks whether a database table exists.

@param string $tableName
the name of the table to check for, must not be empty

@return bool TRUE if the table $tableName exists, FALSE otherwise

@throws \InvalidArgumentException
Checks whether a database table exists .