This is the class that defines which URLs should be handled by this module.

package org.openpsa.products

 Methods

_on_can_handle ($argc, $argv)

The handle callback populates root group information

Parameters

$argc

$argv

_on_handle ($handler, $args)

The handle callback populates the toolbars.

Parameters

$handler

$args

_on_initialize ()

Initialize the request switch and the content topic.

find_parent ($args)

Parameters

$args

help_schemafields2postargs ()

Generate markdown documentation for API docs based on schema

Returns

stringdocumentation

index (\midcom_helper_datamanager2_datamanager $dm, \midcom_services_indexer $indexer, \midcom_db_topic $topic, $config)

Indexes a product
Static

Parameters

$dm

\midcom_helper_datamanager2_datamanager&$dm The Datamanager encapsulating the event.

$indexer

\midcom_services_indexer&$indexer The indexer instance to use.

$topic

\midcom_db_topicThe topic which we are bound to. If this is not an object, the code tries to load a new topic instance from the database identified by this parameter.

$config

update_breadcrumb_line (\org_openpsa_products_product $object, $product_group)

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

Parameters

$object

\org_openpsa_products_product

$product_group

_populate_node_toolbar ()

Populates the node toolbar depending on the user's rights.