Chapter 18. Highlighted object

Highlighted object functionality is provided by the bundled UNLVHighlight module. The highlighted object can be returned via the dmBridge PHP and HTTP APIs.

To access it using the PHP API, call the static getHighlighted() method on DMObject. This will return an object of type DMObject. Example:

<?php
$obj = UNLVHighlightedObject::getHighlightedObject();
echo $obj->getField("title");
?>

To access the highlighted object using the HTTP API, navigate to http://my_cdm_server/dm/api/1/objects/highlighted.