You are here

public function CmisRepositoryController::getProperties in CMIS API 8

Same name and namespace in other branches
  1. 8.2 src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::getProperties()
  2. 3.0.x src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::getProperties()

Get prperties

Parameters

string $config:

string $document_id:

Return value

array Return properties table render array.

1 string reference to 'CmisRepositoryController::getProperties'
cmis.routing.yml in ./cmis.routing.yml
cmis.routing.yml

File

src/Controller/CmisRepositoryController.php, line 58

Class

CmisRepositoryController
Class CmisRepositoryController.

Namespace

Drupal\cmis\Controller

Code

public function getProperties($config = '', $document_id = '') {
  if (empty($this->browser)) {
    $this
      ->initBrowser($config, $document_id);
  }
  if (!empty($this->browser
    ->getCurrent())) {
    return $this->browser
      ->getDocumentProperties();
  }
}