-
$_cache
-
A simple cache.
-
$_config
-
The module config.
-
$_config
-
The module config.
-
$_controller
-
The datamanager controller
-
$_controller
-
The datamanager controller
-
$_current
-
The object we are currently editing
-
$_current
-
The object we are currently editing
-
$_current_element
-
The current element, either a pageelement or a styleelemnt.
-
$_current_leaf
-
Id of current leaf
-
$_current_node
-
Id of the current node.
-
$_current_schema
-
The schema the datamanager uses. It is either set by default or updatet by the _set_schema function that is subclassed.
-
$_current_schema
-
The schema the datamanager uses. It is either set by default or updatet by the _set_schema function that is subclassed.
-
$_current_schema
-
The schema the datamanager uses. It is either set by default or updated by the _set_schema function that is subclassed.
-
$_current_topic
-
-
$_entry
-
The new element (used by creationmode)
-
$_midcom
-
The name of the current midcom we are using as a context for defining which styleelements should be shown.
-
$_page
-
a host or a page object
-
$_root_node
-
Id of tree_root (where applicable)
-
$_schemadb
-
The schema database accociated with articles.
-
$_session
-
-
$_style
-
the style object
-
$_style
-
The id of the current style we are editing
-
$_stylefinder
-
-
$_title
-
-
$_toolbar
-
-
$_topic
-
if we got a topic to point to...
-
_generate_elementlist
-
This function generates an overview over which object you edit.
-
_generate_toolbar
-
Another abstract function. This generates the toolbar on top.
-
_generate_toolbar
-
Another abstract function. This generates the toolbar on top.
-
_generate_toolbar
-
-
_get_object_info
-
Get info about the object. Used by the delete handler Sets the name and content keys of _request_data.
-
_get_object_info
-
Get info about the object. Used by the delete handler Sets the name and content keys of _request_data.
-
_handler_create
-
TODO: Rewrite this so it handles creation elements based on some other style or midcom.
-
_handler_create
-
-
_handler_create_root
-
Only style creates a root so this is just used in style.
-
_handler_delete
-
Delete the current object
-
_handler_edit
-
-
_handler_index
-
-
_handler_index
-
-
_handle_view
-
-
_node_up_to_id
-
As we work with guids, but need ids, this simple function does the mapping.
-
_on_create
-
This function is used by the subclass to set some simple texts in the
-
_on_create
-
Function used by handler_create to set simple texts etc.
-
_on_initialize
-
-
_on_initialize
-
-
_on_initialize
-
-
_on_initialize
-
-
_prepare_meta_toolbar
-
-
_prepare_toolbar
-
This function adds all of the standard items (configuration and create links) to the topic toolbar.
-
_reload_cache
-
Reloads the midcom cache.
-
_run_datamanager
-
generate the datamanager controller instance and run it.
-
_run_datamanager_create
-
-
_run_datamanager_nullstorage
-
-
_run_datamanager_simple
-
-
_set_current_object
-
This function should be subclassed out into the subclasses Abstract function.
-
_set_current_object
-
This function only supports styleelements for now.
-
_set_current_object
-
This function should be subclassed out into the subclasses Abstract function.
-
_set_midcom
-
Set the midcom we should use to generate the list of possible elements to edit.
-
_set_schema
-
If you want to define the correct schema, use this function. Or, define the schema in the _schema variable.
-
_set_schema
-
Sets the schema.
-
_set_style
-
Set the style.
-
_set_topic
-
Set the topic we should use to generate the list of possible elements to edit.
-
_show_create
-
-
_show_create
-
-
_show_create_root
-
Show the creation dm form. Calls _create_root.
-
_show_delete
-
-
_show_edit
-
-
_show_index
-
-
_show_index
-
-
_show_view
-
show an element
-
generate_toolbar
-
This generates the whole toolbar. If you provide a toolbar object, it will use that instead.
-
get_cache
-
Share the cache! This returns a reference to the cache that nav uses so others can benefit from it too.
-
get_create_defaults
-
Simple callback to generate defaults for the object
-
get_creation_relocate
-
Callback function to be used by the subclasses to define where they want to go.
-
get_creation_relocate
-
-
get_defaults
-
Get object defaults (if any)
-
get_element_array
-
Generate the element array. Recursive function.
-
get_header_array
-
-
get_id
-
Get the id of the top style
-
get_leaf
-
This will give you a key-value pair describeing the leaf with the ID $node_id.
-
get_leaf_uplink
-
Returns the ID of the node to which $leaf_id is accociated to, false on failure.
-
get_leaves
-
Returns all leaves for the current content style.
-
get_midcom_toolbar
-
get the midcom toolbar
-
get_node
-
Reads a node data structure from the database
-
get_node_uplink
-
Returns the ID of the node to which $node_id is assosiated to, false on failure. The root node's uplink is -1.
-
get_page_toolbar
-
Make a listing of the pageelements
-
get_request_switch
-
-
get_style_and_parents
-
This funtion returns the style objects as well as it's parents in an array.
-
get_style_elements
-
get a list of styleelements from a stylestack and it's substyles Uses the passed stylestack so that it can be used by _topic as well.
-
get_style_elements_complete
-
Get a list of styleelements expanded for this style and it's parentstyles
-
get_style_toolbar
-
Make a listing of the styleelements at work on the page.
-
get_title
-
get the style title
-
get_toolbar
-
Get the generated toolbar.
-
get_up
-
Simple function to get the up object
-
get_up
-
Simple function to get the up object