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

hw_api->object()

hw_api->object - Retrieve attribute information

Syntax

hw_api_object hw_api->object (array $parameter)

Arguments

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

Description

This function retrieves the attribute information of an object of any version. It will not return the document content.

Version

PHP 4, 5 < 5.2.0, PECL hwapi SVN

Return value

The returned object is an instance of class HW_API_Objecton success or HW_API_Errorif an error occurred.