-
$_adminmode
-
This one is true, if the system is in content administration mode and therefore working with a different topic. See Constructor Documentation for details.
-
$_all_groups
-
Lists all groups in which a user is a member, both directly and indirectly.
-
$_basicnav
-
A reference to the basicnav instance in use.
-
$_basicnav
-
A reference to the NAP instance we belong to.
-
$_body
-
The parsed body.
-
$_cache
-
Holds the values alread read from the database.
-
$_cached_host_name
-
Host name cache to avoid computing it each time.
-
$_cached_host_prefix
-
Host prefix cache to avoid computing it each time.
-
$_cached_object
-
Cached content object, based on $objectguid.
-
$_cached_page_prefix
-
Page prefix cache to avoid computing it each time.
-
$_cached_parent_group
-
Contains the parent of the current group, cached for repeated accesses.
-
$_client
-
The client status array.
-
$_component
-
Internal state variable, the component we are assigned to.
-
$_component_classes
-
This is a part of the component cache. It stores references to the COMPONENT classes of the different loaded components, indexed by their MidCOM Path.
-
$_component_properties
-
This is a part of the component cache. It stores the properties of the already loaded components.
-
$_constraint_count
-
This is an internal count which is incremented by one each time a constraint is added.
-
$_contentadmin_classes
-
This is a part of the component cache. It stores references to the Content Administration variant of the COMPONENT classes of the different loaded components, indexed by their MidCOM Path.
-
$_context
-
Holds the component context information. This is an array of arrays, the outer one indexed by context IDs, thie inner one indexed by context keys. Only valid of the system has left the code-init phase.
-
$_context
-
Current context
-
$_contextid
-
The context ID we're accociated with.
-
$_curobject
-
Stores a copy of the last parsed object. Type is stored in $_curtype.
-
$_current
-
The GUID of the currently active Navigation Node, determied by the active MidCOM Topic or one of its uplinks, if the subtree in question is invisible.
-
$_currentcomponent
-
The active component.
-
$_currentcontext
-
Contains the ID of the currently active context or FALSE is none is active.
-
$_currentleaf
-
The GUID of the currently active leaf.
-
$_current_prefix
-
Current logging prefix
-
$_curtype
-
Stores the type of $_curobject, represented by one of the MIDCOM_HELPER_URLPARSER_... constants.
-
$_curURL
-
This is the URL to the currently requested object in the form
-
$_datamanager
-
Datamanager instance for the given object.
-
$_direct_groups
-
Lists all groups in which a user is an immediate member.
-
$_enabled
-
Flag which is true if the debugger is enabled.
-
$_filedirs
-
Path to filestyles.
-
$_filename
-
Logfile name
-
$_filename
-
The file currently being processed.
-
$_global
-
Globally assigned configuration data.
-
$_guid_map
-
This map tracks all loaded GUIDs along with their NAP structures. This cache is used by nav's resolve_guid function to short-circut already known GUIDs.
-
$_i18n
-
I18n service object reference, used for charset conversions.
-
$_inheritance_chains
-
This array lists all groups the user is a member in orderd by their inheritance
-
$_interface_classes
-
This is a part of the component cache. It stores references to the interface classes of the different loaded components, indexed by their MidCOM Path.
-
$_jshead
-
String with all JavaScript declarations for the page's head.
-
$_jsonload
-
Array with all methods for the BODY's onload event.
-
$_lastgoodnode
-
This is a temporary storage where _loadNode can return the last known good node in case the current node not visible. It is evaluated by the constructor.
-
$_leaves
-
This is the leaf cache. It is an array which contains elements indexed by their leaf ID. The data is again stored in an accociative array:
-
$_limit
-
The number of records to return to the client at most.
-
$_link_head
-
String with all link elements to be included in a page's head.
-
$_loaded
-
This indexed array stores the MidCOM paths of all loaded components. Its elements are used as keys for the cache storage.
-
$_loaded_leaves
-
This array holds a list of all topics for which the leaves have been loaded.
-
$_loader
-
This is a reference to the systemwide component loader class.
-
$_local
-
Locally overriden configuration data.
-
$_localname
-
Internal state variable, the local vgroup name within our component.
-
$_loglevel
-
Current loglevel
-
$_mail
-
PEAR class in use.
-
$_mail_mime
-
PEAR class in use.
-
$_memberships
-
This array contains the GUIDs of all groups the user authenticated during the constructor was part of. It is used for check_memeberships.
-
$_merged
-
Merged, current configuration state.
-
$_meta_head
-
string with all metatags to go into the page head.
-
$_midcom_classes
-
This is a part of the component cache. It stores references to the MIDCOM classes of the different loaded component, indexed by their MidCOM Path.
-
$_nap_cache
-
A reference to the NAP cache store
-
$_nap_classes
-
This is a part of the component cache. It stores references to the NAP classes of the different loaded component, indexed by their MidCOM Path.
-
$_nodes
-
This is the node cache. It is an array which contains elements indexed by their node ID. The data is again stored in an accociative array:
-
$_object_head
-
string with all object tags to go into a page's head.
-
$_offset
-
The offset of the first record the client wants to have available.
-
$_origArgc
-
The argc value that has been used to initialize the URL parser.
-
$_origArgv
-
The argv value that has been used to initialize the URL parser.
-
$_output_classes
-
This is a part of the component cache. It stores references to the OUTPUT classes of the different loaded component, indexed by their MidCOM Path.
-
$_parameters
-
The parameters to use for the Mail template.
-
$_parameters_encoding
-
The parameter character encoding hint, if unknown, this is null.
-
$_parsed
-
Flag indicating if the template has already been parsed
-
$_parser
-
The URL parser.
-
$_per_class_privileges
-
List of all privileges assigned to that user based on the class he is accessing. It is to be considered read-only.
-
$_prefix
-
The prefix, which is appended to get_midgard()->self (i.e. the Midgard Page URL). This may be needed when MidCOM is run by wrapper.
-
$_prefixes
-
Prefix stack
-
$_privileges
-
List of all privileges assigned to that user. It is to be considered read-only.
-
$_qb
-
The query builder instance that is internally used.
-
$_quality
-
The quality to use for JPEG manipulation, this is not yet settable from the outside. Stored as a valid imagemagick option, defaults to '-quality 90' right now.
-
$_raw_data
-
The raw manifest array as loaded from disc.
-
$_real_class
-
This private helper holds the type that the application expects to retrieve from this instance.
-
$_root
-
The GUID of the MidCOM Root Content Topic
-
$_roottopic
-
Stores the Topic from which the parsing has started.
-
$_schemadb
-
The schema database URL to use for this instance.
-
$_scope
-
Current style scope
-
$_services
-
This is the interface to MidCOMs Object Services. Each service is indexed by its string-name (for example "i18n" for all i18n stuff).
-
$_snippetdir
-
Default style path
-
$_snippets
-
Default style element cache
-
$_standard_midgard_sortparams
-
A list of standard Midgard sorting orders.
-
$_status
-
Integer constant resembling the current MidCOM state.
-
$_storage
-
The storage object on which we are based. This is no MidCOM DBA layer object since it must not do any Access Control for the internal system to work. The instance may not be accessed from the outside.
-
$_storage
-
The storage object on which we are based. This is usually a midgard_group directly, as this class has to work outside of the ACLs. It must not be used from the outside.
-
$_styledirs
-
The stack of directories to check for styles.
-
$_styledirs_append
-
List of styledirs to handle after componentstyle
-
$_styledirs_prepend
-
List of styledirs to handle before componentstyle
-
$_styles
-
Style element cache
-
$_style_head
-
String with all css styles to go into a page's head.
-
$_subject
-
The parsed subject.
-
$_template
-
The Mail template, a mailtemplate datamanger type.
-
$_topic
-
Current topic
-
$_tried_to_load
-
This array contains a list of components that were tried to be loaded.
-
$_watches
-
This array contains all registered MidCOM operation watches. They are indexed by operation and map to components / libraries which have registered to classes.
-
$_watch_notifications
-
This is an array containing a list of watches that need to be executed at the end
-
_basicnav.php
-
-
_componentloader.php
-
-
_dbfactory.php
-
-
_styleloader.php
-
-
_charset_convert
-
Internal helper doing character conversion for the parameters.
-
_checkobject
-
Check, wether a given component is able to handle the current request.
-
_check_index
-
Private helper function which checks an index for validity.
-
_check_leaf_id
-
Verifies the existence of a given leaf. Call this before getting a leaf from the $_leaves cache. It will load all neccessary nodes/leaves as neccessary.
-
_check_local_array
-
Check local data array for validity
-
_check_toolbar_permissions
-
Checks for the toolbar permissions, uses the cache variables $_user and $_admin to cache the data against repeated calls.
-
_create_context
-
Create and prepare a new component context.
-
_exec_file
-
This is a heleper to execute any given Script in the current MidCOM context. All files have to be in $component_dir/exec directly, otherwise the script will not execute.
-
_format_array
-
Helper function to convert an array into a string representation
-
_format_dm
-
Helper function to convert a filled datamanager instance into a string representation.
-
_format_object
-
Helper function to convert an object into a string representation.
-
_generate_class_manifest_cache
-
This function is called from the class manifest loader in case of a cache miss.
-
_getComponentSnippetdir
-
Gets the component styledir assosiated with the topics component.
-
_getComponentStyle
-
Gets the component style.
-
_get_element_in_styletree
-
Returns a style element that matches $name and is in style $id.
-
_get_leaves
-
Return the list of leaves for a given node. This helper will construct complete leaf data structures for each leaf found. It will first check the cache for the leaf structures, and query the database only if the corresponding objects have not been found there.
-
_get_leaves_from_database
-
This helper is responsible for loading the leaves for a given node out of the database. It will complete all default fields to provide full blown nap structures.
-
_get_node
-
This helper object will construct a complete node data structure for a given topic, without any dependant objects like subtopics or leaves. It does not do any visibility checks, it just prepares the object for later processing.
-
_get_node_from_database
-
Reads a node data structure from the database, completes all defaults and derived properties (like ViewerGroups).
-
_get_privileges
-
Return a list of privileges assigned directly to the user.
-
_get_style_id_from_path
-
Returns the id of the style described by $path.
-
_get_tempfile
-
Returns the name of a temporary file to be used to write the transformed image to. Has to be managed by the callee.
-
_handle
-
Handle the request.
-
_init
-
Initialize the object, used by the factory function.
-
_invalidate_cache
-
This is an internal helper called after all I/O operation which invalidates the memcache accordingly.
-
_is_magic_assignee
-
Internal helper, encaspulating the check wether an assignee string is a known magic assignee.
-
_is_object_visible
-
Checks, if the NAP object indicated by $napdata is visible within the current runtime environment. It will work with both nodes and leaves.
-
_is_privilege_valid
-
Internal helper function, determines wether a given privilege applies for the given user in content mode. This means, that all SELF privileges are skipped at this point, EVERYONE privileges apply always, and all other privileges are checked against the user.
-
_load
-
Helper function that will look up a group and assign the object to the $storage member.
-
_load
-
Helper function that will look up a group and assign the object to the $storage member.
-
_load
-
Callback to load the virtual group. Checks wether the component in question is already loaded. It then queries its vgroup listing for the name of this group.
-
_load
-
This function will load the component specified by the MidCOM path $path. If the component could not be loaded successfully due to integrity errors (missing SnippetDirs, Classes, etc.), it will return false and populate $midcom_errstr accordingly.
-
_load
-
Helper function that will look up a user in the Midgard Database and assign the object to the $storage member.
-
_loadconfig
-
Load the configuration for a given object.
-
_loadNode
-
This function is the controlling instance of the loading mechanism. It
-
_loadNodeData
-
Load the Navigational information accociated with the topic $param, which can be passed as an ID or as a MidgardTopic object. This is differentiated by the flag $idmode (true for id, false for MidgardTopic).
-
_load_all_groups
-
Loads the complete group hierarchy the user is a member in.
-
_load_direct_groups
-
Loads all groups the user is a direct member and assignes them to the _direct_groups member.
-
_load_leaves
-
Loads the leaves for a given node from the cache or database.
-
_load_manifest
-
This internal helper loads and evaluates the given manifest file.
-
_load_privileges
-
Load the privileges from the database. This uses the inheritance chains loaded by _load_all_groups().
-
_merge_privileges
-
Merge privileges helper. It loads the privileges of the given object and loads all "SELF" assignee privileges into the class.
-
_merge_styledirs
-
This function merges the prepend and append styles with the componentstyle. This happens when the enter_context function is called.
-
_on_creating
-
Update the object timestamp.
-
_on_updating
-
Update the object timestamp.
-
_output
-
Execute the output callback.
-
_populate_client
-
Populates the client status array that can be queried using the get_client() method.
-
_process
-
Process the request
-
_process_privileges
-
This is an internal startup helper which extracts and post-processes the privilege definitions in the loaded manifest information. It will not complete any missing owner default privileges, this is done by the Authentication service upon privilege registering.
-
_process_tempfile
-
This will replace the original file with the processed copy of $tmpfile, deleting the temporary file afterwards.
-
_query_all_privileges
-
This is an internal helper function, which may only be called statically.
-
_render_link_item
-
Helper function, renders a regular a href... based link target.
-
_render_post_item
-
Helper function, renders a form based link target.
-
_retrieve_value
-
Retrieves a given metadata key, postprocesses it where neccessary and stores it into the local cache.
-
_set_context_data
-
Update the component context
-
_set_current_context
-
Sets a new context, doing some minor sanity checking.
-
_showdebuglog
-
Shows the contents of the current debuglog. You have to enable this interface
-
_store_from_object
-
This function will fetch the configuration data stored in the parameter domain $path of the Midgard Object $object.
-
_update_cache
-
This method will merge the local and the global configuration arrays into the cache array.
-
_update_leaflist_urls
-
This helper updates the URLs in the reference-passed leaf list.
-
_write_leaves_to_cache
-
Writes the leaves passed to this function to the cache, assigning them to the specified node.
-
$GLOBALS["midcom_debugger"]
-
Global debugger instance
-
$guid
-
The GUID identifying this user, made directly available for easier linking.
-
$guid
-
The guid of the object, it is cached for fast access to avoid repeated database queries.
-
gamma
-
Gamma-Adjustment of the image.
-
generate_error
-
Generate an error page.
-
get
-
Retrieve a configuration key
-
get
-
This function will return a single metadata key from the object. Its return type depends on the metadata key that is requested (see the class introduction).
-
get_26_request_metadata
-
This is a temporary tranisition function used to get the currently known and required Request Metadata: The last modified timestamp and the permalink GUID.
-
get_all
-
Retrieve a copy the complete configuration array.
-
get_all_manifest_customdata
-
This small helper builds a complete set of custom data accociated with a given component identifier. In case a given component does not have the key set and the boolean parameter is set to true, an empty array is added implicitly.
-
get_all_privileges
-
This is a static helper function which lists all privileges assigned an object unfiltered.
-
get_assignee
-
If the assignee has an object representation (at this time, only users and groups have), this call will return a reference to the assignee object held by the authentication service. See midcom_services_auth::get_assignee() for details.
-
get_basic_nav
-
If the system is in the output phase (see above), the systemwide low-level NAP interface can be accessed through this function. A reference is returned.
-
get_breadcrumb_data
-
Construct source data for a breadcrumb line.
-
get_breadcrumb_line
-
Construct a breadcrumb line.
-
get_class_magic_default_privileges
-
These objects have no restrictions whatsoever directly assigned to them.
-
get_client
-
Returns the Client Status Array which gives you all available information about the client accessing us.Currently incorprated is a recognition of client OS and client browser.
-
get_combined_toolbar
-
Compute a toolbar out of the NAP information for a given leaf and its node. Merges both toolbars into one. Always based on a leaf.
-
get_component_class
-
Returns a reference to an instance of the specified component's
-
get_component_loader
-
Return the reference to the component loader.
-
get_component_property
-
Returns a property value for the component identified by the
-
get_contentadmin_class
-
Returns a reference to an instance of the specified component's
-
get_content_privileges
-
This is a static helper function which lists all content privileges assigned to a given object. Essentially, this will exclude all SELF style assignees.
-
get_content_topic
-
-
get_context_data
-
Access the MidCOM component context
-
get_current_context
-
Returns the ID of the currently active context. This is FALSE if there is no context running.
-
get_current_leaf
-
Retrieve the ID of the currently displayed leaf. This is a leaf that is displayed by the handling topic. If no leaf is active, this function returns FALSE. (Remeber to make a type sensitve check, e.g.
-
get_current_leaf
-
Retrieve the ID of the currently displayed leaf. This is a leaf that is displayed by the handling topic. If no leaf is active, this function returns FALSE. (Remeber to make a type sensitve check, e.g.
-
get_current_node
-
Retrieve the ID of the currently displayed node. Defined by the topic of the component that declared able to handle the request.
-
get_current_node
-
Retrieve the ID of the currently displayed node. Defined by the topic of the component that declared able to handle the request.
-
get_custom_context_data
-
Retrieve arbitary, component-specific information in the component context
-
get_datamanager
-
Return a Datamanager instance for the current object.
-
get_first_login
-
Returns the first login time of the user, if available. In contrast to get_last_login and is_online this query does not require the isonline privilege, as it is usually used to determine the "age" of a user account in a community.
-
get_host_name
-
Retrieves the name of the current host, fully qualified with protocol and port.
-
get_host_prefix
-
Return the prefix required to build relative links on the current site.
-
get_index_from_url
-
This function will traverse all available items and return the first element whose URL matches the value passed to the function.
-
get_interface_class
-
Returns a reference to an instance of the specified component's interface class. The component is given in $path as a MidCOM path.
-
get_last_login
-
Returns the last login of the given user. You require the privilege midcom:isonline for the storage object you are going to check. The privilege is not granted by default, to allow users full control over their privacy.
-
get_leaf
-
This will give you a key-value pair describeing the leaf with the ID $node_id. The defined keys are described above in leaf data interchange format. You will get false if the leaf ID is invalid.
-
get_leaf
-
This will give you a key-value pair describeing the leaf with the ID $node_id. The defined keys are described above in leaf data interchange format. You will get false if the leaf ID is invalid.
-
get_leaf_toolbar
-
Compute a toolbar out of the NAP information for a given leaf.
-
get_leaf_uplink
-
Returns the ID of the node to which $leaf_id is accociated to, false on failure.
-
get_leaf_uplink
-
Returns the ID of the node to which $leaf_id is accociated to, false on failure.
-
get_loaded_object_by_guid
-
This is a helper function used by midcom_helper_nav::resolve_guid(). It checks if the object denoted by the passed GUID is already loaded into memory and returns it, if available. This should speed up GUID lookup heavy code.
-
get_midcom_class
-
Returns a reference to an instance of the specified component's MIDCOM class. The component is given in $path as a MidCOM path.
-
get_midgard
-
A mgd_get_midgard replacement
-
get_name_translated
-
Populates and translates the name of the component.
-
get_nap_class
-
Returns a reference to an instance of the specified component's
-
get_node
-
This will give you a key-value pair describeing the node with the ID $node_id. The defined keys are described above in Node data interchange format. You will get false if the node ID is invalid.
-
get_node
-
This will give you a key-value pair describeing the node with the ID $node_id. The defined keys are described above in Node data interchange format. You will get false if the node ID is invalid.
-
get_node_toolbar
-
Compute a toolbar out of the NAP information for a given node.
-
get_node_uplink
-
Returns the ID of the node to which $node_id is accociated to, false on failure. The root node's uplink is -1.
-
get_node_uplink
-
Returns the ID of the node to which $node_id is accociated to, false on failure. The root node's uplink is -1.
-
get_object
-
A copy of the object referenced by the guid value of this privilege.
-
get_object_by_guid
-
This is a replacement for the original mgd_get_object_by_guid function, which takes the MidCOM DBA system into account.
-
get_page_prefix
-
Return the prefix required to build relative links on the current site.
-
get_parameters
-
Returns the currently set parameters.
-
get_parameters_encoding
-
Retrieve the current parameter character encoding.
-
get_parent_group
-
Returns the parent group.
-
get_parent_group
-
Returns the parent group.
-
get_parent_guid
-
This is a helper function which determines the parent GUID for an existing GUID according to the MidCOM conten tree rules.
-
get_per_class_privileges
-
Returns the specific per class global privilege set assigned to this user, taking all parent groups into account. If the class specified is unknown, an empty array is returned.
-
get_privilege
-
This is a static helper function which retrieves a single given privilege at a content object, identified by the combination of assingee and privilege name.
-
get_privileges
-
Return a list of privileges assigned directly to the group. The default implementation queries the storage object directly using the get_privileges method of the midcom_core_baseclasses_core_dbobject class, which should work fine on all MgdSchema objects. If the storage object is null, an emptry array is returned.
-
get_privileges
-
Returns the complete privilege set assigned to this user, taking all parent groups into account.
-
get_root_node
-
Retrieve the ID of the root node. Note that this ID is dependent from the ID of the MidCOM Root topic and therefore will change as easily as the root topic ID might. The MIDCOM_NAV_URL entry of the root node's data will always be empty.
-
get_root_node
-
Retrieve the ID of the root node. Note that this ID is dependent from the ID of the MidCOM Root topic and therefore will change as easily as the root topic ID might. The MIDCOM_NAV_URL entry of the root node's data will always be empty.
-
get_self_privileges
-
This is a static helper function which lists all privileges assigned directly to a user or group. These are all SELF privileges.
-
get_service
-
Return a reference to a given service.
-
get_sorted_list
-
Returns the sorted list for this topic according to our sorting criteria.
-
get_sorted_list
-
-
get_sorted_list
-
-
get_sorted_list
-
-
get_status
-
Get the current MidCOM processing state.
-
get_storage
-
This function will return a MidCOM DBA level storage object for the current group. Be aware, that depending on ACL information, the retrival of the user may fail.
-
get_storage
-
This function will return a MidCOM DBA level storage object for the current user. Be aware, that depending on ACL information, the retrival of the user may fail.
-
get_toolbar_definition
-
This function returns the toolbar definition for the NAP object passed. This must superseed all calls to $nap_object[MIDCOM_NAV_TOOLBAR] as this information is not usable directly - it would result from the MidCOM cache and thus be out of date always (and especially not adapted to the current user).
-
get_toolbar_definition
-
This function returns the toolbar definition for the NAP object passed. This must superseed all calls to $nap_object[MIDCOM_NAV_TOOLBAR] as this information is not usable directly - it would result from the MidCOM cache and thus be out of date always (and especially not adapted to the current user).
-
group_midgard.php
-
-
group.php
-
-
group_virtual.php
-
-
$manifests
-
This lists all available components in the systems in the form of their manifests, indexed by the component name. Whenever possible you should refer to this listing to gain information about the components available.
-
$metadata
-
The metadata service.
-
$midgard
-
Contains the output of get_midgard. You can directly access it here.
-
mgd_delete_extensions
-
Delete all extensions (parameters and attachments) to a Midgard object
-
MGD_ERR_ACCESS_DENIED
-
-
MGD_ERR_DUPLICATE
-
-
MGD_ERR_ERROR
-
-
MGD_ERR_HAS_DEPENDANTS
-
-
MGD_ERR_INTERNAL
-
-
MGD_ERR_INVALID_NAME
-
-
MGD_ERR_INVALID_OBJECT
-
-
MGD_ERR_NOT_CONNECTED
-
-
MGD_ERR_NOT_EXISTS
-
-
MGD_ERR_NOT_OBJECT
-
-
MGD_ERR_NO_MEM
-
-
MGD_ERR_OBJECT_NAME_EXISTS
-
-
MGD_ERR_OBJECT_NO_PARENT
-
-
MGD_ERR_OBJECT_NO_STORAGE
-
-
MGD_ERR_OK
-
-
MGD_ERR_QUOTA
-
-
MGD_ERR_RANGE
-
-
MGD_ERR_SG_NOTFOUND
-
-
MGD_ERR_SITEGROUP_VIOLATION
-
-
mgd_fetch_to_array
-
Transforms a fetchable into an ID-array
-
mgd_get_createstr
-
Get the constructor string for an object's class.
-
mgd_group_id_array
-
Sort and group an Array of object IDs
-
mgd_include_snippet_php
-
PHP-level implementation of the Midgard Preparser language construct mgd_include_snippet. Same semantics, but probably a littlebit slower.
-
mgd_is_group_in_group_tree
-
Helper function to check wether a given group is a subgroup of another one.
-
mgd_is_guid
-
This funciton validates wether the argument passed is a syntactically valid GUID.
-
mgd_list_persons_in_group_all
-
List all members in a group.
-
mgd_load_custom_fields_param
-
Load a number of variables into parameters and attach them to the Midgard object.
-
mgd_load_var_from_attachment
-
Load a variable form an attachment to a Midgard object.
-
mgd_memberships_to_gid
-
Transforms a membership fetchable to an Group-ID Array
-
mgd_memberships_to_uid
-
Transforms a membership fetchable to an Person-ID Array
-
mgd_save_custom_fields_param
-
Save a number of variables into parameters on an arbitary Midgard object.
-
mgd_save_var_as_attachment
-
Save a variable as attachment to an Midgard object. Type is preserved through serialization.
-
mgd_set_errno
-
-
mgd_show_element
-
-
mgd_sort_id_array
-
Sort an Array of object IDs
-
mgd_sort_object_array
-
Sort an Array of objects
-
manifest.php
-
-
mailtemplate.php
-
-
metadata.php
-
-
misc.php
-
-
midcom.php
-
-
midcom_application
-
Main controlling instance of the MidCOM Framework
-
MIDCOM_CLIENT_IE
-
-
MIDCOM_CLIENT_MAC
-
-
MIDCOM_CLIENT_MOZILLA
-
-
MIDCOM_CLIENT_NETSCAPE
-
-
MIDCOM_CLIENT_OPERA
-
-
MIDCOM_CLIENT_UNIX
-
-
MIDCOM_CLIENT_WIN
-
-
MIDCOM_CONFIG_FILE
-
-
MIDCOM_CONTEXT_ANCHORPREFIX
-
-
MIDCOM_CONTEXT_COMPONENT
-
-
MIDCOM_CONTEXT_CONTENTTOPIC
-
-
MIDCOM_CONTEXT_CUSTOMDATA
-
-
MIDCOM_CONTEXT_LASTMODIFIED
-
-
MIDCOM_CONTEXT_NAP
-
-
MIDCOM_CONTEXT_OUTPUT
-
-
MIDCOM_CONTEXT_PAGETITLE
-
-
MIDCOM_CONTEXT_PERMALINKGUID
-
-
MIDCOM_CONTEXT_REQUESTTYPE
-
-
MIDCOM_CONTEXT_ROOTTOPIC
-
-
MIDCOM_CONTEXT_SUBSTYLE
-
-
midcom_core_group
-
The constructor retrieves the group indentified by its name from the database and prepares the object for operation.
-
midcom_core_group
-
System group, does not directly implement anything, it serves only as a base classes for the various types of groups supported within the MidCOM framework.
-
midcom_core_group_midgard
-
The constructor retrieves the group indentified by its name from the database and prepares the object for operation.
-
midcom_core_group_midgard
-
MidCOM group implementation supporting Midgard Groups.
-
midcom_core_group_virtual
-
The constructor retrieves the virtual group indentified by its identifier by loading the corresponding component.
-
midcom_core_group_virtual
-
MidCOM group implementation supporting Virtual groups.
-
midcom_core_manifest
-
The constructor loads the manifest indicated by the filename passed to it.
-
midcom_core_manifest
-
This class encaspulates a the information contained in a component manifest.
-
midcom_core_privilege
-
The Default constructor creates an empty privilege, if you specify another privilege object in the constructor, a copy is constructed.
-
midcom_core_privilege
-
Privilege class, used to interact with the privilege system. It encaspulates the actual Database Level Object. As usual with MidCOM DBA, you must never access the DB layer
object.
-
midcom_core_querybuilder
-
The constructor wraps the class resolution into the MidCOM DBA system.
-
midcom_core_querybuilder
-
MidCOM DBA level wrapper for the Midgard Query Builder.
-
midcom_core_temporary_object
-
The default constructor will create an empty object. Optionally, you can pass an object ID or GUID to the object which will then initialize the object with the corresponding DB instance.
-
midcom_core_temporary_object
-
MidCOM Temporary Database Object
-
midcom_core_user
-
System user, basically encaspulates a MidgardPerson. It does not provide a way to manipulate accounts, instead, this is an abstraction used in the ACL system.
-
midcom_core_user
-
The constructor retrieves the user indentified by its name from the database and prepares the object for operation.
-
MIDCOM_CRON_DAY
-
Execute once every day.
-
MIDCOM_CRON_HOUR
-
Execute once every hour.
-
MIDCOM_CRON_MINUTE
-
Execute once every minute.
-
MIDCOM_DATAMGR_CANCELLED
-
-
MIDCOM_DATAMGR_CANCELLED_NONECREATED
-
-
MIDCOM_DATAMGR_CREATEFAILED
-
-
MIDCOM_DATAMGR_CREATING
-
-
MIDCOM_DATAMGR_EDITING
-
-
MIDCOM_DATAMGR_FAILED
-
-
MIDCOM_DATAMGR_SAVED
-
-
MIDCOM_DATAMGR_SAVE_DELAYED
-
-
midcom_debug
-
This is a debugger class.
-
midcom_debug
-
Standard constructor
-
MIDCOM_ERRAUTH
-
-
MIDCOM_ERRCRIT
-
-
MIDCOM_ERRFORBIDDEN
-
-
MIDCOM_ERRNOTFOUND
-
-
MIDCOM_ERROK
-
-
midcom_file_exists_incpath
-
Check if a file exists in the include path
-
midcom_generate_urlname_from_string
-
Helper function for generating "clean" URL names from titles, etc.
-
midcom_get_snippet_content
-
This helper function searche for a snippet either in the Filesystem or in the database and returns its content or code-field, respecitvly.
-
midcom_get_snippet_content_graceful
-
This helper function searche for a snippet either in the Filesystem or in the database and returns its content or code-field, respecitvly.
-
midcom_helper_configuration
-
The constructor initializes the global configuration.
-
midcom_helper_configuration
-
This class is designed to ease MidCOM Configuration management.
-
midcom_helper_filesize_to_string
-
Helper function for pretty printing file sizes Original from http://www.theukwebdesigncompany.com/articles/php-file-manager.php
-
midcom_helper_find_node_by_component
-
This helper function returns the first instance of a given component on the MidCOM site.
-
midcom_helper_get_mime_icon
-
Helper function for finding MIME type image for a document
-
midcom_helper_imagefilter
-
Image Filter Class, used to post process all images, check the documentation of the individual methods.
-
midcom_helper_itemlist
-
Itemlist Interface
-
midcom_helper_itemlist_articlesfirst
-
Itemlist Subclass: Topics, then articles in component sorting order
-
midcom_helper_itemlist_score
-
Itemlist Interface
-
midcom_helper_itemlist_topicsfirst
-
Itemlist Subclass: Topics, then articles in component sorting order
-
midcom_helper_list_styles
-
midcom_helper_datamanager_list_styles get an array of the styles bellow an id.
-
midcom_helper_mailtemplate
-
This is a E-Mail template engine. It basically takes a template out of a mailtemplate datamanager field, fills it in with the parameters that have been set and sends it using the PEAR Mail classes.
-
midcom_helper_mailtemplate
-
Constructs the template engine on the base of the passed template.
-
midcom_helper_metadata
-
This class is an interface to the metadata of MidCOM objects. It is not to be instantinated directly, as a cache is in place to avoide duplicate metadata objects for the same Midgard Object. So, basically, each of these object is a singelton.
-
midcom_helper_metadata
-
This will construct a new metadata object for an existing content object.
-
midcom_helper_nav
-
Main Navigation interface class.
-
midcom_helper_nav
-
Create a NAP instance for the given context. If unspecified, it uses the currently active context which should be sufficient in most cases.
-
midcom_helper_purge_object
-
Helper function for really removing an object
-
midcom_helper_toolbar
-
This class is a generic toolbar class, that is used mainly within AIS to render all toolbars in an uniform way. It supports enabling and disabling of buttons, icons and hover-helptexts (currently rendered using TITLE tags).
-
midcom_helper_toolbar
-
Basic constructor, initializes the class and sets defaults for the CSS style if omitted. Note, that the styles can be changed after construction by updating the id_style and class_style members.
-
midcom_helper_urlparser
-
This is a generic topic/article/attachment based URL parser. It gives you the basic matching algorithms you need for every more complex parser. Most of the time you will use this class as a part of the MidCOM parser system.
-
midcom_helper_urlparser
-
Initialize the classe
-
MIDCOM_HELPER_URLPARSER_ARTICLE
-
-
MIDCOM_HELPER_URLPARSER_ATTACHMENT
-
-
MIDCOM_HELPER_URLPARSER_KEY
-
-
MIDCOM_HELPER_URLPARSER_TOPIC
-
-
MIDCOM_HELPER_URLPARSER_VALUE
-
-
midcom_helper__basicnav
-
This class is the basic building stone of the Navigation Access Point System of MidCOM.
-
midcom_helper__basicnav
-
Constructor
-
midcom_helper__componentloader
-
This class is a Factory that is responsible for loading and establishing the interface to a MidCOM Component.
-
midcom_helper__componentloader
-
The constructor will initialize the class. Nothing special is done here. The real initialization is done in initialize() so that we already have a reference to ourselves.
-
midcom_helper__dbfactory
-
Calls parent constructor only.
-
midcom_helper__dbfactory
-
This class contains various factory methods to retrieve objects from the database.
-
midcom_helper__styleloader
-
This class is responsible for all style management and replaces the old <[...]> syntax. It is instantiated by the MidCOM framework and accessible through the $midcom->style object.
-
midcom_helper__styleloader
-
Simple initialization
-
MIDCOM_LOG_CRIT
-
-
MIDCOM_LOG_DEBUG
-
-
MIDCOM_LOG_ERROR
-
-
MIDCOM_LOG_INFO
-
-
MIDCOM_LOG_WARN
-
-
MIDCOM_METADATA_NODE
-
Identifier for a node metadata for a request context.
-
MIDCOM_METADATA_VIEW
-
Identifier for a view metadata for a request context.
-
MIDCOM_META_CREATED
-
-
MIDCOM_META_CREATOR
-
-
MIDCOM_META_EDITED
-
-
MIDCOM_META_EDITOR
-
-
MIDCOM_NAVORDER_ARTICLESFIRST
-
-
MIDCOM_NAVORDER_DEFAULT
-
-
MIDCOM_NAVORDER_SCORE
-
-
MIDCOM_NAVORDER_TOPICSFIRST
-
-
MIDCOM_NAV_ABSOLUTEURL
-
-
MIDCOM_NAV_ACL
-
-
MIDCOM_NAV_ADMIN
-
-
MIDCOM_NAV_COMPONENT
-
-
MIDCOM_NAV_CONFIGURATION
-
-
MIDCOM_NAV_FULLURL
-
-
MIDCOM_NAV_GUID
-
-
MIDCOM_NAV_ICON
-
-
MIDCOM_NAV_ID
-
-
MIDCOM_NAV_INTERNAL
-
-
MIDCOM_NAV_LEAFID
-
-
MIDCOM_NAV_LEAVES
-
-
MIDCOM_NAV_NAME
-
-
MIDCOM_NAV_NODEID
-
-
MIDCOM_NAV_NOENTRY
-
-
MIDCOM_NAV_OBJECT
-
-
MIDCOM_NAV_PERMALINK
-
-
MIDCOM_NAV_RELATIVEURL
-
-
MIDCOM_NAV_SCORE
-
-
MIDCOM_NAV_SITE
-
-
MIDCOM_NAV_SUBNODES
-
-
MIDCOM_NAV_TOOLBAR
-
-
MIDCOM_NAV_TYPE
-
-
MIDCOM_NAV_URL
-
-
MIDCOM_NAV_VIEWERGROUPS
-
-
MIDCOM_NAV_VISIBLE
-
-
MIDCOM_OPERATION_ALL
-
Matches all known operations.
-
MIDCOM_OPERATION_DBA_ALL
-
All known DBA operations.
-
MIDCOM_OPERATION_DBA_CREATE
-
DBA object creation. This excludes parameter operations.
-
MIDCOM_OPERATION_DBA_DELETE
-
DBA object deletion. This excludes parameter operations.
-
MIDCOM_OPERATION_DBA_UPDATE
-
DBA object update, this includes all attachment and parameter operations.
-
MIDCOM_PRIVILEGE_ALLOW
-
Allow the privilege.
-
MIDCOM_PRIVILEGE_ASSIGNEE
-
Privilege array assignee entry
-
MIDCOM_PRIVILEGE_DENY
-
Deny the privilege.
-
MIDCOM_PRIVILEGE_INHERIT
-
Inherit the privilege from the parent.
-
MIDCOM_PRIVILEGE_NAME
-
Privilege array name entry
-
MIDCOM_PRIVILEGE_SCOPE_ANONYMOUS
-
Magic scope value for privileges assigned to all unauthenticated users
-
MIDCOM_PRIVILEGE_SCOPE_EVERYONE
-
Magic scope value for privileges assigned to EVERYONE
-
MIDCOM_PRIVILEGE_SCOPE_OWNER
-
Magic scope value for owner privileges.
-
MIDCOM_PRIVILEGE_SCOPE_ROOTGROUP
-
Starting scope value for root groups
-
MIDCOM_PRIVILEGE_SCOPE_USER
-
Magic scope value for user privileges.
-
MIDCOM_PRIVILEGE_SCOPE_USERS
-
Magic scope value for privileges assigned to all authenticated users
-
MIDCOM_PRIVILEGE_SCOPE_VGROUPS
-
Default scope value for virtual groups.
-
MIDCOM_PRIVILEGE_VALUE
-
Privilege array value entry
-
midcom_probe_nemein_rcs
-
Probes for the installed NemeinRCS root
-
MIDCOM_PROP_ACL_PRIVILEGES
-
-
MIDCOM_PROP_DLOAD
-
-
MIDCOM_PROP_NAME
-
-
MIDCOM_PROP_PURECODE
-
-
MIDCOM_PROP_VERSION
-
-
MIDCOM_PROP_VGROUPS
-
-
MIDCOM_REQUEST_COMPONENTADM
-
-
MIDCOM_REQUEST_CONTENT
-
-
MIDCOM_REQUEST_CONTENTADM
-
-
MIDCOM_ROOT
-
-
midcom_show_style
-
Global shortcut.
-
MIDCOM_STATIC_ROOT
-
-
MIDCOM_STATIC_URL
-
-
MIDCOM_STATUS_CANHANDLE
-
-
MIDCOM_STATUS_CLEANUP
-
-
MIDCOM_STATUS_CONTENT
-
-
MIDCOM_STATUS_HANDLE
-
-
MIDCOM_STATUS_PREPARE
-
-
MIDCOM_TOOLBAR_ACCESSKEY
-
The accesskey for this button
-
MIDCOM_TOOLBAR_ENABLED
-
Element Enabled state
-
MIDCOM_TOOLBAR_HELPTEXT
-
Element Helptext
-
MIDCOM_TOOLBAR_HIDDEN
-
Set this to true if you just want to hide this element from the output.
-
MIDCOM_TOOLBAR_ICON
-
Element Icon (Relative URL to MIDCOM_STATIC_URL root), e.g. 'stock-icons/16x16/attach.png'.
-
MIDCOM_TOOLBAR_LABEL
-
Element Label
-
MIDCOM_TOOLBAR_NODE
-
Identifier for a node toolbar for a request context.
-
MIDCOM_TOOLBAR_OBJECT
-
Identifier for a custom objcet toolbar.
-
MIDCOM_TOOLBAR_OPTIONS
-
Options array.
-
MIDCOM_TOOLBAR_POST
-
Use an HTTP POST form request if this is true. The default is not to do so.
-
MIDCOM_TOOLBAR_POST_HIDDENARGS
-
Optional arguments for an POST request.
-
MIDCOM_TOOLBAR_SUBMENU
-
Add a subobject here if you want to have nested menus.
-
MIDCOM_TOOLBAR_URL
-
Element URL
-
MIDCOM_TOOLBAR_VIEW
-
Identifier for a view toolbar for a request context.
-
MIDCOM_TOOLBAR__ORIGINAL_URL
-
Original element URL as defined by the callee.
-
midcom_update_nemein_rcs
-
MidCOM Interface against NemeinRCS.
-
MIDCOM_XDEBUG
-
-
move_extensions_to_object
-
Transfers all parametersm attachments and privileges on the current object to another
-
move_item_down
-
Moves an item on place downwards in the list. This will only work, of course, if you are not working with the bottom element.
-
move_item_up
-
Moves an item on place upwards in the list. This will only work, of course, if you are not working with the top element.
-
$scope
-
The scope value, which must be set during the _load callback, indicates the "depth" of the group in the inheritance tree. This is used during privilege merging in the content privilege code, which needs a way to determine the proper ordering. All persons currently use the magic value -1.
-
$scope
-
The scope value, which must be set during the _load callback, indicates the "depth" of the group in the inheritance tree. This is used during privilege merging in the content privilege code, which needs a way to determine the proper ordering. Top level groups start with a scope of 1.
-
$sent
-
Number of E-Mails sent successfully.
-
$skip_page_style
-
Set this variable to true during the handle phase of your component to
-
$style
-
Helperclass to handle all style management. See class description for further information
-
scan_for_utility
-
-
send
-
Sends the email to both the addresses specified in the template and the addresses passed through $to. You can either pass a single address as a string or an array of addresses.
-
serve_attachment
-
Deliver a snippet to the client.
-
serve_snippet
-
This function is a copy of serve_attachment, but instead of serving attachments it can serve the code field of an arbitary snippet. There is no checking on permissions done here, the callee has to ensure this. See the URL methods servesnippet(guid) for details.
-
set
-
Directly set a metadata option.
-
setLogfile
-
Set log file name
-
setLoglevel
-
Set log level
-
set_26_request_metadata
-
This is a temporary tranisition function used to set the currently known and required Request Metadata: The last modified timestamp and the permalink GUID.
-
set_assignee
-
This call sets the assignee member string to the correct value to represent the object passed, in general, this resolves users and groups to their strings and leaves magic assingees intact.
-
set_custom_context_data
-
Store arbitary, component-specific information in the component context
-
set_file
-
Sets the filename of the image currently being edited.
-
set_lang
-
Returns only objects that are availble in the specified language. This will disable the automatic fallback to the default language which would be in place otherwise.
-
set_limit
-
Limits the resultset to contain at most the specified number of records.
-
set_object
-
Set a privilege to a given content object.
-
set_offset
-
Sets the offset of the first record to retrieve. This is a zero based index, so if you want to retrieve from the very first record, the correct offset would be zero, not one.
-
set_pagetitle
-
Sets the page title for the current context.
-
set_parameters
-
This will set the template parameters accordingly.
-
show
-
Looks for a style element matching $path (either in a user defined style or the default style snippetdir) and displays/evaluates it.
-
show_combined_nav
-
Generate a fully automated navigation.
-
show_item
-
Set's an item's hidden flag to false.
-
show_simple_nav
-
Generate a fully automated navigation.
-
snippetpath_to_prefix
-
Helper, converting a snippetpath (/de/linkm/newsticker) to a class prefix (de_linkm_newsticker).
-
sort_cmp
-
-
store
-
The method store will write the parameters in $params into the local configuration.
-
store
-
Store the privilege. This will validate it first and then either update an existing privilege record, or create a new one, depending on the DB state.
-
store_from_object
-
Import data from a Midgard object.
-
substyle_append
-
Appends a substyle after the currently selected component style.
-
substyle_prepend
-
Prepends a substyle before the currently selected component style.