-
Notifications
You must be signed in to change notification settings - Fork 18
MidCOM Constants
flack edited this page Dec 8, 2016
·
3 revisions
Constants for the MidCOM System.
- MIDCOM_ERROK - HTTP 200, everything's fine
- MIDCOM_ERRNOTFOUND - HTTP 404, the requested document does not exist
- MIDCOM_ERRFORBIDDEN - HTTP 401, the access to this document has been forbidden
- MIDCOM_ERRAUTH - HTTP 403, Unauthorized access, please authorize
- MIDCOM_ERRCRIT - HTTP 500, Critical internal error
MidCOM NAP URL Information Constants
They are used to index the Property arrays returned by the NAP classes and within the midcom_helper__basicav code to deduce the status of the navigation elements. Please see MidCOM NAP Constants for details.
These hold Context Data
There are five loglevel constants you can use when setting the loglevel or when logging messages:
- MIDCOM_LOG_DEBUG
- MIDCOM_LOG_INFO
- MIDCOM_LOG_WARN
- MIDCOM_LOG_ERROR
- MIDCOM_LOG_CRIT
- MIDCOM_STATUS_PREPARE
- MIDCOM_STATUS_CANHANDLE
- MIDCOM_STATUS_HANDLE
- MIDCOM_STATUS_CONTENT
- MIDCOM_STATUS_CLEANUP
- MIDCOM_TOOLBAR_URL
- MIDCOM_TOOLBAR_LABEL
- MIDCOM_TOOLBAR_HELPTEXT
- MIDCOM_TOOLBAR_ICON
- MIDCOM_TOOLBAR_ENABLED
- MIDCOM_TOOLBAR__ORIGINAL_URL
- MIDCOM_TOOLBAR_OPTIONS
- MIDCOM_TOOLBAR_HIDDEN
- MIDCOM_TOOLBAR_SUBMENU
- MIDCOM_PRIVILEGE_ALLOW
- MIDCOM_PRIVILEGE_DENY
- MIDCOM_PRIVILEGE_INHERIT
- MIDCOM_PRIVILEGE_NAME
- MIDCOM_PRIVILEGE_ASSIGNEE
- MIDCOM_PRIVILEGE_VALUE
- MIDCOM_PRIVILEGE_SCOPE_EVERYONE
- MIDCOM_PRIVILEGE_SCOPE_ANONYMOUS
- MIDCOM_PRIVILEGE_SCOPE_USERS
- MIDCOM_PRIVILEGE_SCOPE_ROOTGROUP
- MIDCOM_PRIVILEGE_SCOPE_VGROUPS
- MIDCOM_PRIVILEGE_SCOPE_OWNER
- MIDCOM_PRIVILEGE_SCOPE_USER
Used for the definition of watch operations in component manifests
- MIDCOM_OPERATION_ALL
- MIDCOM_OPERATION_DBA_CREATE
- MIDCOM_OPERATION_DBA_UPDATE
- MIDCOM_OPERATION_DBA_DELETE
- MIDCOM_OPERATION_DBA_ALL
- MIDCOM_CRON_MINUTE
- MIDCOM_CRON_HOUR
- MIDCOM_CRON_DAY