MidCOM wrapped class for access to stored queries

package org.openpsa.products

 Methods

_on_creating ()

_on_updating ()

get_root ()

list_groups (mixed $up, string $prefix, string $keyproperty, boolean $order_by_score, array $label_fields)

Helper to make an array usable with DM2 select datatype for selecting product groups
Static

Parameters

$up

mixedEither the ID or GUID of the product group

$prefix

stringPrefix for the code

$keyproperty

stringProperty to use as the key of the resulting array

$order_by_score

booleanSet to true to sort by metadata score

$label_fields

arrayObject properties to show in the label (will be shown space separated)

Returns

array

_check_duplicates ($code)

Parameters

$code

 Properties

 

mixed $__mgdschema_class_name__

 

mixed $__midcom_class_name__

 Constants

 

TYPE_SMART