public function CmisRepositoryController::browse in CMIS API 8
Same name and namespace in other branches
- 8.2 src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::browse()
- 3.0.x src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::browse()
Browse.
Parameters
type $config:
type $folder_name:
Return value
string Return cmis browser render array or warning.
1 string reference to 'CmisRepositoryController::browse'
File
- src/
Controller/ CmisRepositoryController.php, line 39
Class
- CmisRepositoryController
- Class CmisRepositoryController.
Namespace
Drupal\cmis\ControllerCode
public function browse($config = '', $folder_id = '') {
if (empty($this->browser)) {
$this
->initBrowser($config, $folder_id);
}
if (!empty($this->browser
->getCurrent())) {
$cacheable = $this->browser
->getConnection()
->getConfig()
->getCmisCacheable();
return $this->browser
->browse(!$cacheable);
}
}