n.n.static create page handler

package net.nehmer.static

 Methods

_handler_create (mixed $handler_id, array $args, array $data)

Displays an article edit view.

Note, that the article for non-index mode operation is automatically determined in the can_handle phase.

If create privileges apply, we relocate to the index creation article

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_on_initialize ()

Maps the content topic from the request data to local member variables.

_show_create (mixed $handler_id, array $data)

Shows the loaded article.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

dm2_create_callback ($controller)

DM2 creation callback, binds to the current content topic.

Parameters

$controller

get_schema_defaults ()

load_schemadb ()

_prepare_request_data ()

Simple helper which references all important members to the request data listing for usage within the style listing.

 Properties

 

\midcom_db_article $_article

The article which has been created
 

\midcom_db_topic $_content_topic

The content topic to use