public function RestfulBase::getValueMetadata in RESTful 7
Get value metadata.
Parameters
mixed $id: The resource item id.
string $public_field_name: The public field name as in the output.
Return value
array An associative array containing extra metadata about the requested value.
File
- plugins/
restful/ RestfulBase.php, line 146 - Contains RestfulBase.
Class
- RestfulBase
- Class \RestfulBase
Code
public function getValueMetadata($id, $public_field_name) {
return isset($this->valueMetadata[$id][$public_field_name]) ? $this->valueMetadata[$id][$public_field_name] : NULL;
}