-
$_article
-
The article to show, or null in case that there is no article set at this time.
-
$_content_topic
-
The topic in which to look for articles. This defaults to the current content topic unless overridden by the symlink topic feature.
-
$_content_topic
-
The topic in which to look for articles. This defaults to the current content topic unless overridden by the symlink topic feature.
-
$_content_topic
-
The topic in which to look for articles. This defaults to the current content topic unless overridden by the symlink topic feature.
-
$_datamanager
-
The datamanager instance controlling the article to show, or null in case there is no article at this time. The request data key 'datamanager' is set to a reference to this member during class startup.
-
$_missing_index
-
Flag indicating wether an index article is present.
-
$_schemadb
-
The schema database accociated with the topic.
-
$_schemadb_index
-
An index over the schema database accociated with the topic mapping schema keys to their names. For ease of use.
-
_can_handle_show_article
-
Can-Handle check against the current article name. We have to do this explicitly in can_handle already, otherwise we would hide all subtopics as the request switch accepts all argument count matches unconditionally.
-
_check_for_missing_index
-
This function checks wether the index article is missing. It initializes the $_missing_index member variable.
-
_delete_record
-
Deletes the currently active article and all of its extensions.
-
_determine_content_topic
-
Set the content topic to use. This will check against the configuration setting 'symlink_topic'.
-
_determine_content_topic
-
Set the content topic to use. This will check against the configuration setting 'symlink_topic'.
-
_determine_content_topic
-
Set the content topic to use. This will check against the configuration setting 'symlink_topic'.
-
_dm_create_callback
-
Callback for the datamanager create mode.
-
_generate_urlname
-
Internal helper, creates a valid name for a given article. It calls generate_error on any failure.
-
_handler_autoindex
-
Shows the autoindex list. Nothing to do in the handle phase except setting last modified dates.
-
_handler_create
-
Prepares everything to create a new article. 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.
-
_handler_delete
-
Locates the article 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 article and datamanager instances.
-
_handler_edit
-
Locates the article 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.
-
_handler_index
-
Looks up the index article in the topic. If not found, a FORBIDDEN error is triggered, as we are not in the autoindex mode.
-
_handler_show_article
-
The actual request handler for article showing.
-
_handler_view
-
Locates the article to view and prepares everything for the view run.
-
_handler_welcome
-
Welcome page handler.
-
_load_article
-
This internal helper loads the article identified by the passed argument from the database.
-
_load_autoindex_data
-
This helper function goes over the topic and loads all available objects for displaying in the autoindex.
-
_load_schema_database
-
Internal helper, loads the configured schema database into the class.
-
_on_get_metadata
-
-
_on_handle
-
General request initialization, which populates the topic toolbar.
-
_on_handler_config_dm_preparing
-
Populate a single global variable with the current schema database, so that the configuration schema works again.
-
_on_initialize
-
The initialization determines the real content topic (in case we have been symlinked) and sets up the request switch. It will also load the Datamanger schema database, which is used here and there for the toolbars etc.
-
_on_initialize
-
Initialize the request switch and the content topic.
-
_on_reindex
-
Iterate over all articles and create index record using the datamanger indexer method.
-
_on_resolve_permalink
-
Simple lookup method which tries to map the guid to an article of out topic.
-
_on_set_object
-
This event handler will determine the content topic, which might differ due to a set content symlink.
-
_patch_active_schema
-
Internal helper, called before the edit form is shown.
-
_prepare_article_for_show
-
Internal helper, takes a database article and prepares it for display.
-
_prepare_creation_datamanager
-
Prepares the datamanager for creation of a new article. When returning false, it sets errstr and errcode accordingly.
-
_prepare_datamanager
-
Prepares the datamanager for the loaded article. When returning false, it sets errstr and errcode accordingly.
-
_prepare_local_toolbar
-
This internal helper adds the edit and delete links to the local toolbar.
-
_prepare_topic_toolbar
-
This function adds all of the standard items (configuration and create links) to the topic toolbar.
-
_show_article
-
Internal helper function. Displays an article.
-
_show_autoindex
-
Displays the autoindex of the Taviewer. This is a list of all articles and attachments on the current topic.
-
_show_create
-
Renders the selected article using the datamnager view mode.
-
_show_delete
-
Renders the selected article using the datamnager view mode.
-
_show_edit
-
Renders the selected article using the datamnager view mode.
-
_show_index
-
Shows the index article on screen.
-
_show_show_article
-
Shows the article on screen.
-
_show_view
-
Renders the selected article using the datamnager view mode.
-
_show_welcome
-
Renders the welcome page.