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

hw_api->copy()

hw_api->copy - Copies physically

Syntax

hw_api_content hw_api->copy (array $parameter)

Arguments

  • parameter - The parameter array contains the required elements \'objectIdentifier\' and \'destinationParentIdentifier\'. The optional parameter is \'attributeSelector\'`

Description

This function will make a physical copy including the content if it exists and returns the new object or an error object.

Version

PHP 4, 5 < 5.2.0, PECL hwapi SVN

Return value

Returns the copied object.