private function CmisRepositoryController::setConnection in CMIS API 8
Same name and namespace in other branches
- 8.2 src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::setConnection()
- 3.0.x src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::setConnection()
Set connection.
Parameters
type $config:
type $object_id:
2 calls to CmisRepositoryController::setConnection()
- CmisRepositoryController::objectDelete in src/
Controller/ CmisRepositoryController.php - Object delete popup.
- CmisRepositoryController::objectDeleteVerify in src/
Controller/ CmisRepositoryController.php - Object delete verify popup.
File
- src/
Controller/ CmisRepositoryController.php, line 196
Class
- CmisRepositoryController
- Class CmisRepositoryController.
Namespace
Drupal\cmis\ControllerCode
private function setConnection($config = '') {
if (!empty($config)) {
if ($this->connection = new \Drupal\cmis\CmisConnectionApi($config)) {
$this->connection
->setDefaultParameters();
}
}
}