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

hw_api->parents()

hw_api->parents - Returns parents of an object

Syntax

array hw_api->parents (array $parameter)

Arguments

  • parameter - The parameter array contains the required elements \'objectidentifier\' and the optional elements \'attributeselector\' and \'objectquery\'.

Description

Retrieves the parents of an object. The parents can be further filtered by specifying an object query.

Version

PHP 4, 5 < 5.2.0, PECL hwapi SVN

Return value

The return value is an array of objects of type HW_API_Objector HW_API_Error.