add_aggregate_type_instance
delete_aggregate_type_instance
edit_aggregate_type_instance
find_aggregate_type_parameters
parse_aggregate_xml
resync_all_aggregate_type_instances
sync_aggregate_type_instance
add_aggregate_type_instance(\SHORT_TEXT $aggregate_label, \ID_TEXT $aggregate_type, array $_other_parameters, \?TIME $add_time= null, \?TIME $edit_time= null, boolean $sync= true, boolean $uniqify= false) : \AUTO_LINK
| package | aggregate_types |
|---|
\SHORT_TEXTLabel for new instance
\ID_TEXTWhat the instance is of
arrayAdditional parameters
\?TIMEAdd time (null: now)
\?TIMEEdit time (null: not edited yet)
booleanWhether to activate it
booleanWhether to force the name as unique, if there's a conflict
\AUTO_LINKID of the new instancedelete_aggregate_type_instance(\AUTO_LINK $id, boolean $delete_matches = false)
| package | aggregate_types |
|---|
\AUTO_LINKThe ID
booleanWhether to delete all associated resources
edit_aggregate_type_instance(\AUTO_LINK $id, \SHORT_TEXT $aggregate_label, \ID_TEXT $aggregate_type, array $_other_parameters, boolean $uniqify = false)
| package | aggregate_types |
|---|
\AUTO_LINKThe ID
\SHORT_TEXTLabel for instance
\ID_TEXTWhat the instance is of
arrayAdditional parameters
booleanWhether to force the name as unique, if there's a conflict
find_aggregate_type_parameters(\ID_TEXT $aggregate_type) : array
| package | aggregate_types |
|---|
\ID_TEXTAggregate type to find parameters for
arrayThe aggregate type parametersparse_aggregate_xml(boolean $display_errors = false) : array
| package | aggregate_types |
|---|
booleanWhether errors should be displayed
arrayThe aggregate typesresync_all_aggregate_type_instances(\?ID_TEXT $type = null)
| package | aggregate_types |
|---|
\?ID_TEXTRestrict to this aggregate type (null: no restriction)
sync_aggregate_type_instance(\AUTO_LINK $id, \?SHORT_TEXT $aggregate_label= null, \?SHORT_TEXT $old_aggregate_label= null, \?ID_TEXT $aggregate_type= null, \?array $other_parameters= null, \?array $old_parameters= null)
| package | aggregate_types |
|---|
\AUTO_LINKThe ID
\?SHORT_TEXTLabel for instance (null: lookup)
\?SHORT_TEXTOld label for instance (null: lookup)
\?ID_TEXTWhat the instance is of (null: lookup)
\?arrayAdditional parameters (null: lookup)
\?arrayOld additional parameters (null: lookup)