/** * Get a list of all the fields for the given table. * Returns a map of field name => field spec. * @param string $table The table name. * @return array */ static function fieldList($table) { return DB::$globalConn->fieldList($table); }