本文整理匯總了PHP中XenForo_Template_Helper_Core::appendBreadCrumbs方法的典型用法代碼示例。如果您正苦於以下問題:PHP XenForo_Template_Helper_Core::appendBreadCrumbs方法的具體用法?PHP XenForo_Template_Helper_Core::appendBreadCrumbs怎麽用?PHP XenForo_Template_Helper_Core::appendBreadCrumbs使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類XenForo_Template_Helper_Core
的用法示例。
在下文中一共展示了XenForo_Template_Helper_Core::appendBreadCrumbs方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: htmlspecialchars
<?php
if (!class_exists('XenForo_Application', false)) {
die;
}
$__output = '';
$__extraData['title'] = '';
$__extraData['title'] .= 'Xóa bài viết bởi ' . htmlspecialchars($post['username'], ENT_QUOTES, 'UTF-8') . '';
$__output .= '
';
$__extraData['navigation'] = array();
$__extraData['navigation'] = XenForo_Template_Helper_Core::appendBreadCrumbs($__extraData['navigation'], $nodeBreadCrumbs);
$__extraData['navigation'][] = array('href' => XenForo_Template_Helper_Core::link('full:posts', $post, array()), 'value' => XenForo_Template_Helper_Core::callHelper('threadPrefix', array('0' => $thread)) . htmlspecialchars($thread['title'], ENT_QUOTES, 'UTF-8'));
$__output .= '
';
$__extraData['bodyClasses'] = '';
$__extraData['bodyClasses'] .= XenForo_Template_Helper_Core::callHelper('nodeClasses', array('0' => $nodeBreadCrumbs, '1' => $forum));
$__output .= '
';
$__extraData['searchBar']['thread'] = '';
$__compilerVar6 = '';
$__compilerVar6 .= '<label title="' . 'Search only ' . htmlspecialchars($thread['title'], ENT_QUOTES, 'UTF-8') . '' . '"><input type="checkbox" name="type[post][thread_id]" value="' . htmlspecialchars($thread['thread_id'], ENT_QUOTES, 'UTF-8') . '"
id="search_bar_thread" class="AutoChecker"
data-uncheck="#search_bar_title_only, #search_bar_nodes" /> ' . 'Search this thread only' . '</label>';
$__extraData['searchBar']['thread'] .= $__compilerVar6;
unset($__compilerVar6);
$__output .= '
';
$__extraData['searchBar']['forum'] = '';