Home > PHP > Function > Hyperwave API > hw_api->insertcollection()

hw_api->insertcollection()

hw_api->insertcollection - Inserts a new object of type collection

Syntax

hw_api_object hw_api->insertcollection (array $parameter)

Arguments

  • parameter - The parameter array contains the required elements \'object\' and \'parentIdentifier\' and the optional elements \'parameter\' and \'attributeSelector\'. See hwapi_insert() for the meaning of each element.

Description

This function is a shortcut for hwapi_insert(). It inserts an object of type collection and sets some of the attributes required for a collection.

Version

PHP 4, 5 < 5.2.0, PECL hwapi SVN

Return value