Functions

_midcom_header ($string, $replace, $http_response_code)

Parameters

$string

$replace

$http_response_code

_midcom_headers_sent ()

MidCOM Ragnaroek compatibility functions
package midcom.compat

_midcom_setcookie ($name, $value, $expire, $path, $domain, $secure, $httponly)

MidCOM Ragnaroek compatibility functions
package midcom.compat

Parameters

$name

$value

$expire

$path

$domain

$secure

$httponly

_midcom_stop_request ($message)

MidCOM Ragnaroek compatibility functions
package midcom.compat

Parameters

$message

mgd_cache_invalidate ()

Invalidate Midgard's element cache
todo Caching the elements found by midcom_helper_misc::include_element() might be a good idea

mgd_element ($name)

Include an element

Parameters

$name

mgd_format ($content, $name)

Return a string as formatted by a Midgard formatter

mgd_preparse ($code)

Preparse a string to handle element inclusion and variable
see \global\mgd_preparse

Parameters

$code

mgd_register_filter ($name, $function)

Register PHP function as string formatter to the Midgard formatting engine.

mgd_template ($var)

Parameters

$var

mgd_variable ($variable)

Show a variable

Parameters

$variable

Classes and Interfaces interfaces

midcom_compat_componentdata

Compat wrapper for midcom_component_data

« More »

midcom_compat_default

Default environment support

« More »

midcom_compat_environment

Interface for interactions with environment (PHP SAPI, framework, Midgard version, etc)

« More »

midcom_compat_ragnaland

MidgardMVC Ragnaland support

« More »

midcom_compat_superglobal

Compatibility wrapper that provides the API found in Ragnaroek's $_MIDCOM superglobal

« More »

midcom_compat_unittest

Support for running under PHPunit

« More »

Constants

 

MIDCOM_CONFIG_FILE_AFTER

 

MIDCOM_CONFIG_FILE_BEFORE