You are here

function cmis_get_vendors in CMIS API 6.3

Same name and namespace in other branches
  1. 6.4 cmis.module \cmis_get_vendors()
  2. 6 cmis.module \cmis_get_vendors()
  3. 6.2 cmis.module \cmis_get_vendors()
  4. 7.2 cmis.module \cmis_get_vendors()
  5. 7 cmis.module \cmis_get_vendors()

Utility function that returns all known vendors

Return value

array

1 call to cmis_get_vendors()
cmis_vendor_invoke in ./cmis.module
Utility function used to call a CMIS method, using the CMIS vendor selected in config.

File

./cmis.module, line 148

Code

function cmis_get_vendors() {
  $vendors = array();
  $info_array = module_invoke_all('cmis_info');
  foreach ($info_array as $type => $info) {
    $info['type'] = $type;
    $vendors[$type] = $info;
  }
  return $vendors;
}