[no.bergfald.objectbrowser] element index

Package indexes

All elements
a c g i l m n o p r s t v _
_
top
Variable $_children_types
value of MGD_META_TREE_CHILDS for object.
Variable $_config
Variable $_current_leaf
Id of current leaf
Variable $_current_node
Id of the current node.
Variable $_datamanager
The datamanager instance controlling the object to show, or null in case there is no object at this time. The request data key 'datamanager' is set to a reference to this member during class startup.
Variable $_is_root
This variable tells if we are dealing with a root , i.e. an objecttype and not a concrete object.
Variable $_meta
Metainformation abut all kinds of objects
Variable $_object
The object to show, or null in case that there is no object set at this time.
Variable $_object_attributes
Object attributes
Variable $_object_create
Object used during object creation.
Variable $_object_type
the objecttype, from
Variable $_obj_cache
very simple cache for those nasty list_nodes get node combos
Variable $_parent_attribute
value ofMGD_META_PROPERTY_PARENT for object.
Variable $_parent_object
value of MGD_META_TREE_PARENT for object.
Variable $_root_node
Id of tree_root (where applicable)
Variable $_schema
Pointer to the schema object
Variable $_schema
Pointer to the schema object
Variable $_schema
Pointer to the schemahandler.
Variable $_schemadb_object
The schema database accociated with the object, defaults to the one in the config dir.
Variable $_schemadb_object_index
Index of the schemas we got available.
Variable $_schemas
schemadb
Variable $_session
Session object used for passing messages.
Variable $_toolbars
Pointer to the toolbarobject
Variable $_type
objecttype
Variable $_type_create
Type of the object to be created.
Variable $_uplink_attribute
value of MGD_META_PROPERTY_UP for object.
Method _delete_record
Deletes the currently active object On success, it will return to the welcome page, on failure, it returns false.
Method _dm_create_callback
Callback for the datamanager create mode.
Method _generate_urlname
Internal helper, creates a valid name for a given object. It calls generate_error on any failure.
Method _handler_create
Prepares everything to create a new object. When processing the DM results, it will redirect to the view mode on the save event, and to the welcome page otherwise. It uses sessioning to keep track of the newly created acrticle ID.
Method _handler_delete
Locates the object to delete and prepares everything for the view run, there the user has to confirm the deletion. This includes the toolbar preparations and the preparation of the object and datamanager instances.
Method _handler_edit
Locates the object to edit and sets everything up. When processing the DM results, it will redirect to the view mode on both the save and cancel events.
Method _handler_index
Method _handler_move
Method _handler_object_index
Method _handler_view
Locates the object to view and prepares everything for the view run.
Method _load_object
This internal helper loads the object identified by the passed argument from the database.
Method _on_handler_config_dm_preparing
Populate a single global variable with the current schema database, so that the configuration schema works again.
Method _on_initialize
Method _patch_active_schema
Internal helper, called before the edit form is shown.
Method _prepare_creation_datamanager
Prepares the datamanager for creation of a new object. When returning false, it sets errstr and errcode accordingly.
Method _prepare_datamanager
Prepares the datamanager for the loaded object. When returning false, it sets errstr and errcode accordingly.
Method _prepare_root_toolbar
Method _show_create
Renders the selected object using the datamnager view mode.
Method _show_delete
Renders the selected object using the datamnager view mode.
Method _show_edit
Renders the selected object using the datamnager view mode.
Method _show_index
Method _show_move
Method _show_object_index
Method _show_view
Renders the selected object using the datamnager view mode.
a
top
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
c
top
Method classify_objecttype
Classify an object according to its MGD_META properties as well as some heuristics.
Method create_schema
Create a suggested schema out of the current object.
g
top
Method get_children
Get the children of the object
Method get_current_type
Get the objecttype of the current object
Method get_instance
Singelton interface, returns the instance.
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_leaf_up_attribute
Get the up attribute of a leaf
Method get_leaves
Returns all leaves for the current content topic.
Method get_metadata
Return the metadata of the current object.
Method get_name_attribute
Get the name attribute from an object.
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_request_switch
Method get_request_switch
Static function, returns the request array for the rcs functions.
Method get_root_node
What the root node is and how it is defined might be different for different handlers. Therefore we need a way to check this.
Method get_schema
Get the schema for an object If a schema for the object is defined in config/schema.inc it will use this, if not, it will try to create one.
Method get_simple_schema
Method get_storage
Get the name of the storageobject of a given schemaname.
Method get_type_name
Get a "common" name for an objecttype
Method get_up_attribute
Get the up attribute of a node
Method groupTestFactory
Class groupTestFactory
groupTestFactory in run_tests.php
i
top
Method is_leaf
determine if an object is a leaf or a node and
Method is_node
Find out if the object is a node or a leaf
Method is_root_node
Check if a node_id is the root node of the tree.
l
top
Variable $leaves
Add any objects you think should be leaves here
Method list_leaves
Method list_nodes
list the nodes below a certain point This is done in the following way, based on the $node_up: none => list all objecttypes <objectname> => list all objects with up == this object or all if up is undef.
Method list_schemas
Get the relevant schemas for this object.
m
top
Method meta_2_string
Constant MIDCOM_SCHEMA_OBJECT_TYPE
Created on Sep 5, 2005
n
top
Variable $nodes
Add any objects you think should be nodes here
Variable $nodes
Variable $noups
Method nav_hide
Determine if an objecttype should ne hidden
Page navigation.php
navigation.php in navigation.php
Method no_bergfald_objectbrowser
Method no_bergfald_objectbrowser_aegir
Class no_bergfald_objectbrowser_aegir
no_bergfald_objectbrowser_aegir in aegir_handler.php
Aegir handler class.
Method no_bergfald_objectbrowser_aegir_navigation
Class no_bergfald_objectbrowser_aegir_navigation
Created on Aug 3, 2005
Class no_bergfald_objectbrowser_object
Created on Aug 3, 2005
Class no_bergfald_objectbrowser_schema
Method no_bergfald_objectbrowser_schema
Class no_bergfald_objectbrowser_tests_schmas
no_bergfald_objectbrowser_tests_schmas in test_schemacreator.php
Class no_bergfald_rcs_aegir
no_bergfald_rcs_aegir in aegir_handler.php
Aegir handler class.
Method no_bergfald_rcs_aegir
o
top
Page object.php
object.php in object.php
Class ObjectBrowserNavigationTest
ObjectBrowserNavigationTest in navigation.php
Method objecttype_exists
Soes this objecttype exist?
p
top
Method prepare_object_toolbar
Prepare the toolbar and generate the locationbar.
Method prepare_toolbar
r
top
Page run_tests.php
run_tests.php in run_tests.php
s
top
Page schema.php
schema.php in schema.php
Method schema_2_string
Get a schemastring
Method setUp
Method set_current_type
Set the current oibjecttype
Method set_object
Define the objecttype and object attributes
t
top
Page test_schemacreator.php
test_schemacreator.php in test_schemacreator.php
Method test_get_storage
Method test_schemafunctions
v
top
Variable $verbose
a c g i l m n o p r s t v _