function cmis_browser_content_properties in CMIS API 6.3
Same name and namespace in other branches
- 6.4 cmis_browser/cmis_browser.content_properties.inc \cmis_browser_content_properties()
- 6.2 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 = cmis_get_repository();
$object = _cmis_browser_content_object_from_request($repository);
$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 '';
}
}