static function CMISRepositoryWrapper::extractWorkspace in CMIS API 7
Same name and namespace in other branches
- 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISRepositoryWrapper::extractWorkspace()
- 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISRepositoryWrapper::extractWorkspace()
1 call to CMISRepositoryWrapper::extractWorkspace()
- CMISRepositoryWrapper::connect in cmis_common/
lib/ cmis_repository_wrapper.php
File
- cmis_common/
lib/ cmis_repository_wrapper.php, line 379
Class
Code
static function extractWorkspace($xmldata) {
//Assumes only one workspace for now
$doc = new DOMDocument();
$doc
->loadXML($xmldata);
return CMISRepositoryWrapper::extractWorkspaceFromNode($doc);
}