static function CMISService::getContentTemplate in CMIS API 6.3
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getContentTemplate()
- 7 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getContentTemplate()
1 call to CMISService::getContentTemplate()
- CMISService::getContentEntry in cmis_common/
lib/ cmis_repository_wrapper.php
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 640
Class
Code
static function getContentTemplate() {
ob_start();
?>
<cmisra:content>
<cmisra:mediatype>
{content_type}
</cmisra:mediatype>
<cmisra:base64>
{content}
</cmisra:base64>
</cmisra:content>
<?php
return ob_get_clean();
}