function cmis_dev_info in CMIS API 6
Same name and namespace in other branches
- 6.4 cmis_dev/cmis_dev.module \cmis_dev_info()
- 6.2 cmis_dev/cmis_dev.module \cmis_dev_info()
- 6.3 cmis_dev/cmis_dev.module \cmis_dev_info()
- 7.2 cmis_dev/cmis_dev.module \cmis_dev_info()
- 7 cmis_dev/cmis_dev.module \cmis_dev_info()
Return CMIS Repository Information such as repo name, repo description, vendor name, product name and product version.
1 string reference to 'cmis_dev_info'
- cmis_dev_menu in cmis_dev/
cmis_dev.module - Implementation of hook_menu()
File
- cmis_dev/
cmis_dev.module, line 20
Code
function cmis_dev_info() {
module_load_include('api.inc', 'cmis');
$repository = cmisapi_getRepositoryInfo();
$rows = array(
array(
t('Name'),
$repository->repositoryName,
),
array(
t('Id'),
$repository->repositoryId,
),
array(
t('rootFolderId'),
$repository->rootFolderId,
),
array(
t('Description'),
$repository->RepositoryDescription,
),
array(
t('Vendor'),
$repository->vendorName,
),
array(
t('Version'),
$repository->productVersion,
),
);
return theme('table', array(
t('Name'),
t('Properties'),
), $rows);
}