You are here

function cmis_browser_block_content in CMIS API 6.2

Display CMIS document list based on the path configurations.

1 call to cmis_browser_block_content()
cmis_browser_block in cmis_browser/cmis_browser.module
Implementation of hook_block() for CMIS content module.

File

cmis_browser/cmis_browser.module, line 319

Code

function cmis_browser_block_content($which_block, $items = array()) {
  if (0 == $which_block) {
    $content = array();
    foreach ($items as $item) {
      if ($item != '/') {
        $content[] = theme('cmis_browser_doc_view', $item);
      }
    }
    return implode('<br />', $content);
  }
}