[midcom.admin.styleeditor] element index

Package indexes

All elements
a b d e g i l m n s t u v _
_
top
Variable $_cache
A simple cache.
Variable $_config
The module config.
Variable $_config
The module config.
Variable $_controller
The datamanager controller
Variable $_controller
The datamanager controller
Variable $_current
The object we are currently editing
Variable $_current
The object we are currently editing
Variable $_current_element
The current element, either a pageelement or a styleelemnt.
Variable $_current_leaf
Id of current leaf
Variable $_current_node
Id of the current node.
Variable $_current_schema
The schema the datamanager uses. It is either set by default or updatet by the _set_schema function that is subclassed.
Variable $_current_schema
The schema the datamanager uses. It is either set by default or updatet by the _set_schema function that is subclassed.
Variable $_current_schema
The schema the datamanager uses. It is either set by default or updated by the _set_schema function that is subclassed.
Variable $_current_topic
Variable $_entry
The new element (used by creationmode)
Variable $_midcom
The name of the current midcom we are using as a context for defining which styleelements should be shown.
Variable $_page
a host or a page object
Variable $_root_node
Id of tree_root (where applicable)
Variable $_schemadb
The schema database accociated with articles.
Variable $_session
Variable $_style
the style object
Variable $_style
The id of the current style we are editing
Variable $_stylefinder
Variable $_title
Variable $_toolbar
Variable $_topic
if we got a topic to point to...
Method _generate_elementlist
This function generates an overview over which object you edit.
Method _generate_toolbar
Another abstract function. This generates the toolbar on top.
Method _generate_toolbar
Another abstract function. This generates the toolbar on top.
Method _generate_toolbar
Method _get_object_info
Get info about the object. Used by the delete handler Sets the name and content keys of _request_data.
Method _get_object_info
Get info about the object. Used by the delete handler Sets the name and content keys of _request_data.
Method _handler_create
TODO: Rewrite this so it handles creation elements based on some other style or midcom.
Method _handler_create
Method _handler_create_root
Only style creates a root so this is just used in style.
Method _handler_delete
Delete the current object
Method _handler_edit
Method _handler_index
Method _handler_index
Method _handle_view
Method _node_up_to_id
As we work with guids, but need ids, this simple function does the mapping.
Method _on_create
This function is used by the subclass to set some simple texts in the
Method _on_create
Function used by handler_create to set simple texts etc.
Method _on_initialize
Method _on_initialize
Method _on_initialize
Method _on_initialize
Method _prepare_meta_toolbar
Method _prepare_toolbar
This function adds all of the standard items (configuration and create links) to the topic toolbar.
Method _reload_cache
Reloads the midcom cache.
Method _run_datamanager
generate the datamanager controller instance and run it.
Method _run_datamanager_create
Method _run_datamanager_nullstorage
Method _run_datamanager_simple
Method _set_current_object
This function should be subclassed out into the subclasses Abstract function.
Method _set_current_object
This function only supports styleelements for now.
Method _set_current_object
This function should be subclassed out into the subclasses Abstract function.
Method _set_midcom
Set the midcom we should use to generate the list of possible elements to edit.
Method _set_schema
If you want to define the correct schema, use this function. Or, define the schema in the _schema variable.
Method _set_schema
Sets the schema.
Method _set_style
Set the style.
Method _set_topic
Set the topic we should use to generate the list of possible elements to edit.
Method _show_create
Method _show_create
Method _show_create_root
Show the creation dm form. Calls _create_root.
Method _show_delete
Method _show_edit
Method _show_index
Method _show_index
Method _show_view
show an element
a
top
Page admin.php
admin.php in admin.php
Page aegir_handler.php
aegir_handler.php in aegir_handler.php
Page aegir_navigation.php
aegir_navigation.php in aegir_navigation.php
Page aegir_handler.php
aegir_handler.php in aegir_handler.php
b
top
Page base.php
base.php in base.php
Page base.php
base.php in base.php
d
top
Method dm2_create_callback
Simple callback to create the object
Method dm2_create_callback
Method dm2_create_callback
e
top
Page element.php
element.php in element.php
Page element.php
element.php in element.php
g
top
Method generate_toolbar
This generates the whole toolbar. If you provide a toolbar object, it will use that instead.
Method get_cache
Share the cache! This returns a reference to the cache that nav uses so others can benefit from it too.
Method get_create_defaults
Simple callback to generate defaults for the object
Method get_creation_relocate
Callback function to be used by the subclasses to define where they want to go.
Method get_creation_relocate
Method get_defaults
Get object defaults (if any)
Method get_element_array
Generate the element array. Recursive function.
Method get_header_array
Method get_id
Get the id of the top style
Method get_leaf
This will give you a key-value pair describeing the leaf with the ID $node_id.
Method get_leaf_uplink
Returns the ID of the node to which $leaf_id is accociated to, false on failure.
Method get_leaves
Returns all leaves for the current content style.
Method get_midcom_toolbar
get the midcom toolbar
Method get_node
Reads a node data structure from the database
Method 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.
Method get_page_toolbar
Make a listing of the pageelements
Method get_request_switch
Method get_style_and_parents
This funtion returns the style objects as well as it's parents in an array.
Method 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.
Method get_style_elements_complete
Get a list of styleelements expanded for this style and it's parentstyles
Method get_style_toolbar
Make a listing of the styleelements at work on the page.
Method get_title
get the style title
Method get_toolbar
Get the generated toolbar.
Method get_up
Simple function to get the up object
Method get_up
Simple function to get the up object
i
top
Page interfaces.php
interfaces.php in interfaces.php
l
top
Method list_leaves
Method list_nodes
.List the styles
m
top
Variable $msg
Class midcom_admin_styleeditor_admin
Request class for editing styles
Method midcom_admin_styleeditor_aegir
Class midcom_admin_styleeditor_aegir
midcom_admin_styleeditor_aegir in aegir_handler.php
the Aegir handler for this module.
Method midcom_admin_styleeditor_aegir_navigation
Class midcom_admin_styleeditor_aegir_navigation
Created on Aug 3, 2005
Class midcom_admin_styleeditor_handler_base
Created on Aug 3, 2005
Class midcom_admin_styleeditor_handler_element
Method midcom_admin_styleeditor_handler_element
Constructor
Method midcom_admin_styleeditor_handler_element
Constructor
Method midcom_admin_styleeditor_handler_style
Constructor
Class midcom_admin_styleeditor_handler_style
Class midcom_admin_styleeditor_interface
Method midcom_admin_styleeditor_interface
Method midcom_admin_styleeditor_navigation
Class midcom_admin_styleeditor_navigation
Created on Aug 3, 2005
Method midcom_admin_styleeditor_stylefinder_style
Constroctur
Class midcom_admin_styleeditor_stylefinder_style
Created on Oct 30, 2005
Method midcom_admin_styleeditor_toolbarfactory
Class midcom_admin_styleeditor_toolbarfactory
Created on Nov 29, 2005
Class midcom_admin_styleeditor_viewer
Created on Aug 3, 2005
Method midcom_admin_styleeditor_viewer
n
top
Variable $nav_maxlevel
Maximum level for the menu to decend and expand nodes.
Page navigation.php
navigation.php in navigation.php
s
top
Variable $sitegroup
Sitegroup of the user
Page style.php
style.php in style.php
Page style.php
style.php in style.php
Page style.php
style.php in style.php
Method set_toolbar
Set the toolbar object we should work on
Method show
Display the content, it uses the handler as determined by can_handle.
t
top
Page toolbarfactory.php
toolbarfactory.php in toolbarfactory.php
u
top
Method update_toolbar
Use the visitor pattern to update the locations in the toolbar both for styles and style elements.
v
top
Page viewer.php
viewer.php in viewer.php
a b d e g i l m n s t u v _