-
$_acl_privileges
-
-
$_ais_class_suffix
-
This is the class suffix used when constructing the AIS handler class.
-
$_anchor_prefix
-
-
$_autoload_class_definitions
-
-
$_autoload_files
-
A list of files, relative to the components root directory, that should be loaded during initialization.
-
$_autoload_libraries
-
A list of libraries which should by loaded during initialization.
-
$_component
-
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
-
$_component
-
The name of the component to which this handler is accociated.
-
$_component
-
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
-
$_component
-
The name of the component, e.g. de.linkm.taviewer
-
$_component
-
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
-
$_component
-
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
-
$_component_data
-
Component data storage area.
-
$_component_data
-
Component data storage area.
-
$_component_data
-
Component data storage area.
-
$_component_data
-
The systemwide component data store.
-
$_component_data
-
Component data storage area.
-
$_component_interface
-
This is a reference to the Component Interface class. It is loaded during class instantination and only available for baseclass driven component interfaces, not for legacy classes.
-
$_component_path
-
The full path to the components' root directory. Used for loading files.
-
$_config
-
The current configuration.
-
$_config
-
The current configuration.
-
$_config
-
The systemwide component configuration, obtained from the component during class initialization.
-
$_config
-
The current configuration, possibly modified by the _load_topic_configuration helper.
-
$_config
-
The current configuration.
-
$_config_snippet_name
-
This is used during initialization when loading the default configurations from the filesystem ($prefix/config/$name.inc) and the snippetdirs ($GLOBALS['midcom_config']['midcom_sgconfig_basedir']/$component/$name).
-
$_context_data
-
This variable holds the context-specific data during processing.
-
$_count_mode
-
-
$_current_page
-
-
$_data
-
The component-specific data storage, hold in the global Array $midcom_component_data, which is indexed by the component name.
-
$_handler
-
This is a reference to the handler which declared to be able to handle the request. The array will contain the original index of the handler in the 'id' member for backtracking purposes. The variable argument list will be placed into 'args' for performance reasons.
-
$_handler_config
-
The local handler configuration as written in the Component Manifest.
-
$_i18n
-
A handle to the i18n service.
-
$_i18n
-
A handle to the i18n service.
-
$_i18n
-
A handle to the i18n service.
-
$_i18n
-
A handle to the i18n service.
-
$_l10n
-
The components' L10n string database
-
$_l10n
-
The components' L10n string database
-
$_l10n
-
The components' L10n string database
-
$_l10n
-
The components' L10n string database
-
$_l10n_midcom
-
The global MidCOM string database
-
$_l10n_midcom
-
The global MidCOM string database
-
$_l10n_midcom
-
The global MidCOM string database
-
$_l10n_midcom
-
The global MidCOM string database
-
$_limit
-
-
$_local_toolbar
-
The toolbar local to the current request
-
$_manifest
-
The component manifest instance accociated with this component. Read-Only and automatically populated during initialization.
-
$_master
-
A reference to the request class that has invoked this handler instance.
-
$_meta_toolbar
-
The Metadata toolbar. You should normally have no need to modify it.
-
$_midcom_qb
-
-
$_nap_class_suffix
-
This is the class suffix used when constructing the NAP handler class.
-
$_nap_instance
-
The NAP interface instance from the component, initialized on demand.
-
$_newtopic
-
-
$_node_toolbar
-
The node toolbar for the current request context. Not available during the can_handle phase.
-
$_node_toolbar
-
The node toolbar for the current request context. Not available during the can_handle phase.
-
$_offset
-
-
$_onsite_toolbar_css
-
The url to the css file to be added when onsite toolbars are shown.
-
$_open_handle
-
Internal tracking state variable, holds the file handle of any open attachment.
-
$_pager_id
-
-
$_plugin_namespace_config
-
This variable keeps track of the registered plugin namespaces. It maps namespace identifiers against plugin config lists. This is used during can_handle startup to determine whether the request has to be relayed to a plugin.
-
$_prefix
-
-
$_processing_msg
-
-
$_purecode
-
-
$_request_data
-
-
$_request_data
-
Request specific data storage area. Registered in the component context as ''.
-
$_request_data
-
Request specific data storage area. Registered in the component context as ''.
-
$_request_switch
-
Request execution switch configuration.
-
$_site_class_suffix
-
This is the class suffix used when constructing the on-site handler class.
-
$_topic
-
The topic for which we are handling a requiest.
-
$_topic
-
The topic for which we are handling a requiest.
-
$_topic
-
The topic for which we are handling a requiest.
-
$_topic_toolbar
-
The toolbar of the topic.
-
$_version
-
-
$_view_toolbar
-
The view toolbar for the current request context. Not available during the can_handle phase.
-
$_view_toolbar
-
The view toolbar for the current request context. Not available during the can_handle phase.
-
_bind_to_request_data
-
Binds the object to the current request data. This populates the members _request_data, _config, _topic, _l10n and _l10n_midcom accordingly.
-
_check_author
-
Internal helper function, invoked during create and update which validates the author field to be correct.
-
_check_name
-
Check that article by same name doesn't exist in the topic in Classic Midgard API fashion.
-
_check_nap_instance
-
Checks, wether an instance of the NAP interface class has already been created and creates it if not.
-
_check_page_vars
-
Check $_REQUEST for variables and sets internal status accordingly
-
_clear_object
-
Internal helper function, which clears all variables of an object with the exception of the __ prefixed internal ones. This is used to reset an object after a failed permission check for example.
-
_create_attachment_location
-
Internal helper, computes an MD5 string which is used as an attachment location.
-
_create_parameter_object
-
Internal helper, which creates a new parameter object. ACL checks have to be done by the callee.
-
_delete_privileges
-
Internal helper function, called upon successful delete. It will unconditionally drop all privileges assigned to the given object.
-
_delete_topic_update_index
-
-
_encode_req_feat
-
Encodes the features list to decimal value used by the server
-
_get_content_error
-
Look for error messages in content and decode them, returns false on no errors found, true on errors found.
-
_get_http_error
-
Server HTTP level error decode
-
_get_parameter_object
-
Internal helper function that retrieves a parameter object for a given domain/name pair.
-
_get_remote_error
-
-
_get_remote_error
-
-
_handler_approval
-
-
_handler_configdm
-
Datamanager configuration handler interface.
-
_handler_configdm_prepare
-
Helper function that prepares a datamanager instance for the configdm handler.
-
_handler_config_dm
-
Datamanager configuration handler interface.
-
_handler_config_dm_prepare
-
Helper function that prepares a datamanager instance for the config_dm handler.
-
_handler_create
-
-
_handler_delete
-
-
_handler_edit
-
-
_handler_metadata
-
-
_handler_welcome_deprecated
-
Fallback handler, shown in case no handler has been defined anymore by deprecated AIS classes. Displays a simple welcome page.
-
_list_parameters_all
-
List all parameters of an object.
-
_list_parameters_domain
-
List the parameters of a single domain of an object.
-
_load_configuration
-
Loads the configuration file specified by the component configuration
-
_load_plugin
-
This helper loads the specified namespace/plugin combo.
-
_load_plugin_class
-
Loads the file/snippet neccessary for a given plugin, according to its configuration.
-
_load_topic_configuration
-
This is an internal helper which you can use to merge a topic configuration set for your component into your local configuration store. Call this without an argument to reset to the global defaults.
-
_on_can_handle
-
Component specific initialization code for the can_handle phase.
-
_on_check_document_permissions
-
Verif an indexer document's permissions. This is used for custom, advanced access control within a components domain.
-
_on_created
-
-
_on_created
-
Created callback, triggers watches on the parent(!) object.
-
_on_created
-
Updates all computed members and adds a midgard:owner privilege for the person itself on the record.
-
_on_creating
-
Simple creation event handler which fills out the location field if it is still empty with a location generated by _create_attachemtn_location().
-
_on_creating
-
Pre-Creation hook, which validates the $author field for correctness.
-
_on_deleted
-
Deletes event membership records accociated with this event.
-
_on_deleted
-
Deleted callback, triggers watches on the parent(!) object.
-
_on_deleted
-
Deletes all group and event memberships of the original person record. SUDO privileges are used at this point, since only memberships are accociated to the groups, not persons and event memberships belong to the event, again not to the person.
-
_on_execute
-
This is the actual handler operation, it is called only after successful operation.
-
_on_get_metadata
-
Returns a metadata object for the currently selected object, or null if no Metadata is available. The default implementation defaults to the topics' metadata object.
-
_on_handle
-
Component specific initialization code for the handle phase. AIS, for example, uses this to preapre the toolbar arrays. The name of the request handler is passed as an argumet to the event handler.
-
_on_handler_configdm_prepared
-
Event handler, called after the configuration datamanager instance has been created but not yet initialized. Use this hook to modify the schema where neccessary.
-
_on_handler_configdm_preparing
-
Event handler, called before the configuration datamanger is created. Use this to prepare anything that is required to start up the Datamanager.
-
_on_handler_configdm_saved
-
Event handler, called when the configuration system has successfully stored new configuration settings.
-
_on_handler_config_dm_prepared
-
Event handler, called after the configuration datamanager instance has been created but not yet initialized. Use this hook to modify the schema where neccessary.
-
_on_handler_config_dm_preparing
-
Event handler, called before the configuration datamanger is created. Use this to prepare anything that is required to start up the Datamanager.
-
_on_handler_config_dm_saved
-
Event handler, called when the configuration system has successfully stored new configuration settings.
-
_on_initialize
-
Initialization event handler, called at the end of the initialization process.
-
_on_initialize
-
This is an event handler, called after the basic component initialization has been done just before the initialize call will return to MidCOM.
-
_on_initialize
-
-
_on_initialize
-
Initialization event handler, called at the end of the initialization process immediately before the request handler configuration is read.
-
_on_initialize
-
This callback is executed immediately after object constuction. You can initialize your class here.
-
_on_loaded
-
Updates all computed members.
-
_on_reindex
-
Reindex the given topic. The complete configuration set is already available in $config. The original index records are already deleted, so you do not need to bother about this.
-
_on_resolve_permalink
-
This interface function is used to check wether a component can handle a given GUID or not on site only. A topic is provided which limits the "scope" of the search accordingly. It can be safely assumed that the topic given is a valid topic in the MidCOM content tree (it is checked through NAP).
-
_on_retrieve_vgroup_members
-
Retrieve all members of a given virtual group. This information may be cached by the framework.
-
_on_set_object
-
Event handler called after a new topic has been set. The configuration is already loaded at this point.
-
_on_show
-
Generic output initialization code. The return value lets you control wether the output method accociated with the handler declaration is called, return false to override this automatism, true, the default, will call the output handler normally.
-
_on_updated
-
-
_on_updated
-
Updated callback, triggers watches on the parent(!) object.
-
_on_updated
-
Updates all computed members.
-
_on_updating
-
Pre-Update hook, which validates the $author field for correctness.
-
_on_watched_dba_create
-
This function is triggered at the end of the request for each watched create operation that has been done during the request.
-
_on_watched_dba_delete
-
This function is triggered at the end of the request for each watched delete operation that has been done during the request.
-
_on_watched_dba_update
-
This function is triggered at the end of the request for each watched update operation that has been done during the request.
-
_on_watched_operation
-
This function is triggered at the end of the request for each watched operation that has been done during the request.
-
_prepare_handler
-
Helper function, which prepares the handler callback for execution.
-
_prepare_plugin
-
Prepares the actual plugin by adding all neccessary information to the request switch.
-
_prepare_request_switch
-
This private helper post-processes the initial information as set by the constructor.
-
_process_create_form
-
-
_process_delete_form
-
-
_process_edit_form
-
-
_qb_limits
-
sets LIMIT and OFFSET for requested page
-
_register_core_plugin_namespaces
-
This helper function registers the plugin namespaces provided from the MidCOM core.
-
_rewrite_timestamps_to_isodate
-
This function prepares the previously converted UNIX timestamps again for saving by converting them back to ISO 8859-1 Format.
-
_rewrite_timestamps_to_unixdate
-
This function parses the loaded object and detects all meta timestamps of the original Midgard object which were in Unix Timestamp format before that and are in ISO format now.
-
_sanity_check
-
-
_sanity_check
-
-
_sanity_check
-
-
_sanity_check
-
Makes sure we have some absolutely required things properly set
-
_set_creator
-
This is an internal helper which updates the created/creator timestamp on a record if the corresponding fields exists.
-
_set_owner_privileges
-
This is an internal helper adds full privileges to the owner of the object.
-
_set_revisor
-
This is an internal helper which updates the revised/revisor timestamp on a record if the corresponding fields exists.
-
_show_configdm
-
Simple display handler for the configdm handler, it uses the MidCOM L10n string 'component configuration' as heading, and immediately displays the form afterwards.
-
_show_config_dm
-
Simple display handler for the config_dm handler, it uses the MidCOM L10n string 'component configuration' as heading, and immediately displays the form afterwards.
-
_show_create
-
-
_show_delete
-
-
_show_edit
-
-
_show_metadata
-
-
_show_welcome_deprecated
-
Fallback handler, shown in case no handler has been defined anymore by deprecated AIS classes. Displays a simple welcome page noting that everything is done directly on-site now.
-
_update_computed_members
-
Synchronizes the $name, $rname, $emaillink and $homepagelink members with the members they are based on.
-
_verify_handler_class
-
This is an helper function used during handler startup. It ensures that handler class is loaded. It has auto-class-loading support, which allows the component author to have the handler classes only loaded on demand (see class introduction).
-
get_attachment
-
Retrieves an attac hment on an arbitary object by its name.
-
get_attachment_qb
-
Returns a prepared query builder that is already limited to the attachments of the given object.
-
get_author
-
Returns the User-Object representing the author of the record. This is the object behind the $author member of this object.
-
get_balance
-
Returns (bool)false on error or whatever the GW returns Non-numeric balance should be supposed infinite.
-
get_balance
-
Returns either (int)balance on success or (bool)false on error
-
get_by_guid
-
This call wraps the original get_by_guid call to provide access control.
-
get_by_id
-
This call wraps the original get_by_id call to provide access control.
-
get_by_path
-
This call wraps the original get_by_guid call to provide access control.
-
get_config_for_topic
-
This is a small helper function which gets the full configuration set active for a given topic. If no topic is passed, the systemwide default configuration is returned.
-
get_current_leaf
-
Returns the currently selected leaf of the request.
-
get_leaves
-
Relays the get_leaves call to the NAP instance.
-
get_leaves
-
Leaf listing function, the default implementation returns an empty array indicating no leaves. Note, that the active leaf index set by the other parts of the component must match one leav out of this list.
-
get_metadata
-
Returns the metadata of the currently selected object. It uses a callback to determine a metadata object which contains the neccessary information.
-
get_metadata
-
This helper will return a reference to the metadata class accociated with the given object instance.
-
get_node
-
Relays the get_node call to the NAP instance.
-
get_node
-
Return the node configuration. This defaults to use the topic the NAP instance has been set to directly. You can usually fall back to this behavoir safely, adding a toolbar using the $toolbar parameter in child classes.
-
get_parameter
-
Return a parameter from the database.
-
get_parent
-
Returns the the parent object. Tries to utilize the Memcache data, loading the actual information only if it is not cached.
-
get_parent_guid
-
Returns the GUID of the parent object. Tries to utilize the Memcache data, loading the actual information only if it is not cached.
-
get_parent_guid_uncached
-
Returns the Parent of the Snippet.
-
get_parent_guid_uncached
-
Returns the Parent of the Topic, which is always another topic.
-
get_parent_guid_uncached
-
Returns the Parent of the Snippet.
-
get_parent_guid_uncached
-
Returns the Parent of the Snippet.
-
get_parent_guid_uncached
-
Returns the Parent of the Page.
-
get_parent_guid_uncached
-
Returns the Parent of the Page.
-
get_parent_guid_uncached
-
Returns the Parent of the Eventmmeber. This is the event it is assinged to.
-
get_parent_guid_uncached
-
Returns the Parent of the Attachment, which is identified by the table/id combination in the attachment record. The table in question is used to identify the object to use. If multiple objects are registered for a given table, the first matching class returned by the dbfactory is used (which is usually rather arbitary).
-
get_parent_guid_uncached
-
Returns the Parent of the Article. This can either be another article if we have an reply article, or a topic otherwise.
-
get_parent_guid_uncached
-
Returns the group the membership record is accociated with. This allows group owners to manage their members.
-
get_parent_guid_uncached
-
Returns the Parent of the Element. This is the style the element is assinged to.
-
get_parent_guid_uncached
-
Gets the parent object of the current one.
-
get_parent_guid_uncached
-
Returns the Parent of the Event. This can either be another event if we have an reply event, or a topic otherwise.
-
get_plugin_handlers
-
-
get_privilege
-
Looks up a privilege by its parameters.
-
get_privileges
-
Read all privilege records from the object in question and return them accordingly.
-
group.php
-
-
member.php
-
-
midcom_admin_content_topic_plugin
-
-
midcom_admin_content_topic_plugin
-
Execution handler subclass, to be used with the request switch in midcom_baseclasses_components_request.
-
midcom_baseclasses_components_cron_handler
-
Empty constuctor yet, just calls the base class.
-
midcom_baseclasses_components_cron_handler
-
This is the base class used for all jobs run by MidCOM CRON.
-
midcom_baseclasses_components_handler
-
Main constructor does not do much yet, it shouldn't be overridden though, use the _on_initilize event handler instead.
-
midcom_baseclasses_components_handler
-
Execution handler subclass, to be used with the request switch in midcom_baseclasses_components_request.
-
midcom_baseclasses_components_interface
-
Baseclass to use for the component interface in MIDCOM.
-
midcom_baseclasses_components_interface
-
Initialize the class, nothing to do yet.
-
midcom_baseclasses_components_navigation
-
Create the navigation instance, the constructor doesn't do anything yet, startup is handled by initialize().
-
midcom_baseclasses_components_navigation
-
Base class to encaspulate a NAP interface. Does all the neccessary work for setting the object to the right topic. you just have to fill the gaps for getting the leaves and node data.
-
midcom_baseclasses_components_purecode
-
Initialize all member variables, remember to set $_component before calling this constructor from your derived classes.
-
midcom_baseclasses_components_purecode
-
Base class used for writing pure code components, retrieves a few common variables from the components current environment.
-
midcom_baseclasses_components_request
-
Initializes the class, only basic variable assignement. Your own constructor should call this function first.
-
midcom_baseclasses_components_request
-
Base class to encaspulate a request to the component, instantinated by the MidCOM component interface.
-
midcom_baseclasses_components_request_admin
-
Base class to encaspulate a admin request to the component, instantinated by the MidCOM component interface.
-
midcom_baseclasses_components_request_admin
-
Initialize the toolbar references after constructing the base class.
-
midcom_baseclasses_core_dbobject
-
This class only contains static functions which are there to hook into the classes you derive from the MidgardSchema DB types like (New)MidgardArticle.
-
midcom_baseclasses_core_object
-
This is the base class for all objects within the MidCOM core. Usually you should not need to inherit from this class directly, as all baseclasses made available for usage are somehow derived from this class.
-
midcom_baseclasses_core_object
-
-
midcom_baseclasses_database_article
-
MidCOM level replacement for the Midgard Article record with framework support.
-
midcom_baseclasses_database_article
-
-
midcom_baseclasses_database_attachment
-
MidCOM level replacement for the Midgard Attachment record with framework support.
-
midcom_baseclasses_database_attachment
-
-
midcom_baseclasses_database_element
-
MidCOM level replacement for the Midgard Style Element record with framework support.
-
midcom_baseclasses_database_element
-
-
midcom_baseclasses_database_event
-
-
midcom_baseclasses_database_event
-
MidCOM level replacement for the Midgard Event record with framework support.
-
midcom_baseclasses_database_eventmember
-
-
midcom_baseclasses_database_eventmember
-
MidCOM level replacement for the Midgard Eventmember record with framework support.
-
midcom_baseclasses_database_group
-
MidCOM level replacement for the Midgard Group record with framework support.
-
midcom_baseclasses_database_group
-
-
midcom_baseclasses_database_host
-
MidCOM level replacement for the Midgard Host record with framework support.
-
midcom_baseclasses_database_host
-
-
midcom_baseclasses_database_member
-
-
midcom_baseclasses_database_member
-
MidCOM level replacement for the Midgard Membership record with framework support.
-
midcom_baseclasses_database_page
-
MidCOM level replacement for the Midgard Page record with framework support.
-
midcom_baseclasses_database_page
-
-
midcom_baseclasses_database_pageelement
-
MidCOM level replacement for the Midgard PageElement record with framework support.
-
midcom_baseclasses_database_pageelement
-
-
midcom_baseclasses_database_person
-
MidCOM level replacement for the Midgard Person record with framework support.
-
midcom_baseclasses_database_person
-
-
midcom_baseclasses_database_snippet
-
-
midcom_baseclasses_database_snippet
-
MidCOM level replacement for the Midgard Snippet record with framework support.
-
midcom_baseclasses_database_snippetdir
-
-
midcom_baseclasses_database_snippetdir
-
MidCOM level replacement for the Midgard SnippetDir record with framework support.
-
midcom_baseclasses_database_style
-
MidCOM level replacement for the Midgard Style record with framework support.
-
midcom_baseclasses_database_style
-
-
midcom_baseclasses_database_topic
-
MidCOM level replacement for the Midgard Topic record with framework support.
-
midcom_baseclasses_database_topic
-
-
midcom_core_handler_configdm
-
Handler for Datamanger driven component configuration
-
midcom_core_handler_configdm
-
-
msg_to_latin1
-