Product database create product handler

package org.openpsa.products

 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.

_show_create (mixed $handler_id, array $data)

Shows the loaded article.

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

get_schema_name ()

load_schemadb ()

Loads and prepares the schema database.

The operations are done on all available schemas within the DB.

_prepare_request_data ()

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

_update_breadcrumb_line ()

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

 Properties

 

\org_openpsa_products_product_dba $_product

The article which has been created
 

string $_schema

The schema to use for the new article.
 

Array $_schemadb

The schema database in use, available only while a datamanager is loaded.