You are here

class _forum_CrumbsPlugin__admin in Crumbs, the Breadcrumbs suite 6.2

Same name and namespace in other branches
  1. 6 plugins/crumbs.forum.inc \_forum_CrumbsPlugin__admin

Hierarchy

Expanded class hierarchy of _forum_CrumbsPlugin__admin

File

plugins/crumbs.forum.inc, line 83

View source
class _forum_CrumbsPlugin__admin {
  protected $_containers;
  function findTitle__admin_content_forum($path, $item) {
    switch ($path) {
      case 'admin/content/forum/edit':
      case 'admin/content/forum/add':

        // skip
        return FALSE;
    }
  }
  function findTitle__admin_content_forum_edit_forum_x($path, $item) {
    $term = $item['map'][5];
    return $term['name'];
  }
  function findTitle__admin_content_forum_edit_container_x($path, $item) {
    $term = $item['map'][5];
    return $term['name'];
  }
  protected function _isContainer($tid) {
    if (!isset($this->_containers)) {
      $containers = variable_get('forum_containers', array());
      $this->_containers = array_combine($containers, $containers);
    }
    return isset($this->_containers[$tid]) ? TRUE : FALSE;
  }

}

Members