You are here

static function CMISRepositoryWrapper::extractWorkspace in CMIS API 6.4

Same name and namespace in other branches
  1. 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISRepositoryWrapper::extractWorkspace()
  2. 7 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 297

Class

CMISRepositoryWrapper

Code

static function extractWorkspace($xmldata) {

  //Assumes only one workspace for now
  $doc = new DOMDocument();
  $doc
    ->loadXML($xmldata);
  return CMISRepositoryWrapper::extractWorkspaceFromNode($doc);
}