MetaWeblog API handler for the blog component

package org.openpsa.products

 Methods

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

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

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

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_product_get (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_product_list (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_create_product ($title, $productgroup)

DM2 creation callback, binds to the current content topic.

Parameters

$title

$productgroup

_load_datamanager ()

Internal helper, loads the datamanager for the current product.

Any error triggers a 500.

_send_reply ($message)

Parameters

$message

 Properties

 

\org_openpsa_products_product_dba $_product

The product to operate on