[midcom] element index

Package indexes

All elements
a b c d e f g h i l m n o p q r s t u v w _
_
top
Variable $_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.
Variable $_all_groups
Lists all groups in which a user is a member, both directly and indirectly.
Variable $_basicnav
A reference to the basicnav instance in use.
Variable $_basicnav
A reference to the NAP instance we belong to.
Variable $_body
The parsed body.
Variable $_cache
Holds the values alread read from the database.
Variable $_cached_host_name
Host name cache to avoid computing it each time.
Variable $_cached_host_prefix
Host prefix cache to avoid computing it each time.
Variable $_cached_object
Cached content object, based on $objectguid.
Variable $_cached_page_prefix
Page prefix cache to avoid computing it each time.
Variable $_cached_parent_group
Contains the parent of the current group, cached for repeated accesses.
Variable $_client
midcom_application::$_client in application.php
The client status array.
Variable $_component
Internal state variable, the component we are assigned to.
Variable $_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.
Variable $_component_properties
This is a part of the component cache. It stores the properties of the already loaded components.
Variable $_constraint_count
This is an internal count which is incremented by one each time a constraint is added.
Variable $_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.
Variable $_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.
Variable $_context
Current context
Variable $_contextid
The context ID we're accociated with.
Variable $_curobject
Stores a copy of the last parsed object. Type is stored in $_curtype.
Variable $_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.
Variable $_currentcomponent
The active component.
Variable $_currentcontext
Contains the ID of the currently active context or FALSE is none is active.
Variable $_currentleaf
The GUID of the currently active leaf.
Variable $_current_prefix
Current logging prefix
Variable $_curtype
Stores the type of $_curobject, represented by one of the MIDCOM_HELPER_URLPARSER_... constants.
Variable $_curURL
This is the URL to the currently requested object in the form
Variable $_datamanager
Datamanager instance for the given object.
Variable $_direct_groups
Lists all groups in which a user is an immediate member.
Variable $_enabled
Flag which is true if the debugger is enabled.
Variable $_filedirs
Path to filestyles.
Variable $_filename
Logfile name
Variable $_filename
The file currently being processed.
Variable $_global
Globally assigned configuration data.
Variable $_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.
Variable $_i18n
I18n service object reference, used for charset conversions.
Variable $_inheritance_chains
This array lists all groups the user is a member in orderd by their inheritance
Variable $_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.
Variable $_jshead
midcom_application::$_jshead in application.php
String with all JavaScript declarations for the page's head.
Variable $_jsonload
Array with all methods for the BODY's onload event.
Variable $_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.
Variable $_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:
Variable $_limit
The number of records to return to the client at most.
Variable $_link_head
String with all link elements to be included in a page's head.
Variable $_loaded
This indexed array stores the MidCOM paths of all loaded components. Its elements are used as keys for the cache storage.
Variable $_loaded_leaves
This array holds a list of all topics for which the leaves have been loaded.
Variable $_loader
This is a reference to the systemwide component loader class.
Variable $_local
Locally overriden configuration data.
Variable $_localname
Internal state variable, the local vgroup name within our component.
Variable $_loglevel
Current loglevel
Variable $_mail
PEAR class in use.
Variable $_mail_mime
PEAR class in use.
Variable $_memberships
This array contains the GUIDs of all groups the user authenticated during the constructor was part of. It is used for check_memeberships.
Variable $_merged
Merged, current configuration state.
Variable $_meta_head
string with all metatags to go into the page head.
Variable $_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.
Variable $_nap_cache
A reference to the NAP cache store
Variable $_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.
Variable $_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:
Variable $_object_head
string with all object tags to go into a page's head.
Variable $_offset
The offset of the first record the client wants to have available.
Variable $_origArgc
The argc value that has been used to initialize the URL parser.
Variable $_origArgv
The argv value that has been used to initialize the URL parser.
Variable $_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.
Variable $_parameters
The parameters to use for the Mail template.
Variable $_parameters_encoding
The parameter character encoding hint, if unknown, this is null.
Variable $_parsed
Flag indicating if the template has already been parsed
Variable $_parser
midcom_application::$_parser in application.php
The URL parser.
Variable $_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.
Variable $_prefix
midcom_application::$_prefix in application.php
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.
Variable $_prefixes
Prefix stack
Variable $_privileges
List of all privileges assigned to that user. It is to be considered read-only.
Variable $_qb
midcom_core_querybuilder::$_qb in querybuilder.php
The query builder instance that is internally used.
Variable $_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.
Variable $_raw_data
The raw manifest array as loaded from disc.
Variable $_real_class
This private helper holds the type that the application expects to retrieve from this instance.
Variable $_root
The GUID of the MidCOM Root Content Topic
Variable $_roottopic
Stores the Topic from which the parsing has started.
Variable $_schemadb
The schema database URL to use for this instance.
Variable $_scope
Current style scope
Variable $_services
This is the interface to MidCOMs Object Services. Each service is indexed by its string-name (for example "i18n" for all i18n stuff).
Variable $_snippetdir
Default style path
Variable $_snippets
Default style element cache
Variable $_standard_midgard_sortparams
A list of standard Midgard sorting orders.
Variable $_status
midcom_application::$_status in application.php
Integer constant resembling the current MidCOM state.
Variable $_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.
Variable $_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.
Variable $_styledirs
The stack of directories to check for styles.
Variable $_styledirs_append
List of styledirs to handle after componentstyle
Variable $_styledirs_prepend
List of styledirs to handle before componentstyle
Variable $_styles
Style element cache
Variable $_style_head
String with all css styles to go into a page's head.
Variable $_subject
The parsed subject.
Variable $_template
The Mail template, a mailtemplate datamanger type.
Variable $_topic
Current topic
Variable $_tried_to_load
This array contains a list of components that were tried to be loaded.
Variable $_watches
This array contains all registered MidCOM operation watches. They are indexed by operation and map to components / libraries which have registered to classes.
Variable $_watch_notifications
This is an array containing a list of watches that need to be executed at the end
Page _basicnav.php
_basicnav.php in _basicnav.php
Page _componentloader.php
_componentloader.php in _componentloader.php
Page _dbfactory.php
_dbfactory.php in _dbfactory.php
Page _styleloader.php
_styleloader.php in _styleloader.php
Method _charset_convert
Internal helper doing character conversion for the parameters.
Method _checkobject
Check, wether a given component is able to handle the current request.
Method _check_index
Private helper function which checks an index for validity.
Method _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.
Method _check_local_array
Check local data array for validity
Method _check_toolbar_permissions
Checks for the toolbar permissions, uses the cache variables $_user and $_admin to cache the data against repeated calls.
Method _create_context
Create and prepare a new component context.
Method _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.
Method _format_array
Helper function to convert an array into a string representation
Method _format_dm
Helper function to convert a filled datamanager instance into a string representation.
Method _format_object
Helper function to convert an object into a string representation.
Method _generate_class_manifest_cache
This function is called from the class manifest loader in case of a cache miss.
Method _getComponentSnippetdir
Gets the component styledir assosiated with the topics component.
Method _getComponentStyle
Gets the component style.
Method _get_element_in_styletree
Returns a style element that matches $name and is in style $id.
Method _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.
Method _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.
Method _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.
Method _get_node_from_database
Reads a node data structure from the database, completes all defaults and derived properties (like ViewerGroups).
Method _get_privileges
Return a list of privileges assigned directly to the user.
Method _get_style_id_from_path
Returns the id of the style described by $path.
Method _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.
Method _handle
Handle the request.
Method _init
Initialize the object, used by the factory function.
Method _invalidate_cache
This is an internal helper called after all I/O operation which invalidates the memcache accordingly.
Method _is_magic_assignee
Internal helper, encaspulating the check wether an assignee string is a known magic assignee.
Method _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.
Method _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.
Method _load
Helper function that will look up a group and assign the object to the $storage member.
Method _load
Helper function that will look up a group and assign the object to the $storage member.
Method _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.
Method _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.
Method _load
Helper function that will look up a user in the Midgard Database and assign the object to the $storage member.
Method _loadconfig
Load the configuration for a given object.
Method _loadNode
This function is the controlling instance of the loading mechanism. It
Method _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).
Method _load_all_groups
Loads the complete group hierarchy the user is a member in.
Method _load_direct_groups
Loads all groups the user is a direct member and assignes them to the _direct_groups member.
Method _load_leaves
Loads the leaves for a given node from the cache or database.
Method _load_manifest
This internal helper loads and evaluates the given manifest file.
Method _load_privileges
Load the privileges from the database. This uses the inheritance chains loaded by _load_all_groups().
Method _merge_privileges
Merge privileges helper. It loads the privileges of the given object and loads all "SELF" assignee privileges into the class.
Method _merge_styledirs
This function merges the prepend and append styles with the componentstyle. This happens when the enter_context function is called.
Method _on_creating
Update the object timestamp.
Method _on_updating
Update the object timestamp.
Method _output
Execute the output callback.
Method _populate_client
Populates the client status array that can be queried using the get_client() method.
Method _process
Process the request
Method _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.
Method _process_tempfile
This will replace the original file with the processed copy of $tmpfile, deleting the temporary file afterwards.
Method _query_all_privileges
This is an internal helper function, which may only be called statically.
Method _render_link_item
Helper function, renders a regular a href... based link target.
Method _render_post_item
Helper function, renders a form based link target.
Method _retrieve_value
Retrieves a given metadata key, postprocesses it where neccessary and stores it into the local cache.
Method _set_context_data
Update the component context
Method _set_current_context
Sets a new context, doing some minor sanity checking.
Method _showdebuglog
Shows the contents of the current debuglog. You have to enable this interface
Method _store_from_object
This function will fetch the configuration data stored in the parameter domain $path of the Midgard Object $object.
Method _update_cache
This method will merge the local and the global configuration arrays into the cache array.
Method _update_leaflist_urls
This helper updates the URLs in the reference-passed leaf list.
Method _write_leaves_to_cache
Writes the leaves passed to this function to the cache, assigning them to the specified node.
a
top
Variable $argc
The currently remaining argument count.
Variable $argv
The currently remaining argument list.
Variable $assignee
The Assignee identifier.
Variable $auth
midcom_application::$auth in application.php
Authentication / Authorization service.
Method add_constraint
Add a constraint to the query builder.
Method add_item
This function will add an Item to the toolbar. Set before to the index of the element before which you want to insert the item or use -1 if you want to append an item. Alternativly, instead of specifying an index, you can specify an URL instead.
Method add_item_to_index
This function adds an item to another item by either adding the item to the MIDCOM_TOOLBAR_SUBMENU or creating a new subtoolbar and adding the item there.
Method add_jscript
Register JavaScript Code for output directly in the page.
Method add_jsfile
Register JavaScript File for referring in the page.
Method add_jsonload
Register a JavaScript method for the body onload event
Method add_link_head
Register a linkelement to be placed in the pagehead.
Method add_meta_head
Register a metatag to be added to the head element.
Method add_object_head
Register some object tags to be added to the head element.
Function add_option_to_configfile
Autoconf Script which scans the system for all required utilities and prerequisits.
Method add_order
Add a ordering constraint to the query builder.
Method add_style_head
Register a styleblock / style link to be added to the head element.
Method append_component_styledir
append the styledir of a component to the queue of styledirs.
Method append_styledir
Function append styledir
Method approve
Approves the object.
Page application.php
application.php in application.php
Page articlesfirst.php
articlesfirst.php in articlesfirst.php
Page autoconf.php
autoconf.php in autoconf.php
b
top
Method begin_group
Creates a new logical group within the query. They are set in parantheses in the final SQL and will thus be evaluated with precedence over the normal out-of-group constraints.
Method bind_to
Binds this toolbar instance to a DBA content object using the MidCOM toolbar service.
Method bind_view_to_object
Binds the current page view to a particular object. This will automatically connect such things like metadata and toolbars to the correct object.
c
top
Variable $cache
midcom_application::$cache in application.php
The main caching Engine which is responsible for the current page output.
Variable $classname
The class name to limit SELF privileges to.
Variable $class_definitions
A list of class definition filenames (all looked up in the components configuration directory).
Variable $class_style
The CSS class-Style rule that should be used for the toolbar.
Variable $componentloader
The component loader.
Variable $count
The number of records found by the last execute() run. This is -1 as long as no query has been executed. This member is read-only.
Variable $customdata
Custom place to extend the schema, the array holds data indexed by the component name they are relevant to.
Variable $customdata
Allow our users to add arbitary data to the toolbar. This is for example used to track which items have been added to a toolbar when it is possible that the adders are called repeatedly.
Method check_memberships
Check group memberships.
Method clean_item
Clean up an item that is added, making sure that the item has all the needed options and indexes.
Method codeinit
Initialize the URL parser and process the request.
Method collect_content_privileges
Collects all privileges applicable for a user over a content object.
Method content
Display the output of the component
Method convert
This function converts the image to the specified image format. It must be a suiteable extension to use with the Imagemagick convert utility. The file will not be renamed, you have to do this yourself.
Method convert_midgard_to_midcom
Helper function, it takes a Legacy Midgard object (pre MgdSchema) and converts it into one of the new MgdSchema based midcom_baseclasses_database_* objects.
Method count
Returns the number of elements matching the current query.
Method count_unchecked
This is a mapping to the real count function of the Midgard Query Builder. It is mainly intended when speed is important over accuracy, as it bypasses access control to get a fast impression of how many objects are available in a given query. It should always be kept in mind that this is a preliminary number, not a final one.
Page constants.php
constants.php in constants.php
Page convert_legacy_metadata.php
convert_legacy_metadata.php in convert_legacy_metadata.php
Page configuration.php
configuration.php in configuration.php
d
top
Variable $dbclassloader
Database class loader service.
Variable $dbfactory
Helper class which provides access to the MgdSchema driven Midgard Database.
Variable $denied
The number of objects for which access was denied.
Function debug_add
debug_add() in debug.php
Shortcut: Log a message
Function debug_dump_mem
debug_dump_mem() in debug.php
Shortcut: Dump the current memory usage and the delta to the last call of this function.
Function debug_pop
debug_pop() in debug.php
Shortcut: Restore the last debug prefix
Function debug_print_function_stack
Shortcut: Create a stack trace and dump it. Works only if XDEBUG is installed.
Function debug_print_r
debug_print_r() in debug.php
Shortcut: Dump a variable (by reference)
Function debug_print_type
debug_print_type() in debug.php
Shortcut: Dump a variables type (by reference)
Function debug_push
debug_push() in debug.php
Shortcut: Set a new debug prefix
Function debug_push_class
debug_push_class() in debug.php
Shortcut for adding a class/method debug prefix, the class name is obtained from the first parameter, the prefix is appended using ::$prefix notation.
Method delete
Deletes the current user account. This will cleanup all information accociated with the user that is managed by the core (like login sessions and privilege records).
Method disable
Disable the Debugger
Method disable_item
Set's an item's enabled flag to false.
Method disable_view_page
Dummy function to hide that this is not a midcom_admin_content_toolbar.
Method drop
Drop the privilge. If we are a known DB record, we delete us, otherwise we return silently.
Function dump_mem
dump_mem() in misc.php
Method dynamic_load
Dynamically execute a subrequest and insert its output in place of the function call.
Page debug.php
debug.php in debug.php
e
top
Method edit_current_page_url
This function provides an interface to construct links like "Edit this page".
Method enable
Enable the Debugger
Method enable_item
Set's an item's enabled flag to true.
Method end_group
Ends a group previously started with begin_group().
Method enter_context
Switches the context (see dymamic load). Private variables $_context, $_topic and $_snippetdir are adjusted.
Method execute
This function will execute the Querybuilder and call the appropriate callbacks from the class it is accociated to. This way, class authors have full control over what is actually returned to the application.
Method execute_unchecked
Temporary helper until execute can be optimized with rerunnable QBs, runs a query where limit and offset is taken into account prior to execution in the core.
Method execute_user_callback
Executes a custom image manipulation callback. The command name is the function that is searched. The function must use the following signature:
Method exec_query_builder
This function will execute the Querybuilder.
Method exifrotate
Automatic rotation for the image using EXIF tags.
Method exists
Checks for the existence of a configuration key.
f
top
Variable $failed
Number of E-Mails that failed sending.
Method fetch_article
Try to fetch an article.
Method fetch_attachment
Try to fetch an attachment.
Method fetch_object
Returns a copy of the currently active object that has been successfully parsed so far.
Method fetch_topic
Try to fetch a topic.
Method fetch_URL
Returns the URL to the currently selected object including the Midgard Page Prefix.
Method fetch_variable
Try to fetch an URL variable.
Method finish
midcom_application::finish() in application.php
Exit from the framework, execute after all output has been made.
g
top
Global $GLOBALS["midcom_debugger"]
Global debugger instance
Variable $guid
The GUID identifying this user, made directly available for easier linking.
Variable $guid
The guid of the object, it is cached for fast access to avoid repeated database queries.
Method gamma
Gamma-Adjustment of the image.
Method generate_error
Generate an error page.
Method get
Retrieve a configuration key
Method 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).
Method 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.
Method get_all
Retrieve a copy the complete configuration array.
Method 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.
Method get_all_privileges
This is a static helper function which lists all privileges assigned an object unfiltered.
Method 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.
Method 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.
Method get_breadcrumb_data
Construct source data for a breadcrumb line.
Method get_breadcrumb_line
Construct a breadcrumb line.
Method get_class_magic_default_privileges
These objects have no restrictions whatsoever directly assigned to them.
Method 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.
Method 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.
Method get_component_class
Returns a reference to an instance of the specified component's
Method get_component_loader
Return the reference to the component loader.
Method get_component_property
Returns a property value for the component identified by the
Method get_contentadmin_class
Returns a reference to an instance of the specified component's
Method 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.
Method get_content_topic
Method get_context_data
Access the MidCOM component context
Method get_current_context
Returns the ID of the currently active context. This is FALSE if there is no context running.
Method 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.
Method 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.
Method 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.
Method 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.
Method get_custom_context_data
Retrieve arbitary, component-specific information in the component context
Method get_datamanager
Return a Datamanager instance for the current object.
Method 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.
Method get_host_name
Retrieves the name of the current host, fully qualified with protocol and port.
Method get_host_prefix
Return the prefix required to build relative links on the current site.
Method 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.
Method 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.
Method 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.
Method 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.
Method 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.
Method get_leaf_toolbar
Compute a toolbar out of the NAP information for a given leaf.
Method get_leaf_uplink
Returns the ID of the node to which $leaf_id is accociated to, false on failure.
Method get_leaf_uplink
Returns the ID of the node to which $leaf_id is accociated to, false on failure.
Method 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.
Method 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.
Method get_midgard
A mgd_get_midgard replacement
Method get_name_translated
Populates and translates the name of the component.
Method get_nap_class
Returns a reference to an instance of the specified component's
Method 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.
Method 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.
Method get_node_toolbar
Compute a toolbar out of the NAP information for a given node.
Method 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.
Method 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.
Method get_object
A copy of the object referenced by the guid value of this privilege.
Method 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.
Method get_page_prefix
Return the prefix required to build relative links on the current site.
Method get_parameters
Returns the currently set parameters.
Method get_parameters_encoding
Retrieve the current parameter character encoding.
Method get_parent_group
Returns the parent group.
Method get_parent_group
Returns the parent group.
Method get_parent_guid
This is a helper function which determines the parent GUID for an existing GUID according to the MidCOM conten tree rules.
Method 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.
Method 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.
Method 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.
Method get_privileges
Returns the complete privilege set assigned to this user, taking all parent groups into account.
Method 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.
Method 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.
Method 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.
Method get_service
Return a reference to a given service.
Method get_sorted_list
Returns the sorted list for this topic according to our sorting criteria.
Method get_sorted_list
Method get_sorted_list
Method get_sorted_list
Method get_status
Get the current MidCOM processing state.
Method 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.
Method 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.
Method 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).
Method 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).
Page group_midgard.php
group_midgard.php in group_midgard.php
Page group.php
group.php in group.php
Page group_virtual.php
group_virtual.php in group_virtual.php
h
top
Variable $hide_invisible
Set this element to true to hide all items which are currently invisible according to the approval/scheduling settings made using Metadata. This must be set before executing the query.
Method header
midcom_application::header() in application.php
Sends a header out to the client.
Method hide_item
Set's an item's hidden flag to true.
Function hide_unapproved_photos
hide_unapproved_photos() in convert_legacy_metadata.php
i
top
Variable $i18n
midcom_application::$i18n in application.php
I18n service class
Variable $id
The identification string used to internally identify the user uniquely in the system. This is usually some kind of user:$guid string combination.
Variable $id
The identification string used to internally identify the group uniquely in the system. This is usually some kind of group:$guid string combination.
Variable $id_style
The CSS ID-Style rule that should be used for the toolbar.
Variable $items
The items in the toolbar. The array consists of Arrays outlined
Function ImageCopyResampleBicubic
Bicubic resampling of an Image, truecolor version
Function ImageCopyResampleBicubicPalette
Bicubic resampling of an Image, 256 color version
Function index_object
index_object() in index-legacy-attachments.php
Indexes a given object using the indexer passed to the function.
Method initialize
The initialization routin executes the _on_prepare_new_querybuilder callback on the class.
Method initialize
Main MidCOM initialization.
Method is_approved
Checks wether the article has been approved since its last editing.
Method is_enabled
Is the debugger enabled?
Method is_in_group
Checks wether a user is a member of the given group.
Method is_loaded
Returns TRUE if the component identified by the MidCOM path $url is already loaded and available for usage.
Method is_magic_assignee
Checks wether the current assignee is a magic assignee or an object identifier.
Method is_node_in_tree
Checks if the given node is within the tree of another node.
Method is_object_visible_onsite
This is a helper function which indicates wether a given object may be shown onsite taking approval, scheduling and visibility settings into account. The important point here is that it also checks the global configuration defaults, so that this is basically the same base on which NAP decides wether to show an item or not.
Method is_online
This is a shortcut for the method midcom_services_auth_sessionmgr::is_user_online().
Method is_visible
Checks the object's visibility regarding scheduling and the hide flag.
Page index-legacy-attachments.php
index-legacy-attachments.php in index-legacy-attachments.php
Page imagefilter.php
imagefilter.php in imagefilter.php
Page itemlist.php
itemlist.php in itemlist.php
l
top
Method leave_context
Switches the context (see dymamic load). Private variables $_context, $_topic and $_snippetdir are adjusted.
Method list_all_memberships
Retrieves a list of groups for which this user is a member, both directly and indirectly.
Method list_child_elements
List all child elements, nodes and leaves alike, of the node with ID $parent_node_id. For every child element, an array of ID and type (node/leaf) is given as
Method list_leaves
Lists all leaves of $parent_node. If there are no leaves you will get an empty array, if there was an error (for instance an unknown parent node ID) you will get FALSE.
Method list_leaves
Lists all leaves of $parent_node. If there are no leaves you will get an empty array, if there was an error (for instance an unknown parent node ID) you will get FALSE.
Method list_loaded_components
Retrieve a list of all loaded components. The Array will contain an unsortet collection of MidCOM Paths.
Method list_members
Retrieves a list of users for which are a member in this group.
Method list_members
Retrieves a list of users for which are a member in this group.
Method list_members
Retrieves a list of users for which are a member in this group.
Method list_memberships
This method returns a list of all virtual groups in which the MidCOM user passed is a member.
Method list_memberships
This method returns a list of all groups in which the MidCOM user passed is a member.
Method list_memberships
Retrieves a list of groups for which this user is an immediate member.
Method list_memberships
This method returns a list of all groups in which the MidCOM user passed is a member.
Method list_nodes
Lists all Sub-nodes of $parent_node. If there are no subnodes you will get an empty array, if there was an error (for instance an unkown parent node ID) you will get FALSE.
Method list_nodes
Lists all Sub-nodes of $parent_node. If there are no subnodes you will get an empty array, if there was an error (for instance an unkown parent node ID) you will get FALSE.
Method load
This function will invoke _load directly. If the loading process is unsucessful, it will call generate_error.
Method load_all
This function tries to load all available components by traversing
Method load_all_manifests
This function is called during system startup and loads all component manifests from the disk. The list of manifests to load is determined using a find shell call and is cached using the phpscripts cache module.
Method load_datamanager
Loads the datamanager for this instance. This will patch the schema in case we are dealing with an article.
Method load_graceful
This function will invoke _load directly. If the loading process is unsucessful, false is returned.
Method load_library
Load a code library
Method load_manifest
Load a manifest from the disk and add it to the $manifests list.
Method load_snippet
Method log
midcom_debug::log() in debug.php
Log a message
Page list_helpers.php
list_helpers.php in list_helpers.php
m
top
Variable $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.
Variable $metadata
The metadata service.
Variable $midgard
midcom_application::$midgard in application.php
Contains the output of get_midgard. You can directly access it here.
Function mgd_delete_extensions
Delete all extensions (parameters and attachments) to a Midgard object
Constant MGD_ERR_ACCESS_DENIED
Constant MGD_ERR_DUPLICATE
MGD_ERR_DUPLICATE in misc.php
Constant MGD_ERR_ERROR
MGD_ERR_ERROR in misc.php
Constant MGD_ERR_HAS_DEPENDANTS
Constant MGD_ERR_INTERNAL
MGD_ERR_INTERNAL in misc.php
Constant MGD_ERR_INVALID_NAME
Constant MGD_ERR_INVALID_OBJECT
Constant MGD_ERR_NOT_CONNECTED
Constant MGD_ERR_NOT_EXISTS
MGD_ERR_NOT_EXISTS in misc.php
Constant MGD_ERR_NOT_OBJECT
MGD_ERR_NOT_OBJECT in misc.php
Constant MGD_ERR_NO_MEM
MGD_ERR_NO_MEM in misc.php
Constant MGD_ERR_OBJECT_NAME_EXISTS
Constant MGD_ERR_OBJECT_NO_PARENT
Constant MGD_ERR_OBJECT_NO_STORAGE
Constant MGD_ERR_OK
MGD_ERR_OK in misc.php
Constant MGD_ERR_QUOTA
MGD_ERR_QUOTA in misc.php
Constant MGD_ERR_RANGE
MGD_ERR_RANGE in misc.php
Constant MGD_ERR_SG_NOTFOUND
Constant MGD_ERR_SITEGROUP_VIOLATION
Function mgd_fetch_to_array
Transforms a fetchable into an ID-array
Function mgd_get_createstr
Get the constructor string for an object's class.
Function mgd_group_id_array
Sort and group an Array of object IDs
Function mgd_include_snippet_php
PHP-level implementation of the Midgard Preparser language construct mgd_include_snippet. Same semantics, but probably a littlebit slower.
Function mgd_is_group_in_group_tree
Helper function to check wether a given group is a subgroup of another one.
Function mgd_is_guid
mgd_is_guid() in misc.php
This funciton validates wether the argument passed is a syntactically valid GUID.
Function mgd_list_persons_in_group_all
List all members in a group.
Function mgd_load_custom_fields_param
Load a number of variables into parameters and attach them to the Midgard object.
Function mgd_load_var_from_attachment
Load a variable form an attachment to a Midgard object.
Function mgd_memberships_to_gid
Transforms a membership fetchable to an Group-ID Array
Function mgd_memberships_to_uid
Transforms a membership fetchable to an Person-ID Array
Function mgd_save_custom_fields_param
Save a number of variables into parameters on an arbitary Midgard object.
Function mgd_save_var_as_attachment
Save a variable as attachment to an Midgard object. Type is preserved through serialization.
Function mgd_set_errno
mgd_set_errno() in misc.php
Function mgd_show_element
mgd_show_element() in misc.php
Function mgd_sort_id_array
Sort an Array of object IDs
Function mgd_sort_object_array
Sort an Array of objects
Page manifest.php
manifest.php in manifest.php
Page mailtemplate.php
mailtemplate.php in mailtemplate.php
Page metadata.php
metadata.php in metadata.php
Page misc.php
misc.php in misc.php
Page midcom.php
midcom.php in midcom.php
Class midcom_application
midcom_application in application.php
Main controlling instance of the MidCOM Framework
Constant MIDCOM_CLIENT_IE
MIDCOM_CLIENT_IE in constants.php
Constant MIDCOM_CLIENT_MAC
MIDCOM_CLIENT_MAC in constants.php
Constant MIDCOM_CLIENT_MOZILLA
MIDCOM_CLIENT_MOZILLA in constants.php
Constant MIDCOM_CLIENT_NETSCAPE
MIDCOM_CLIENT_NETSCAPE in constants.php
Constant MIDCOM_CLIENT_OPERA
MIDCOM_CLIENT_OPERA in constants.php
Constant MIDCOM_CLIENT_UNIX
MIDCOM_CLIENT_UNIX in constants.php
Constant MIDCOM_CLIENT_WIN
MIDCOM_CLIENT_WIN in constants.php
Constant MIDCOM_CONFIG_FILE
MIDCOM_CONFIG_FILE in midcom.php
Constant MIDCOM_CONTEXT_ANCHORPREFIX
Constant MIDCOM_CONTEXT_COMPONENT
MIDCOM_CONTEXT_COMPONENT in constants.php
Constant MIDCOM_CONTEXT_CONTENTTOPIC
Constant MIDCOM_CONTEXT_CUSTOMDATA
MIDCOM_CONTEXT_CUSTOMDATA in constants.php
Constant MIDCOM_CONTEXT_LASTMODIFIED
Constant MIDCOM_CONTEXT_NAP
MIDCOM_CONTEXT_NAP in constants.php
Constant MIDCOM_CONTEXT_OUTPUT
MIDCOM_CONTEXT_OUTPUT in constants.php
Constant MIDCOM_CONTEXT_PAGETITLE
MIDCOM_CONTEXT_PAGETITLE in constants.php
Constant MIDCOM_CONTEXT_PERMALINKGUID
Constant MIDCOM_CONTEXT_REQUESTTYPE
Constant MIDCOM_CONTEXT_ROOTTOPIC
MIDCOM_CONTEXT_ROOTTOPIC in constants.php
Constant MIDCOM_CONTEXT_SUBSTYLE
MIDCOM_CONTEXT_SUBSTYLE in constants.php
Method midcom_core_group
The constructor retrieves the group indentified by its name from the database and prepares the object for operation.
Class midcom_core_group
midcom_core_group in group.php
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.
Method midcom_core_group_midgard
The constructor retrieves the group indentified by its name from the database and prepares the object for operation.
Class midcom_core_group_midgard
midcom_core_group_midgard in group_midgard.php
MidCOM group implementation supporting Midgard Groups.
Method midcom_core_group_virtual
The constructor retrieves the virtual group indentified by its identifier by loading the corresponding component.
Class midcom_core_group_virtual
midcom_core_group_virtual in group_virtual.php
MidCOM group implementation supporting Virtual groups.
Method midcom_core_manifest
The constructor loads the manifest indicated by the filename passed to it.
Class midcom_core_manifest
midcom_core_manifest in manifest.php
This class encaspulates a the information contained in a component manifest.
Method midcom_core_privilege
The Default constructor creates an empty privilege, if you specify another privilege object in the constructor, a copy is constructed.
Class midcom_core_privilege
midcom_core_privilege in privilege.php
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.
Method midcom_core_querybuilder
The constructor wraps the class resolution into the MidCOM DBA system.
Class midcom_core_querybuilder
midcom_core_querybuilder in querybuilder.php
MidCOM DBA level wrapper for the Midgard Query Builder.
Method 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.
Class midcom_core_temporary_object
midcom_core_temporary_object in temporary_object.php
MidCOM Temporary Database Object
Class midcom_core_user
midcom_core_user in user.php
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.
Method midcom_core_user
The constructor retrieves the user indentified by its name from the database and prepares the object for operation.
Constant MIDCOM_CRON_DAY
MIDCOM_CRON_DAY in constants.php
Execute once every day.
Constant MIDCOM_CRON_HOUR
MIDCOM_CRON_HOUR in constants.php
Execute once every hour.
Constant MIDCOM_CRON_MINUTE
MIDCOM_CRON_MINUTE in constants.php
Execute once every minute.
Constant MIDCOM_DATAMGR_CANCELLED
MIDCOM_DATAMGR_CANCELLED in constants.php
Constant MIDCOM_DATAMGR_CANCELLED_NONECREATED
Constant MIDCOM_DATAMGR_CREATEFAILED
Constant MIDCOM_DATAMGR_CREATING
MIDCOM_DATAMGR_CREATING in constants.php
Constant MIDCOM_DATAMGR_EDITING
MIDCOM_DATAMGR_EDITING in constants.php
Constant MIDCOM_DATAMGR_FAILED
MIDCOM_DATAMGR_FAILED in constants.php
Constant MIDCOM_DATAMGR_SAVED
MIDCOM_DATAMGR_SAVED in constants.php
Constant MIDCOM_DATAMGR_SAVE_DELAYED
Class midcom_debug
midcom_debug in debug.php
This is a debugger class.
Method midcom_debug
Standard constructor
Constant MIDCOM_ERRAUTH
MIDCOM_ERRAUTH in constants.php
Constant MIDCOM_ERRCRIT
MIDCOM_ERRCRIT in constants.php
Constant MIDCOM_ERRFORBIDDEN
MIDCOM_ERRFORBIDDEN in constants.php
Constant MIDCOM_ERRNOTFOUND
MIDCOM_ERRNOTFOUND in constants.php
Constant MIDCOM_ERROK
MIDCOM_ERROK in constants.php
Function midcom_file_exists_incpath
Check if a file exists in the include path
Function midcom_generate_urlname_from_string
Helper function for generating "clean" URL names from titles, etc.
Function 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.
Function 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.
Method midcom_helper_configuration
The constructor initializes the global configuration.
Class midcom_helper_configuration
midcom_helper_configuration in configuration.php
This class is designed to ease MidCOM Configuration management.
Function midcom_helper_filesize_to_string
Helper function for pretty printing file sizes Original from http://www.theukwebdesigncompany.com/articles/php-file-manager.php
Function midcom_helper_find_node_by_component
This helper function returns the first instance of a given component on the MidCOM site.
Function midcom_helper_get_mime_icon
Helper function for finding MIME type image for a document
Class midcom_helper_imagefilter
midcom_helper_imagefilter in imagefilter.php
Image Filter Class, used to post process all images, check the documentation of the individual methods.
Class midcom_helper_itemlist
midcom_helper_itemlist in itemlist.php
Itemlist Interface
Class midcom_helper_itemlist_articlesfirst
Itemlist Subclass: Topics, then articles in component sorting order
Class midcom_helper_itemlist_score
Itemlist Interface
Class midcom_helper_itemlist_topicsfirst
Itemlist Subclass: Topics, then articles in component sorting order
Function midcom_helper_list_styles
midcom_helper_list_styles() in list_helpers.php
midcom_helper_datamanager_list_styles get an array of the styles bellow an id.
Class midcom_helper_mailtemplate
midcom_helper_mailtemplate in mailtemplate.php
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.
Method midcom_helper_mailtemplate
Constructs the template engine on the base of the passed template.
Class midcom_helper_metadata
midcom_helper_metadata in metadata.php
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.
Method midcom_helper_metadata
This will construct a new metadata object for an existing content object.
Class midcom_helper_nav
Main Navigation interface class.
Method 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.
Function midcom_helper_purge_object
Helper function for really removing an object
Class midcom_helper_toolbar
midcom_helper_toolbar in toolbar.php
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).
Method 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.
Class midcom_helper_urlparser
midcom_helper_urlparser in urlparser.php
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.
Method midcom_helper_urlparser
Initialize the classe
Constant MIDCOM_HELPER_URLPARSER_ARTICLE
Constant MIDCOM_HELPER_URLPARSER_ATTACHMENT
Constant MIDCOM_HELPER_URLPARSER_KEY
Constant MIDCOM_HELPER_URLPARSER_TOPIC
Constant MIDCOM_HELPER_URLPARSER_VALUE
Class midcom_helper__basicnav
midcom_helper__basicnav in _basicnav.php
This class is the basic building stone of the Navigation Access Point System of MidCOM.
Method midcom_helper__basicnav
Constructor
Class midcom_helper__componentloader
midcom_helper__componentloader in _componentloader.php
This class is a Factory that is responsible for loading and establishing the interface to a MidCOM Component.
Method 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.
Method midcom_helper__dbfactory
Calls parent constructor only.
Class midcom_helper__dbfactory
midcom_helper__dbfactory in _dbfactory.php
This class contains various factory methods to retrieve objects from the database.
Class midcom_helper__styleloader
midcom_helper__styleloader in _styleloader.php
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.
Method midcom_helper__styleloader
Simple initialization
Constant MIDCOM_LOG_CRIT
MIDCOM_LOG_CRIT in constants.php
Constant MIDCOM_LOG_DEBUG
MIDCOM_LOG_DEBUG in constants.php
Constant MIDCOM_LOG_ERROR
MIDCOM_LOG_ERROR in constants.php
Constant MIDCOM_LOG_INFO
MIDCOM_LOG_INFO in constants.php
Constant MIDCOM_LOG_WARN
MIDCOM_LOG_WARN in constants.php
Constant MIDCOM_METADATA_NODE
MIDCOM_METADATA_NODE in constants.php
Identifier for a node metadata for a request context.
Constant MIDCOM_METADATA_VIEW
MIDCOM_METADATA_VIEW in constants.php
Identifier for a view metadata for a request context.
Constant MIDCOM_META_CREATED
MIDCOM_META_CREATED in constants.php
Constant MIDCOM_META_CREATOR
MIDCOM_META_CREATOR in constants.php
Constant MIDCOM_META_EDITED
MIDCOM_META_EDITED in constants.php
Constant MIDCOM_META_EDITOR
MIDCOM_META_EDITOR in constants.php
Constant MIDCOM_NAVORDER_ARTICLESFIRST
Constant MIDCOM_NAVORDER_DEFAULT
MIDCOM_NAVORDER_DEFAULT in constants.php
Constant MIDCOM_NAVORDER_SCORE
MIDCOM_NAVORDER_SCORE in constants.php
Constant MIDCOM_NAVORDER_TOPICSFIRST
Constant MIDCOM_NAV_ABSOLUTEURL
MIDCOM_NAV_ABSOLUTEURL in constants.php
Constant MIDCOM_NAV_ACL
MIDCOM_NAV_ACL in constants.php
Constant MIDCOM_NAV_ADMIN
MIDCOM_NAV_ADMIN in constants.php
Constant MIDCOM_NAV_COMPONENT
MIDCOM_NAV_COMPONENT in constants.php
Constant MIDCOM_NAV_CONFIGURATION
MIDCOM_NAV_CONFIGURATION in constants.php
Constant MIDCOM_NAV_FULLURL
MIDCOM_NAV_FULLURL in constants.php
Constant MIDCOM_NAV_GUID
MIDCOM_NAV_GUID in constants.php
Constant MIDCOM_NAV_ICON
MIDCOM_NAV_ICON in constants.php
Constant MIDCOM_NAV_ID
MIDCOM_NAV_ID in constants.php
Constant MIDCOM_NAV_INTERNAL
MIDCOM_NAV_INTERNAL in constants.php
Constant MIDCOM_NAV_LEAFID
MIDCOM_NAV_LEAFID in constants.php
Constant MIDCOM_NAV_LEAVES
MIDCOM_NAV_LEAVES in constants.php
Constant MIDCOM_NAV_NAME
MIDCOM_NAV_NAME in constants.php
Constant MIDCOM_NAV_NODEID
MIDCOM_NAV_NODEID in constants.php
Constant MIDCOM_NAV_NOENTRY
MIDCOM_NAV_NOENTRY in constants.php
Constant MIDCOM_NAV_OBJECT
MIDCOM_NAV_OBJECT in constants.php
Constant MIDCOM_NAV_PERMALINK
MIDCOM_NAV_PERMALINK in constants.php
Constant MIDCOM_NAV_RELATIVEURL
MIDCOM_NAV_RELATIVEURL in constants.php
Constant MIDCOM_NAV_SCORE
MIDCOM_NAV_SCORE in constants.php
Constant MIDCOM_NAV_SITE
MIDCOM_NAV_SITE in constants.php
Constant MIDCOM_NAV_SUBNODES
MIDCOM_NAV_SUBNODES in constants.php
Constant MIDCOM_NAV_TOOLBAR
MIDCOM_NAV_TOOLBAR in constants.php
Constant MIDCOM_NAV_TYPE
MIDCOM_NAV_TYPE in constants.php
Constant MIDCOM_NAV_URL
MIDCOM_NAV_URL in constants.php
Constant MIDCOM_NAV_VIEWERGROUPS
MIDCOM_NAV_VIEWERGROUPS in constants.php
Constant MIDCOM_NAV_VISIBLE
MIDCOM_NAV_VISIBLE in constants.php
Constant MIDCOM_OPERATION_ALL
MIDCOM_OPERATION_ALL in constants.php
Matches all known operations.
Constant MIDCOM_OPERATION_DBA_ALL
MIDCOM_OPERATION_DBA_ALL in constants.php
All known DBA operations.
Constant MIDCOM_OPERATION_DBA_CREATE
DBA object creation. This excludes parameter operations.
Constant MIDCOM_OPERATION_DBA_DELETE
DBA object deletion. This excludes parameter operations.
Constant MIDCOM_OPERATION_DBA_UPDATE
DBA object update, this includes all attachment and parameter operations.
Constant MIDCOM_PRIVILEGE_ALLOW
MIDCOM_PRIVILEGE_ALLOW in constants.php
Allow the privilege.
Constant MIDCOM_PRIVILEGE_ASSIGNEE
MIDCOM_PRIVILEGE_ASSIGNEE in constants.php
Privilege array assignee entry
Constant MIDCOM_PRIVILEGE_DENY
MIDCOM_PRIVILEGE_DENY in constants.php
Deny the privilege.
Constant MIDCOM_PRIVILEGE_INHERIT
MIDCOM_PRIVILEGE_INHERIT in constants.php
Inherit the privilege from the parent.
Constant MIDCOM_PRIVILEGE_NAME
MIDCOM_PRIVILEGE_NAME in constants.php
Privilege array name entry
Constant MIDCOM_PRIVILEGE_SCOPE_ANONYMOUS
Magic scope value for privileges assigned to all unauthenticated users
Constant MIDCOM_PRIVILEGE_SCOPE_EVERYONE
Magic scope value for privileges assigned to EVERYONE
Constant MIDCOM_PRIVILEGE_SCOPE_OWNER
Magic scope value for owner privileges.
Constant MIDCOM_PRIVILEGE_SCOPE_ROOTGROUP
Starting scope value for root groups
Constant MIDCOM_PRIVILEGE_SCOPE_USER
Magic scope value for user privileges.
Constant MIDCOM_PRIVILEGE_SCOPE_USERS
Magic scope value for privileges assigned to all authenticated users
Constant MIDCOM_PRIVILEGE_SCOPE_VGROUPS
Default scope value for virtual groups.
Constant MIDCOM_PRIVILEGE_VALUE
MIDCOM_PRIVILEGE_VALUE in constants.php
Privilege array value entry
Function midcom_probe_nemein_rcs
Probes for the installed NemeinRCS root
Constant MIDCOM_PROP_ACL_PRIVILEGES
Constant MIDCOM_PROP_DLOAD
MIDCOM_PROP_DLOAD in constants.php
Constant MIDCOM_PROP_NAME
MIDCOM_PROP_NAME in constants.php
Constant MIDCOM_PROP_PURECODE
MIDCOM_PROP_PURECODE in constants.php
Constant MIDCOM_PROP_VERSION
MIDCOM_PROP_VERSION in constants.php
Constant MIDCOM_PROP_VGROUPS
MIDCOM_PROP_VGROUPS in constants.php
Constant MIDCOM_REQUEST_COMPONENTADM
Constant MIDCOM_REQUEST_CONTENT
MIDCOM_REQUEST_CONTENT in constants.php
Constant MIDCOM_REQUEST_CONTENTADM
MIDCOM_REQUEST_CONTENTADM in constants.php
Constant MIDCOM_ROOT
MIDCOM_ROOT in midcom.php
Function midcom_show_style
midcom_show_style() in _styleloader.php
Global shortcut.
Constant MIDCOM_STATIC_ROOT
MIDCOM_STATIC_ROOT in midcom.php
Constant MIDCOM_STATIC_URL
MIDCOM_STATIC_URL in midcom.php
Constant MIDCOM_STATUS_CANHANDLE
MIDCOM_STATUS_CANHANDLE in constants.php
Constant MIDCOM_STATUS_CLEANUP
MIDCOM_STATUS_CLEANUP in constants.php
Constant MIDCOM_STATUS_CONTENT
MIDCOM_STATUS_CONTENT in constants.php
Constant MIDCOM_STATUS_HANDLE
MIDCOM_STATUS_HANDLE in constants.php
Constant MIDCOM_STATUS_PREPARE
MIDCOM_STATUS_PREPARE in constants.php
Constant MIDCOM_TOOLBAR_ACCESSKEY
MIDCOM_TOOLBAR_ACCESSKEY in constants.php
The accesskey for this button
Constant MIDCOM_TOOLBAR_ENABLED
MIDCOM_TOOLBAR_ENABLED in constants.php
Element Enabled state
Constant MIDCOM_TOOLBAR_HELPTEXT
MIDCOM_TOOLBAR_HELPTEXT in constants.php
Element Helptext
Constant MIDCOM_TOOLBAR_HIDDEN
MIDCOM_TOOLBAR_HIDDEN in constants.php
Set this to true if you just want to hide this element from the output.
Constant MIDCOM_TOOLBAR_ICON
MIDCOM_TOOLBAR_ICON in constants.php
Element Icon (Relative URL to MIDCOM_STATIC_URL root), e.g. 'stock-icons/16x16/attach.png'.
Constant MIDCOM_TOOLBAR_LABEL
MIDCOM_TOOLBAR_LABEL in constants.php
Element Label
Constant MIDCOM_TOOLBAR_NODE
MIDCOM_TOOLBAR_NODE in constants.php
Identifier for a node toolbar for a request context.
Constant MIDCOM_TOOLBAR_OBJECT
MIDCOM_TOOLBAR_OBJECT in constants.php
Identifier for a custom objcet toolbar.
Constant MIDCOM_TOOLBAR_OPTIONS
MIDCOM_TOOLBAR_OPTIONS in constants.php
Options array.
Constant MIDCOM_TOOLBAR_POST
MIDCOM_TOOLBAR_POST in constants.php
Use an HTTP POST form request if this is true. The default is not to do so.
Constant MIDCOM_TOOLBAR_POST_HIDDENARGS
Optional arguments for an POST request.
Constant MIDCOM_TOOLBAR_SUBMENU
MIDCOM_TOOLBAR_SUBMENU in constants.php
Add a subobject here if you want to have nested menus.
Constant MIDCOM_TOOLBAR_URL
MIDCOM_TOOLBAR_URL in constants.php
Element URL
Constant MIDCOM_TOOLBAR_VIEW
MIDCOM_TOOLBAR_VIEW in constants.php
Identifier for a view toolbar for a request context.
Constant MIDCOM_TOOLBAR__ORIGINAL_URL
Original element URL as defined by the callee.
Function midcom_update_nemein_rcs
MidCOM Interface against NemeinRCS.
Constant MIDCOM_XDEBUG
MIDCOM_XDEBUG in midcom.php
Method move_extensions_to_object
Transfers all parametersm attachments and privileges on the current object to another
Method 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.
Method 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.
n
top
Variable $name
Name of the group
Variable $name
The full name of the current user, built from the first and last name of the user record, falling back to the username if both are unset. It is to be considered read-only.
Variable $name
The name of the component.
Variable $name
The name of the privilege.
Variable $name_translated
This is the translated, full component name obtained by looking up the string $name in the l10n library $name. This member is only populated on demand by the get_translated_name() function.
Page nav.php
nav.php in nav.php
Method new_query_builder
This function will determine the correct type of MidgardQueryBuilder that has to be created. It will also call the _on_prepare_new_query_builder event handler.
o
top
Variable $object
Object to which we are attached to. This object can be accessed from the outside, where neccessary.
Variable $objectguid
The GUID of the content object this privilege is valid for.
Method on_update
This is the update event handler for the Metadata system. It must be called whenever metadata changes to synchronize the various backwards-compatibility values in place throughout the system.
p
top
Variable $parent_node_id
Variable $privileges
Privileges array definition. Indexes are the full privilege names (including the component prefix), values are arrays holding the global / owner privilege default.
Variable $purecode
If this is true, it is a pure-code component, otherwise it is a full blown component.
Page privilege.php
privilege.php in privilege.php
Method parse
Parses the template and generates the message body and subject.
Method path_to_prefix
Helper, converting a component path (de.linkm.newsticker) to a class prefix (de_linkm_newsticker).
Method path_to_snippetpath
Helper, converting a component path (de.linkm.newsticker) to a snippetpath (/de/linkm/newsticker).
Method pop_prefix
Restore the last debug prefix
Method prepend_component_styledir
prepend the styledir of a component
Method prepend_styledir
Function prepend styledir
Function println_orange
println_orange() in autoconf.php
Function println_red
println_red() in autoconf.php
Method print_dump_mem
Dump the current memory usage and the delta to the last call of this function.
Method print_function_stack
Dump stack trace, only working when XDebug is present.
Method print_head_elements
Echo the _head elements added.
Method print_jscripts
Echo the registred javascript code.
Method print_jsonload
Echo the registred javascript code.
Method print_r
Dump a variable (by reference)
Method print_type
Dump a variables type (by reference)
Method process_chain
This function will process a string-based filter chain. This is a semicolon-separated list of commands, which will be evaluated using process_command each.
Method process_command
This is the main function evaluator of the filter class.
Method process_pending_notifies
This function processes all pending notifies and flushes the pending list.
Method push_prefix
Set a new debug prefix
q
top
Page querybuilder.php
querybuilder.php in querybuilder.php
r
top
Variable $rname
The full reversed name of the current user, built from the first and last name of the user record, falling back to the username if both are unset. It is to be considered read-only.
Page reindex.php
reindex.php in reindex.php
Method release_datamanager
Method relocate
Relocate to another URL.
Method remove_all_items
Clears the complete toolbar.
Method remove_item
Removes a toolbar item based on its index or its URL
Method render
Renders the toolbar and returns it as a string.
Method render_combined_toolbar
Shortcut function, which creates a combined leaf/node-toolbar and renders it immediately.
Method render_leaf_toolbar
Shortcut function, which creates a leaf-toolbar and renders it immediately.
Method render_node_toolbar
Shortcut function, which creates a node-toolbar and renders it immediately.
Method rescale
Image Resize: This will resize the orignal image.
Method reset_local
Clear the local configuration data, effectively reverting to the global default.
Method resolve_guid
This function tries to resolve a guid into an NAP object.
Method retrieve
Returns a metadata object for a given content object.
Method rotate
Manual image rotation
s
top
Variable $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.
Variable $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.
Variable $sent
Number of E-Mails sent successfully.
Variable $skip_page_style
Set this variable to true during the handle phase of your component to
Variable $style
midcom_application::$style in application.php
Helperclass to handle all style management. See class description for further information
Function scan_for_utility
scan_for_utility() in autoconf.php
Method 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.
Method serve_attachment
Deliver a snippet to the client.
Method 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.
Method set
Directly set a metadata option.
Method setLogfile
Set log file name
Method setLoglevel
Set log level
Method 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.
Method 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.
Method set_custom_context_data
Store arbitary, component-specific information in the component context
Method set_file
Sets the filename of the image currently being edited.
Method 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.
Method set_limit
Limits the resultset to contain at most the specified number of records.
Method set_object
Set a privilege to a given content object.
Method 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.
Method set_pagetitle
Sets the page title for the current context.
Method set_parameters
This will set the template parameters accordingly.
Method show
Looks for a style element matching $path (either in a user defined style or the default style snippetdir) and displays/evaluates it.
Method show_combined_nav
Generate a fully automated navigation.
Method show_item
Set's an item's hidden flag to false.
Method show_simple_nav
Generate a fully automated navigation.
Method snippetpath_to_prefix
Helper, converting a snippetpath (/de/linkm/newsticker) to a class prefix (de_linkm_newsticker).
Method sort_cmp
Method store
The method store will write the parameters in $params into the local configuration.
Method 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.
Method store_from_object
Import data from a Midgard object.
Method substyle_append
Appends a substyle after the currently selected component style.
Method substyle_prepend
Prepends a substyle before the currently selected component style.
t
top
Variable $tmp
midcom_application::$tmp in application.php
The temporary object service.
Variable $toolbars
The toolbars service.
Page topicsfirst.php
topicsfirst.php in topicsfirst.php
Page toolbar.php
toolbar.php in toolbar.php
Method trigger_watches
This is called by the framework whenever watchable events occur.
u
top
Variable $uimessages
The UI messages service.
Variable $username
Username of the current user, it is to be considered read-only.
Page user.php
user.php in user.php
Page urlparser.php
urlparser.php in urlparser.php
Method unapprove
Unapproves the object.
Method unfetch
Undo the last fetch operation.
Method update_item_url
Updates an items URL using the same rules as in add_item.
Method update_password
Updates the password to the new one. This requires update privileges on the person storage object.
Method update_username
Updates the username to the new one. This requires update privileges on the person storage object.
v
top
Variable $value
The privilege value.
Variable $version
Old version number of the components, currently specified as integer. Not really used within the system, but you may (actually should) use it for your own versioning.
Page version.php
version.php in version.php
Method validate
This call validates the privilege for correctness of all set options. This includes:
Method validate_path
validate_path is used to validate the component located at the snippetdir Path $snippetpath. This is a fully qualified snippetdir path to the component in question.
Method validate_url
Will validate the given MidCOM Path $path for syntactical
Method view_current_page_url
This function provides an interface to construct links like "View this page".
w
top
Variable $watches
A list of all watches defined by the component.
a b c d e f g h i l m n o p q r s t u v w _