private function listRecordMetadata(\record_adapter $record)
    {
        $includeBusiness = $this->getAclForUser()->can_see_business_fields($record->getDatabox());

        return $this->listRecordCaptionFields($record->get_caption()->get_fields(null, $includeBusiness));
    }
private function listRecordMetadata(\record_adapter $record)
    {
        $includeBusiness = $this->getAclForUser()->can_see_business_fields($record->getDatabox());

        return $this->listRecordCaptionFields($record->get_caption()->get_fields(null, $includeBusiness));
    }
private function listRecordMetadata ( \ record_adapter $ record ) { $ includeBusiness = $ this -> getAclForUser ( ) -> can_see_business_fields ( $ record -> getDatabox ( ) ) ; return $ this -> listRecordCaptionFields ( $ record -> get_caption ( ) -> get_fields ( null , $ includeBusiness ) ) ; }
List all fields of given record

@param \record_adapter $record
@return array
List all fields of given record