4Suite API Documentation

Module Ft.Server.Common.Util

Common (client and server) utilities for repo code

Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Functions:
Fields:

Functions

GetUserNsMappings(repo, baseMappings=None)

Fields

DASHBOARD_NS = 'http://chimezie.ogbuji.net/4ss/tools/dashboard/schema#'
IMT_MAP = {'.gif': 'image/gif', '.htm': 'text/html', '.html': 'text/html', '.jpeg': 'image/jpeg', '.jpg': 'image/jpeg', '.png': 'image/png', '.rdf': 'text/xml', '.svg': 'image/svg', '.xhtml': 'text/html', '.xml': 'text/xml', ...}
NSM_NSM = {'fres': 'http://xmlns.4suite.org/reserved'}
PREFIXES = /child::fres:NsMappings/child::fres:NsMapping/child::Prefix/child::text()
RESERVED_NAMESPACE = 'http://xmlns.4suite.org/reserved'
URIS = /child::fres:NsMappings/child::fres:NsMapping/child::Uri/child::text()
imt_file_path = '/etc/httpd/conf/mime.types'
imt_file_paths = ['/etc/mime.types', '/usr/local/etc/mime.types', '/usr/local/apache/conf/mime.types', '/etc/httpd/conf/mime.types']