class documentation
class DeprecatedAPI(object): (source)
Provide helpers for DeprecatedAPI.
| Method | absolute |
Implement 'absolute_obj_path'. |
| Method | aggregate |
Implement 'aggregate_list'. |
| Method | ajax |
ZMSObject.ajaxGetChildNodes |
| Method | ajax |
Generate an XML representation of the node with its properties and attributes. |
| Method | ajax |
ZMSObject.ajaxGetNodes |
| Method | ajax |
ZMSObject.ajaxGetParentNodes |
| Method | build |
Implement 'buildZipArchive'. |
| Method | compare |
Implement 'compareDate'. |
| Method | concat |
Implement 'concat_list'. |
| Method | copy |
Implement 'copy_list'. |
| Method | days |
Implement 'daysBetween'. |
| Method | dict |
Implement 'dict_list'. |
| Method | difference |
Implement 'difference_list'. |
| Method | distinct |
Implement 'distinct_list'. |
| Method | dt |
Implement 'dt_exec'. |
| Method | dt |
Implement 'dt_executable'. |
| Method | encrypt |
Implement 'encrypt_ordtype'. |
| Method | encrypt |
Implement 'encrypt_password'. |
| Method | encrypt |
Implement 'encrypt_schemes'. |
| Method | extract |
Implement 'extractZipArchive'. |
| Method | f_body |
Implement 'f_bodyContent'. |
| Method | f |
Implement 'f_headline'. |
| Method | f_select |
Implement 'f_selectInput'. |
| Method | filter |
Implement 'filter_list'. |
| Method | get |
Return colormap. |
| Method | get |
Return id prefix. |
| Method | get |
Return catalognavurl. |
| Method | get |
Return datasizestr. |
| Method | get |
Return file. |
| Method | get |
Return format. |
| Method | get |
Return image. |
| Method | get |
Return instance home. |
| Method | get |
Return langfmtdate. |
| Method | get |
Return linkhtml. |
| Method | get |
Return mimetypeiconsrc. |
| Method | get |
Return package home. |
| Method | get |
Return product home. |
| Method | get |
Return titleimage. |
| Method | get |
Return xmlheader. |
| Method | get |
Return ziparchive. |
| Method | http |
Implement 'http_import'. |
| Method | id |
Implement 'id_quote'. |
| Method | intersection |
Implement 'intersection_list'. |
| Method | is |
Return whether featureenabled. |
| Method | js |
Implement 'js_quote'. |
| Method | meta |
Implement 'meta_id_or_type'. |
| Method | nvl |
Implement 'nvl'. |
| Method | operator |
Implement 'operator_delattr'. |
| Method | operator |
Implement 'operator_delitem'. |
| Method | operator |
Implement 'operator_getattr'. |
| Method | operator |
Implement 'operator_getitem'. |
| Method | operator |
Implement 'operator_gettype'. |
| Method | operator |
Implement 'operator_setattr'. |
| Method | operator |
Implement 'operator_setitem'. |
| Method | parse |
Implement 'parse_stylesheet'. |
| Method | parse |
Implement 'parseLangFmtDate'. |
| Method | parse |
Implement 'parseXmlString'. |
| Method | process |
Implement 'processData'. |
| Method | rand |
Implement 'rand_int'. |
| Method | re |
Implement 're_findall'. |
| Method | re |
Implement 're_search'. |
| Method | re |
Implement 're_sub'. |
| Method | search |
Implement 'search_encode'. |
| Method | search |
Implement 'search_quote'. |
| Method | send |
Implement 'sendMail'. |
| Method | sort |
Implement 'sort_list'. |
| Method | str |
Implement 'str_item'. |
| Method | str |
Implement 'str_json'. |
| Method | string |
Implement 'string_list'. |
| Method | string |
Implement 'string_maxlen'. |
| Method | sync |
Implement 'sync_list'. |
| Method | to |
Implement 'toXmlString'. |
| Method | tree |
Implement 'tree_list'. |
| Method | tree |
Implement 'tree_parents'. |
| Method | url |
Implement 'url_append_params'. |
| Method | url |
Implement 'url_inherit_params'. |
| Method | write |
Implement 'writeBlock'. |
| Method | write |
Implement 'writeError'. |
| Method | write |
Implement 'writeLog'. |
| Method | xml |
Implement 'xmlNodeSet'. |
| Method | xml |
Implement 'xmlParse'. |
| Method | xsl |
Implement 'xslProcess'. |
| Method | zmi |
Implement 'zmi_form_section_begin'. |
| Method | zmi |
Implement 'zmi_form_section_end'. |
| Method | zmi |
ZMSItem.zmi_manage_css |
| Class Variable | f |
Undocumented |
| Class Variable | f |
Undocumented |
| Class Variable | f_submit |
Undocumented |
| Class Variable | security |
Undocumented |
def ajaxGetNode(self, context=None, lang=None, xml_header=True, meta_types=None, REQUEST=None):
(source)
¶
Generate an XML representation of the node with its properties and attributes.
This method constructs an XML document containing detailed information about the current ZMS object, including its URL, physical path, access permissions, and optionally its attributes based on configuration parameters.
| Parameters | |
| context:ZMSObject or None | Context object used for generating absolute URLs and index_html references. If not provided, defaults to self. |
| lang:str or None | Language identifier for retrieving localized title and titlealt values. If not provided, uses the current language context. |
| xml | Flag to determine whether to include XML declaration header and set appropriate HTTP response headers. When True, sets Content-Type to 'text/xml; charset=utf-8' and cache control headers. |
| meta | Filter criteria for meta types. Currently defined but not actively used in filtering logic. |
| REQUEST:HTTPRequest | HTTP request object containing form data and response object for setting headers. Required for proper functioning of this method. |
| Returns | |
| XML string representation of the node containing element properties, attributes, and optional attribute values based on request parameters. | |
| Note | |
| Deprecated - Use the REST API instead. This method is deprecated in favor of modern REST API endpoints (++rest_api). | |
def http_import(self, url, method='GET', auth=None, parse_qs=0, timeout=10, headers={ 'Accept': '*/*'}, debug=0):
(source)
¶
Implement 'http_import'.
def str_json(self, i, encoding='ascii', errors='xmlcharrefreplace', formatted=False, level=0):
(source)
¶
Implement 'str_json'.