You are here

class CommonCMISService in CMIS API 6.3

Same name and namespace in other branches
  1. 6.4 cmis_common/cmis_common.utils.inc \CommonCMISService
  2. 7.2 cmis_common/cmis_common.utils.inc \CommonCMISService
  3. 7 cmis_common/cmis_common.utils.inc \CommonCMISService

Hierarchy

Expanded class hierarchy of CommonCMISService

File

cmis_common/cmis_common.utils.inc, line 5

View source
class CommonCMISService extends CMISService {
  function doRequest($url, $method = 'GET', $content = NULL, $contentType = NULL, $charset = NULL) {
    $result = cmis_service($this->workspace->repositoryInfo->repositoryId, $url, array(
      'method' => $method,
      'data' => $content,
      'headers' => array(
        'Content-Type' => $contentType . (!is_null($charset) ? '; charset=' . $charset : ''),
      ),
    ));
    $retval = new stdClass();
    $retval->url = $url;
    $retval->method = $method;
    $retval->content_sent = $content;
    $retval->content_type_sent = $contentType;
    $retval->body = $result->body;
    $retval->code = $result->code;
    $retval->content_type = $result->content_type;
    $retval->content_length = $result->content_length;
    $this->last_request = $retval;
    return $retval;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CMISRepositoryWrapper::$authenticated property
CMISRepositoryWrapper::$last_request property
CMISRepositoryWrapper::$namespaces static property
CMISRepositoryWrapper::$password property
CMISRepositoryWrapper::$url property
CMISRepositoryWrapper::$username property
CMISRepositoryWrapper::$workspace property
CMISRepositoryWrapper::connect function
CMISRepositoryWrapper::doDelete function
CMISRepositoryWrapper::doGet function
CMISRepositoryWrapper::doPost function
CMISRepositoryWrapper::doPut function
CMISRepositoryWrapper::doXQuery static function
CMISRepositoryWrapper::doXQueryFromNode static function
CMISRepositoryWrapper::extractObject static function
CMISRepositoryWrapper::extractObjectFeed static function
CMISRepositoryWrapper::extractObjectFeedFromNode static function
CMISRepositoryWrapper::extractObjectFromNode static function
CMISRepositoryWrapper::extractTypeDef static function
CMISRepositoryWrapper::extractTypeDefFromNode static function
CMISRepositoryWrapper::extractWorkspace static function
CMISRepositoryWrapper::extractWorkspaceFromNode static function
CMISRepositoryWrapper::getLastRequest function
CMISRepositoryWrapper::getLastRequestBody function
CMISRepositoryWrapper::getLastRequestCode function
CMISRepositoryWrapper::getLastRequestContentLength function
CMISRepositoryWrapper::getLastRequestContentSent function
CMISRepositoryWrapper::getLastRequestContentType function
CMISRepositoryWrapper::getLastRequestContentTypeSent function
CMISRepositoryWrapper::getLastRequestMethod function
CMISRepositoryWrapper::getLastRequestURL function
CMISRepositoryWrapper::getLinksArray static function
CMISRepositoryWrapper::getOpUrl static function
CMISRepositoryWrapper::processTemplate static function
CMISService::$_link_cache property
CMISService::addObjectToFolder function
CMISService::applyACL function
CMISService::applyPolicy function
CMISService::cacheEntryInfo function
CMISService::cacheFeedInfo function
CMISService::cacheTypeInfo function
CMISService::cancelCheckOut function
CMISService::checkIn function
CMISService::checkOut function
CMISService::createAtomEntry static function
CMISService::createDocument function
CMISService::createDocumentFromSource function
CMISService::createFolder function
CMISService::createPolicy function
CMISService::createRelationship function
CMISService::deleteAllVersions function
CMISService::deleteContentStream function
CMISService::deleteObject function
CMISService::deleteTree function
CMISService::getACL function
CMISService::getAllowableActions function
CMISService::getAllVersions function
CMISService::getAppliedPolicies function
CMISService::getCheckedOutDocs function
CMISService::getChildren function
CMISService::getContentChanges function
CMISService::getContentEntry static function
CMISService::getContentStream function
CMISService::getContentTemplate static function
CMISService::getDescendants function
CMISService::getEntryTemplate static function
CMISService::getFolderParent function
CMISService::getFolderTree function
CMISService::getLink function
CMISService::getObject function
CMISService::getObjectByPath function
CMISService::getObjectOfLatestVersion function
CMISService::getObjectParents function
CMISService::getObjectRelationships function
CMISService::getObjectType function
CMISService::getObjectTypeDefinition function
CMISService::getProperties function
CMISService::getPropertiesOfLatestVersion function
CMISService::getPropertyTemplate static function
CMISService::getPropertyType function
CMISService::getQueryTemplate static function
CMISService::getRenditions function
CMISService::getRepositories function
CMISService::getRepositoryInfo function
CMISService::getSummaryTemplate static function
CMISService::getTitle function
CMISService::getTypeChildren function
CMISService::getTypeDefinition function
CMISService::getTypeDescendants function
CMISService::moveObject function
CMISService::postObject function
CMISService::processPropertyTemplates function
CMISService::query function
CMISService::removeObjectFromFolder function
CMISService::removePolicy function
CMISService::setContentStream function
CMISService::updateProperties function
CMISService::__construct function Overrides CMISRepositoryWrapper::__construct
CommonCMISService::doRequest function Overrides CMISRepositoryWrapper::doRequest