function cmis_browser_content_properties in CMIS API 6.2
Same name and namespace in other branches
- 6.4 cmis_browser/cmis_browser.content_properties.inc \cmis_browser_content_properties()
- 6.3 cmis_browser/cmis_browser.content_properties.inc \cmis_browser_content_properties()
- 7.2 cmis_browser/cmis_browser.content_properties.inc \cmis_browser_content_properties()
- 7 cmis_browser/cmis_browser.content_properties.inc \cmis_browser_content_properties()
CMIS object properties page.
1 string reference to 'cmis_browser_content_properties'
- cmis_browser_menu in cmis_browser/
cmis_browser.module - Implementation of hook_menu().
File
- cmis_browser/
cmis_browser.content_properties.inc, line 7
Code
function cmis_browser_content_properties() {
module_load_include('api.inc', 'cmis');
module_load_include('utils.inc', 'cmis_browser');
// Invoke CMIS service
try {
$repository = cmisapi_getRepositoryInfo();
$object_id = _cmis_browser_content_object_id_from_request($repository);
$object = cmisapi_getProperties($repository->repositoryId, $object_id);
$output = theme('cmis_browser_content_properties', $object);
if (isset($_GET['no_layout'])) {
print $output;
exit;
}
return $output;
} catch (CMISException $e) {
cmis_error_handler('cmis_browser', $e);
return '';
}
}