$_component
$_component : string
The name of the component, e.g. net.nehmer.static. Should be used whenever the component's name is required instead of hardcoding it.
Class for finding suspected "related to" links
Note, that the request data, for ease of use, already contains the L10n Databases of the Component and MidCOM itself located in this class. They are stored as 'l10n' and 'l10n_midcom'. Also available as 'config' is the current component configuration.
get_workflow(string $identifier, array $options = array()) : \midcom\workflow\dialog
string | $identifier | |
array | $options |
find_links_object(\midcom_core_dbaobject $object, $defaults = false)
Query all installed components for objects related to given object
If optional $defaults (org_openpsa_relatedto_dba object) is given it's used to fill default values for link objects returned.
NOTE: Only returns new suspected relations, confirmed/notrelated links are filtered out
returns array with the target object and prefilled link object
The see org.openpsa.projects for an example of how the component interface method org_openpsa_relatedto_find_suspects() should work.
\midcom_core_dbaobject | $object | |
$defaults |
find_links_object_component(\midcom_core_dbaobject $object, $component, $defaults = false)
Query all specific component for objects related to given object
See org_openpsa_relatedto_suspect::find_links_object() for details
\midcom_core_dbaobject | $object | |
$component | ||
$defaults |