Midcom application
From OpenPSA Wiki
This is the root class of the MidCOM Framework. It is accessible via the MidCOM PHP Superglobal.
[edit] Attributes
- skip_page_style - Set this variable to true during the handle phase of your component to not show the site's style around the component output. This is mainly targeted at XML output like RSS feeds and similar things. The output handler of the site, excluding the style-init/-finish tags will be executed immediately after the handle phase, and midcom->finish() is called automatically afterwards, thus ending the request.
[edit] Methods
The following public methods are available:
- add_jscript
- add_jsfile
- add_jsonload
- add_link_head
- add_meta_head
- add_object_head
- add_style_head
- check_memberships
- codeinit
- content
- dynamic_load - load another MidCOM page into the current style (a Substyle can be specified with the URL Method midcom-substyle)
- finish
- generate_error - Generate a HTTP error
- get_26_request_metadata
- get_basic_nav
- get_client
- get_component_loader
- get_content_topic
- get_context_data - get information about a selected context, for example the output of the current Component.
- get_current_context - get the ID of current context of FALSE for global context
- get_custom_context_data
- get_host_name
- get_host_prefix
- get_midgard
- get_page_prefix
- get_service
- get_status
- header
- initialize
- load_library
- load_snippet
- print_head_elements
- print_jscripts
- print_jsonload
- relocate - Redirect user to another URL
- serve_attachment
- serve_snippet
- set_26_request_metadata
- set_custom_context_data
- set_pagetitle
- substyle_append
- substyle_prepend
At last! Someone who understands! Thanks for psotnig!
