n.n.blog create page handler

package net.nehmer.blog

 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.

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

Displays article link delete confirmation

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 link creation form.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_delete (mixed $handler_id, array $data)

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 ()

_process_delete ()

Internal helper method, which will check if the delete request has been confirmed

_update_breadcrumb_line (string $handler_id)

Helper, updates the context so that we get a complete breadcrumb line towards the current location.

Parameters

$handler_id

string

 Properties

 

\midcom_db_article $_article

The article which has been created
 

\midcom_db_topic $_content_topic

The content topic to use