You are here

public function CmisRepositoryController::__construct in CMIS API 8

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

Construct.

Parameters

string $config:

string $folder_id:

File

src/Controller/CmisRepositoryController.php, line 24

Class

CmisRepositoryController
Class CmisRepositoryController.

Namespace

Drupal\cmis\Controller

Code

public function __construct($config = '', $folder_id = '') {
  if (!empty($config) && !empty($folder_id)) {
    $this
      ->initBrowser($config, $folder_id);
  }
}