function _cmis_browser_content_get_folder in CMIS API 6.4
Same name and namespace in other branches
- 6.2 cmis_browser/cmis_browser.content_get.inc \_cmis_browser_content_get_folder()
- 6.3 cmis_browser/cmis_browser.content_get.inc \_cmis_browser_content_get_folder()
- 7.2 cmis_browser/cmis_browser.content_get.inc \_cmis_browser_content_get_folder()
- 7 cmis_browser/cmis_browser.content_get.inc \_cmis_browser_content_get_folder()
CMIS folder browser handler.
1 call to _cmis_browser_content_get_folder()
- cmis_browser_content_get in cmis_browser/
cmis_browser.content_get.inc - Build cmis_browser browse page.
File
- cmis_browser/
cmis_browser.content_get.inc, line 69
Code
function _cmis_browser_content_get_folder($repository, $object) {
try {
$children = cmisapi_getChildren($repository->repositoryId, $object->id)->objectList;
} catch (CMISException $e) {
cmis_error_handler('cmis_browser', $e);
return '';
}
return theme('cmis_browser', array(
'children' => $children,
'bcarray' => explode('/', substr($object->properties['cmis:path'], 1)),
));
}