You are here

static function CMISService::getContentTemplate in CMIS API 6.3

Same name and namespace in other branches
  1. 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISService::getContentTemplate()
  2. 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

CMISService

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();
}