private function CmisRepositoryController::setConnection in CMIS API 8.2
Same name and namespace in other branches
- 8 src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::setConnection()
- 3.0.x src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::setConnection()
Set connection.
Parameters
string $config: The connection 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 254
Class
- CmisRepositoryController
- Class CmisRepositoryController.
Namespace
Drupal\cmis\ControllerCode
private function setConnection($config = '') {
if (!empty($config)) {
if ($this->connection = new CmisConnectionApi($config)) {
$this->connection
->setDefaultParameters();
}
}
}