Itemlist Interface

You have to override the get_sorted_list member, it has to return an array sorted by the constraints you establish.

todo complete documentation
package midcom.helper

 Methods

_init (\midcom_helper_nav $nap, integer $parent_topic_id)

Initialize the object, used by the factory function.
access private

Parameters

$nap

\midcom_helper_navA reference to a NAP object to use.

$parent_topic_id

integerA ID of the topic in which we operate.

factory ($sorting, \midcom_helper_nav $nap, $parent_topic)

Static
ignore

Parameters

$sorting

$nap

$parent_topic

get_sorted_list ()

Returns the sorted list for this topic according to our sorting criteria.

It has to be overridden. Throw midcom_error on any critical failure.

Returns

ArrayAn array of all objects.

get_style ()

ignore

 Properties

 

mixed $parent_node_id

 

\midcom_helper_nav $_nap

A reference to the NAP instance we belong to.