Blog index page handler

package net.nehmer.blog

 Methods

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

Can-Handle check against the 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.

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

Returns

booleanTrue if the request can be handled, false otherwise.

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

Handle actual article display

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_view (mixed $handler_id, array $data)

Shows the loaded article.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_load_datamanager ()

Internal helper, loads the datamanager for the current article.

Any error triggers a 500.

_prepare_request_data ()

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

_seek_comments ()

Try to find a comments node (cache results)

 Properties

 

\midcom_db_article $_article

The article to display
 

\midcom_db_topic $_content_topic

The content topic to use
 

\midcom_helper_datamanager2_datamanager $_datamanager

The Datamanager of the article to display.