[midcom.baseclasses] element index

Package indexes

All elements
a b c d e f g h i l m n o p r s t u _
_
top
Variable $_acl_privileges
Variable $_ais_class_suffix
This is the class suffix used when constructing the AIS handler class.
Variable $_anchor_prefix
Variable $_autoload_class_definitions
Variable $_autoload_files
A list of files, relative to the components root directory, that should be loaded during initialization.
Variable $_autoload_libraries
A list of libraries which should by loaded during initialization.
Variable $_component
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
Variable $_component
The name of the component to which this handler is accociated.
Variable $_component
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
Variable $_component
The name of the component, e.g. de.linkm.taviewer
Variable $_component
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
Variable $_component
Internal helper, holds the name of the component. Should be used whenever the components' name is required instead of hardcoding it.
Variable $_component_data
Component data storage area.
Variable $_component_data
Component data storage area.
Variable $_component_data
Component data storage area.
Variable $_component_data
The systemwide component data store.
Variable $_component_data
Component data storage area.
Variable $_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.
Variable $_component_path
The full path to the components' root directory. Used for loading files.
Variable $_config
The current configuration.
Variable $_config
The current configuration.
Variable $_config
The systemwide component configuration, obtained from the component during class initialization.
Variable $_config
The current configuration, possibly modified by the _load_topic_configuration helper.
Variable $_config
The current configuration.
Variable $_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).
Variable $_context_data
This variable holds the context-specific data during processing.
Variable $_count_mode
Variable $_current_page
Variable $_data
The component-specific data storage, hold in the global Array $midcom_component_data, which is indexed by the component name.
Variable $_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.
Variable $_handler_config
The local handler configuration as written in the Component Manifest.
Variable $_i18n
A handle to the i18n service.
Variable $_i18n
A handle to the i18n service.
Variable $_i18n
A handle to the i18n service.
Variable $_i18n
A handle to the i18n service.
Variable $_l10n
The components' L10n string database
Variable $_l10n
The components' L10n string database
Variable $_l10n
The components' L10n string database
Variable $_l10n
The components' L10n string database
Variable $_l10n_midcom
The global MidCOM string database
Variable $_l10n_midcom
The global MidCOM string database
Variable $_l10n_midcom
The global MidCOM string database
Variable $_l10n_midcom
The global MidCOM string database
Variable $_limit
Variable $_local_toolbar
The toolbar local to the current request
Variable $_manifest
The component manifest instance accociated with this component. Read-Only and automatically populated during initialization.
Variable $_master
A reference to the request class that has invoked this handler instance.
Variable $_meta_toolbar
The Metadata toolbar. You should normally have no need to modify it.
Variable $_midcom_qb
Variable $_nap_class_suffix
This is the class suffix used when constructing the NAP handler class.
Variable $_nap_instance
The NAP interface instance from the component, initialized on demand.
Variable $_newtopic
Variable $_node_toolbar
The node toolbar for the current request context. Not available during the can_handle phase.
Variable $_node_toolbar
The node toolbar for the current request context. Not available during the can_handle phase.
Variable $_offset
Variable $_onsite_toolbar_css
The url to the css file to be added when onsite toolbars are shown.
Variable $_open_handle
Internal tracking state variable, holds the file handle of any open attachment.
Variable $_pager_id
Variable $_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.
Variable $_prefix
Variable $_processing_msg
Variable $_purecode
Variable $_request_data
Variable $_request_data
Request specific data storage area. Registered in the component context as ''.
Variable $_request_data
Request specific data storage area. Registered in the component context as ''.
Variable $_request_switch
Request execution switch configuration.
Variable $_site_class_suffix
This is the class suffix used when constructing the on-site handler class.
Variable $_topic
The topic for which we are handling a requiest.
Variable $_topic
The topic for which we are handling a requiest.
Variable $_topic
The topic for which we are handling a requiest.
Variable $_topic_toolbar
The toolbar of the topic.
Variable $_version
Variable $_view_toolbar
The view toolbar for the current request context. Not available during the can_handle phase.
Variable $_view_toolbar
The view toolbar for the current request context. Not available during the can_handle phase.
Method _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.
Method _check_author
Internal helper function, invoked during create and update which validates the author field to be correct.
Method _check_name
Check that article by same name doesn't exist in the topic in Classic Midgard API fashion.
Method _check_nap_instance
Checks, wether an instance of the NAP interface class has already been created and creates it if not.
Method _check_page_vars
Check $_REQUEST for variables and sets internal status accordingly
Method _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.
Method _create_attachment_location
Internal helper, computes an MD5 string which is used as an attachment location.
Method _create_parameter_object
Internal helper, which creates a new parameter object. ACL checks have to be done by the callee.
Method _delete_privileges
Internal helper function, called upon successful delete. It will unconditionally drop all privileges assigned to the given object.
Method _delete_topic_update_index
Method _encode_req_feat
Encodes the features list to decimal value used by the server
Method _get_content_error
Look for error messages in content and decode them, returns false on no errors found, true on errors found.
Method _get_http_error
Server HTTP level error decode
Method _get_parameter_object
Internal helper function that retrieves a parameter object for a given domain/name pair.
Method _get_remote_error
Method _get_remote_error
Method _handler_approval
Method _handler_configdm
Datamanager configuration handler interface.
Method _handler_configdm_prepare
Helper function that prepares a datamanager instance for the configdm handler.
Method _handler_config_dm
Datamanager configuration handler interface.
Method _handler_config_dm_prepare
Helper function that prepares a datamanager instance for the config_dm handler.
Method _handler_create
Method _handler_delete
Method _handler_edit
Method _handler_metadata
Method _handler_welcome_deprecated
Fallback handler, shown in case no handler has been defined anymore by deprecated AIS classes. Displays a simple welcome page.
Method _list_parameters_all
List all parameters of an object.
Method _list_parameters_domain
List the parameters of a single domain of an object.
Method _load_configuration
Loads the configuration file specified by the component configuration
Method _load_plugin
This helper loads the specified namespace/plugin combo.
Method _load_plugin_class
Loads the file/snippet neccessary for a given plugin, according to its configuration.
Method _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.
Method _on_can_handle
Component specific initialization code for the can_handle phase.
Method _on_check_document_permissions
Verif an indexer document's permissions. This is used for custom, advanced access control within a components domain.
Method _on_created
Method _on_created
Created callback, triggers watches on the parent(!) object.
Method _on_created
Updates all computed members and adds a midgard:owner privilege for the person itself on the record.
Method _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().
Method _on_creating
Pre-Creation hook, which validates the $author field for correctness.
Method _on_deleted
Deletes event membership records accociated with this event.
Method _on_deleted
Deleted callback, triggers watches on the parent(!) object.
Method _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.
Method _on_execute
This is the actual handler operation, it is called only after successful operation.
Method _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.
Method _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.
Method _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.
Method _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.
Method _on_handler_configdm_saved
Event handler, called when the configuration system has successfully stored new configuration settings.
Method _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.
Method _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.
Method _on_handler_config_dm_saved
Event handler, called when the configuration system has successfully stored new configuration settings.
Method _on_initialize
Initialization event handler, called at the end of the initialization process.
Method _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.
Method _on_initialize
Method _on_initialize
Initialization event handler, called at the end of the initialization process immediately before the request handler configuration is read.
Method _on_initialize
This callback is executed immediately after object constuction. You can initialize your class here.
Method _on_loaded
Updates all computed members.
Method _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.
Method _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).
Method _on_retrieve_vgroup_members
Retrieve all members of a given virtual group. This information may be cached by the framework.
Method _on_set_object
Event handler called after a new topic has been set. The configuration is already loaded at this point.
Method _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.
Method _on_updated
Method _on_updated
Updated callback, triggers watches on the parent(!) object.
Method _on_updated
Updates all computed members.
Method _on_updating
Pre-Update hook, which validates the $author field for correctness.
Method _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.
Method _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.
Method _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.
Method _on_watched_operation
This function is triggered at the end of the request for each watched operation that has been done during the request.
Method _prepare_handler
Helper function, which prepares the handler callback for execution.
Method _prepare_plugin
Prepares the actual plugin by adding all neccessary information to the request switch.
Method _prepare_request_switch
This private helper post-processes the initial information as set by the constructor.
Method _process_create_form
Method _process_delete_form
Method _process_edit_form
Method _qb_limits
sets LIMIT and OFFSET for requested page
Method _register_core_plugin_namespaces
This helper function registers the plugin namespaces provided from the MidCOM core.
Method _rewrite_timestamps_to_isodate
This function prepares the previously converted UNIX timestamps again for saving by converting them back to ISO 8859-1 Format.
Method _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.
Method _sanity_check
Method _sanity_check
Method _sanity_check
Method _sanity_check
Makes sure we have some absolutely required things properly set
Method _set_creator
This is an internal helper which updates the created/creator timestamp on a record if the corresponding fields exists.
Method _set_owner_privileges
This is an internal helper adds full privileges to the owner of the object.
Method _set_revisor
This is an internal helper which updates the revised/revisor timestamp on a record if the corresponding fields exists.
Method _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.
Method _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.
Method _show_create
Method _show_delete
Method _show_edit
Method _show_metadata
Method _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.
Method _update_computed_members
Synchronizes the $name, $rname, $emaillink and $homepagelink members with the members they are based on.
Method _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).
a
top
Variable $api_id
Method add_constraint
Method add_order
Page article.php
article.php in article.php
Page attachment.php
attachment.php in attachment.php
b
top
Method begin_group
c
top
Variable $client_id
Variable $count
Method can_handle
CAN_HANDLE Phase interface, checks against all registered handlers if a vaild one can be found. You should not need to override this, instead, use the HANDLE Phase for further checks.
Method can_handle
Relays the can_handle call to the component, instantinating a new AIS or Site class respecitvly. It will execute can_handle of that class, retruning its result to MidCOM.
Method check_document_permissions
Verif an indexer document's permissions.
Method close
This function closes the open write handle obtained by the open() call again.
Method configure
Configures the component for usage. The configuration is merged, and, if neccessary, an existing handler object is purged.
Method copy_from_file
Updates the contents of the attachments with the contents of the file specified.
Method copy_from_handle
Updates the contents of the attachments with the contents of the resource identified by the filehandle passed.
Method count
Method count_pages
Returns number of total pages for query
Method count_unchecked
Method count_unchecked
Wraps to count since midgard QB does not support said method yet
Method create
Execute a DB create of the object passed. This will call the corresponding event handlers. Calling sequence with method signatures:
Method createattachment
Legacy Midgard Compatibility function.
Method create_attachment
Creates a new attachment at the current object and returns it for usage.
Method create_new_privilege_object
This helper function will create a new privilege object for the object in question.
Page cron_handler.php
cron_handler.php in cron_handler.php
d
top
Variable $display_pages
Method delete
Execute a DB delete of the object passed. This will call the corresponding event handlers. Calling sequence with method signatures:
Method delete_attachment
Delete an attachment on an arbitary object by its name.
Method delete_parameter
Delete a parameter of a given object to the value specified.
Page dbobject.php
dbobject.php in dbobject.php
e
top
Variable $emaillink
Read-Only variable, consisting of ta complete mailto A HREF tag to the set email addres.
Variable $errcode
The last error code of the component. Set this when the request handling fails.
Variable $errcode
Variable $errcode
The last error code of the component. Set this when the request handling fails.
Variable $errstr
The last error message of the component. Set this when the request handling fails.
Variable $errstr
Variable $errstr
The last error message of the component. Set this when the request handling fails.
Method end_group
Method errcode
Returns the last error code of the component.
Method errstr
Returns the last error message of the component.
Method execute
Method execute
Method execute
Execute the handler, this calls the corresponding event handler.
Method execute_unchecked
Method execute_unchecked
Wraps to count since midgard QB does not support said method yet
Page element.php
element.php in element.php
Page eventmember.php
eventmember.php in eventmember.php
Page event.php
event.php in event.php
f
top
Variable $features
Method factory
g
top
Method get_attachment
Retrieves an attac hment on an arbitary object by its name.
Method get_attachment_qb
Returns a prepared query builder that is already limited to the attachments of the given object.
Method get_author
Returns the User-Object representing the author of the record. This is the object behind the $author member of this object.
Method get_balance
Returns (bool)false on error or whatever the GW returns Non-numeric balance should be supposed infinite.
Method get_balance
Returns either (int)balance on success or (bool)false on error
Method get_by_guid
This call wraps the original get_by_guid call to provide access control.
Method get_by_id
This call wraps the original get_by_id call to provide access control.
Method get_by_path
This call wraps the original get_by_guid call to provide access control.
Method 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.
Method get_current_leaf
Returns the currently selected leaf of the request.
Method get_leaves
Relays the get_leaves call to the NAP instance.
Method 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.
Method get_metadata
Returns the metadata of the currently selected object. It uses a callback to determine a metadata object which contains the neccessary information.
Method get_metadata
This helper will return a reference to the metadata class accociated with the given object instance.
Method get_node
Relays the get_node call to the NAP instance.
Method 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.
Method get_parameter
Return a parameter from the database.
Method get_parent
Returns the the parent object. Tries to utilize the Memcache data, loading the actual information only if it is not cached.
Method 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.
Method get_parent_guid_uncached
Returns the Parent of the Snippet.
Method get_parent_guid_uncached
Returns the Parent of the Topic, which is always another topic.
Method get_parent_guid_uncached
Returns the Parent of the Snippet.
Method get_parent_guid_uncached
Returns the Parent of the Snippet.
Method get_parent_guid_uncached
Returns the Parent of the Page.
Method get_parent_guid_uncached
Returns the Parent of the Page.
Method get_parent_guid_uncached
Returns the Parent of the Eventmmeber. This is the event it is assinged to.
Method 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).
Method 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.
Method get_parent_guid_uncached
Returns the group the membership record is accociated with. This allows group owners to manage their members.
Method get_parent_guid_uncached
Returns the Parent of the Element. This is the style the element is assinged to.
Method get_parent_guid_uncached
Gets the parent object of the current one.
Method 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.
Method get_plugin_handlers
Method get_privilege
Looks up a privilege by its parameters.
Method get_privileges
Read all privilege records from the object in question and return them accordingly.
Page group.php
group.php in group.php
h
top
Variable $homepagelink
Read-Only variable, consisting of a complete A HREF tag to homepage if set.
Method handle
This method handles the request using the handler determined by the can_handle check.
Method handle
Relays the handle call to the component.
Page handler.php
handler.php in handler.php
Page host.php
host.php in host.php
i
top
Method initialize
Initializes the component. It will first load all dependent libraries and then include the snippets referenced by the component. The components local data storage area is initialized and referenced into the global storage area.
Method initialize
Initialize the NAP class, sets all state variables.
Method initialize
Initializes the request handler class, called by the component interface after instantination. Required to allow safe $this references during startup.
Method initialize
Override initialization to add a default handler in case no admin handlers are defined. This is a transitional measure to have on-site-components not block AIS usage.
Method initialize
This initializes the cron job. Before calling the on_initialize callback, it prepares the instance with various configuration variables and helper references.
Method initialize
Initializes the request handler class, called by the component interface after instantination. Required to allow safe $this references during startup.
Method is_internal
Relays the is_internal check for the current object.
Method is_object_visible_onsite
This is a metadata helper that maps to the metadata onsite visibility check function, making checks against visibility far easier.
Method is_owner
Checks, wether the person given to the function is an owner (read: has write access) to the object in question.
Page interface.php
interface.php in interface.php
l
top
Variable $location
Method listattachments
Legacy Midgard Compatibility Method
Method list_attachments
Returns a complete list of attachments for the current object. If there are no attachments, an empty array is returned.
Method list_parameters
List the parameters of an object. This will either list the parameters of a single domain or the complete set of parameters, depending on the value of $domain.
Method load
Loads the object identified by the ID from the database. After a successful load by either get_by_id or get_by_guid methods or the copy constructor run, the _on_loaded event handler is called. Thus, you have this calling sequence:
m
top
Page member.php
member.php in member.php
Method midcom_admin_content_topic_plugin
Class midcom_admin_content_topic_plugin
Execution handler subclass, to be used with the request switch in midcom_baseclasses_components_request.
Method midcom_baseclasses_components_cron_handler
Empty constuctor yet, just calls the base class.
Class midcom_baseclasses_components_cron_handler
This is the base class used for all jobs run by MidCOM CRON.
Method midcom_baseclasses_components_handler
Main constructor does not do much yet, it shouldn't be overridden though, use the _on_initilize event handler instead.
Class midcom_baseclasses_components_handler
Execution handler subclass, to be used with the request switch in midcom_baseclasses_components_request.
Class midcom_baseclasses_components_interface
Baseclass to use for the component interface in MIDCOM.
Method midcom_baseclasses_components_interface
Initialize the class, nothing to do yet.
Method midcom_baseclasses_components_navigation
Create the navigation instance, the constructor doesn't do anything yet, startup is handled by initialize().
Class 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.
Method midcom_baseclasses_components_purecode
Initialize all member variables, remember to set $_component before calling this constructor from your derived classes.
Class midcom_baseclasses_components_purecode
Base class used for writing pure code components, retrieves a few common variables from the components current environment.
Method midcom_baseclasses_components_request
Initializes the class, only basic variable assignement. Your own constructor should call this function first.
Class midcom_baseclasses_components_request
Base class to encaspulate a request to the component, instantinated by the MidCOM component interface.
Class midcom_baseclasses_components_request_admin
Base class to encaspulate a admin request to the component, instantinated by the MidCOM component interface.
Method midcom_baseclasses_components_request_admin
Initialize the toolbar references after constructing the base class.
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.
Class 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.
Method midcom_baseclasses_core_object
Class midcom_baseclasses_database_article
MidCOM level replacement for the Midgard Article record with framework support.
Method midcom_baseclasses_database_article
Class midcom_baseclasses_database_attachment
MidCOM level replacement for the Midgard Attachment record with framework support.
Method midcom_baseclasses_database_attachment
Class midcom_baseclasses_database_element
MidCOM level replacement for the Midgard Style Element record with framework support.
Method midcom_baseclasses_database_element
Method midcom_baseclasses_database_event
Class midcom_baseclasses_database_event
MidCOM level replacement for the Midgard Event record with framework support.
Method midcom_baseclasses_database_eventmember
Class midcom_baseclasses_database_eventmember
MidCOM level replacement for the Midgard Eventmember record with framework support.
Class midcom_baseclasses_database_group
MidCOM level replacement for the Midgard Group record with framework support.
Method midcom_baseclasses_database_group
Class midcom_baseclasses_database_host
MidCOM level replacement for the Midgard Host record with framework support.
Method midcom_baseclasses_database_host
Method midcom_baseclasses_database_member
Class midcom_baseclasses_database_member
MidCOM level replacement for the Midgard Membership record with framework support.
Class midcom_baseclasses_database_page
MidCOM level replacement for the Midgard Page record with framework support.
Method midcom_baseclasses_database_page
Class midcom_baseclasses_database_pageelement
MidCOM level replacement for the Midgard PageElement record with framework support.
Method midcom_baseclasses_database_pageelement
Class midcom_baseclasses_database_person
MidCOM level replacement for the Midgard Person record with framework support.
Method midcom_baseclasses_database_person
Method midcom_baseclasses_database_snippet
Class midcom_baseclasses_database_snippet
MidCOM level replacement for the Midgard Snippet record with framework support.
Method midcom_baseclasses_database_snippetdir
Class midcom_baseclasses_database_snippetdir
MidCOM level replacement for the Midgard SnippetDir record with framework support.
Class midcom_baseclasses_database_style
MidCOM level replacement for the Midgard Style record with framework support.
Method midcom_baseclasses_database_style
Class midcom_baseclasses_database_topic
MidCOM level replacement for the Midgard Topic record with framework support.
Method midcom_baseclasses_database_topic
Class midcom_core_handler_configdm
Handler for Datamanger driven component configuration
Method midcom_core_handler_configdm
Method msg_to_latin1
n
top
Variable $name
Read-Only variable, consisting of "$firstname $lastname".
Page navigation.php
navigation.php in navigation.php
Method net_nemein_ping_pinger
Initializes the class and stores the selected person to be shown The argument should be a MidgardPerson object. In the future DM Array format will also be supported.
Class net_nemein_ping_pinger
Base class used for writing pure code components, retrieves a few common variables from the components current environment.
o
top
Page object.php
object.php in object.php
Method open
Opens the attachment for file IO, the semantics match the original
Method open_attachment
Opens an attachment for File IO operations.
Method org_openpsa_documents_directory
Class org_openpsa_documents_directory
org_openpsa_documents_directory in directory_midcomdba.php
Wrapper for midcom_baseclasses_database_topic
Class org_openpsa_qbpager
org_openpsa_qbpager in pager.php
Pages QB resultsets
Method org_openpsa_qbpager
Method org_openpsa_qbpager_direct
Class org_openpsa_qbpager_direct
org_openpsa_qbpager_direct in pager_direct.php
Pages QB resultsets (uses midgard QB directly)
Method org_openpsa_smslib
Class org_openpsa_smslib
org_openpsa_smslib in factory.php
Loader for the supported SMS interfaces
Class org_openpsa_smslib_clickatell
Intarface to Clickatell API
Method org_openpsa_smslib_clickatell
Class org_openpsa_smslib_email2sms
Generic email -> SMS gateway backend
Method org_openpsa_smslib_email2sms
Class org_openpsa_smslib_messto
Intarface to messto API for sending SMS, MMS, Wap-push etc
Method org_openpsa_smslib_messto
Method org_openpsa_smslib_tambur
Class org_openpsa_smslib_tambur
Intarface to Tambur API for sending SMS, MMS, Wap-push etc
p
top
Variable $password
Page purecode.php
purecode.php in purecode.php
Page pageelement.php
pageelement.php in pageelement.php
Page page.php
page.php in page.php
Page person.php
person.php in person.php
Method ping
Method ping_object
Method print_error
This helper function echoes the error message to the client, automatically appending the classname to the prefix. If you want to log the error, you have to take care of this yourself.
r
top
Variable $results_per_page
Variable $rname
Read-Only variable, consisting of "$lastname, $firstname".
Page request_admin.php
request_admin.php in request_admin.php
Page request.php
request.php in request.php
Method read_array_from_file
This helper function reads a file from disk and evaluates its content as array.
Method read_array_from_snippet
This helper function reads a snippet and evaluates its content as array.
Method refresh
This is a simple wrapper with (currently) no additional functionality over get_by_id that resynchronizes the object state with the database.
Method register_plugin_namespace
This function creates a new plugin namespace and maps the configuration to it.
Method reindex
This new interface function will initiate a reindex run for the given component and topic. See the _on_reindex() event handler for details.
Method 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).
Method retrieve_vgroup_members
Retrieve all members of a given virtual group. This information may be cached by the framework.
s
top
Page snippetdir.php
snippetdir.php in snippetdir.php
Page snippet.php
snippet.php in snippet.php
Page style.php
style.php in style.php
Method send_mms
Method send_sms
Method sends any SMS deliverable data, handles encoding so when sending logos etc, provide msg and udh as binary.
Method send_sms
Method sends any SMS deliverable data, handles encoding so when sending logos etc, provide msg and udh as binary.
Method send_sms
Method sends any SMS deliverable data, handles encoding so when sending logos etc, provide msg and udh as binary.
Method send_sms
Method set_lang
Method set_limit
Method set_object
Set a new content object. This updates the local configuration copy with the topic in question. It calls the event handler _on_set_object after initializing everything in case you need to do some custom initializations as well.
Method set_object
Releays the set_object call to the nap instance. Checks if the NAP instance has already been created beforehand.
Method set_offset
Method set_parameter
Set a parameter of a given object to the value specified.
Method set_privilege
Set a privilege on an object.
Method show
Display the content, it uses the handler as determined by can_handle.
Method show_content
Relays the show content call to the component, invoking output.
Method show_pages
Displays page selector
Method stat
Simple wrapper for mgd_stat_attachment.
t
top
Page topic.php
topic.php in topic.php
Method trigger_watch
This function delegates all watched operations, in two phases. First, the general _on_watched_operation handler is called, to allow for handling generic operations. After that, the individual watches are called, to allow for more specific processing.
u
top
Variable $uri
Variable $uri
Variable $uri
Variable $user
Method unset_all_privileges
Unsets all privilege on an object .
Method unset_privilege
Unset a privilege on an object (e.g. set it to INHERIT).
Method update
Execute a DB update of the object passed. This will call the corresponding event handlers. Calling sequence with method signatures:
a b c d e f g h i l m n o p r s t u _