setAttributeGroupsToProcess script operation

Only retrieve attributes that belong to one of the attribute collections specified in the list of attribute groups for the given container. Was designed to work with getEntryAttrib(). This was a performance optimization in previous releases but is no longer required as the whole entry is now always fetched from the database. Previously each attribute in the item was fetched with a separate database called. Use the script operations getEntryAttribsList() or getCtgItemAttribsForKeys().

Format: ObjectOriented

Type: method

Syntax

void Container::setAttributeGroupsToProcess(AttrGroup[] aAttrGroups)

Parameters

Type Name Description Is required? Is array?
Container operatesOn The container that attribute retrieval is to be restricted for. true false
AttrGroup aAttrGroups The attribute groups specifying the attributes that can be retrieved. true true

Return values

Return value: void

Is array: false