/** * Returns a breadcrumb system. * * @param string $sep The separator between the items. * @param bool $rev Reverse the order of the breadcrumbs? * @return string The breadcrumbs. */ function breadcrumbs($sep = ' ‘ ', $rev = false) { $b = Content::getBreadcrumbs(); if (!$rev) { $b = array_reverse($b, true); } return filter('content_breadcrumbs', UTF8::htmlentities(implode($sep, $b))); }
/** * Gets the menutitle of the current node. * * @return string The requested item. */ public static function getMenutitle() { plugin('content_getmenutitle'); return filter('content_getmenutitle', UTF8::htmlentities(self::$content['menutitle'])); }