本文整理匯總了PHP中hierarchy::initHierarchy方法的典型用法代碼示例。如果您正苦於以下問題:PHP hierarchy::initHierarchy方法的具體用法?PHP hierarchy::initHierarchy怎麽用?PHP hierarchy::initHierarchy使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類hierarchy
的用法示例。
在下文中一共展示了hierarchy::initHierarchy方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: ini_set
<?php
include '../header.php';
include 'solrFacets.php';
ini_set('max_execution_time', 120);
$CUSTOM = custom::instance();
$CUSTOM->getCommunityInit()->initCommunities();
$CUSTOM->getCommunityInit()->initCollections();
solrFacets::init($CUSTOM);
$duration = solrFacets::getDurationArg();
$type = solrFacets::getTypeArg();
$auth = solrFacets::getAuthArg();
$ip = solrFacets::getIpArg();
$scope = util::getArg("scope", "ALL");
hierarchy::initHierarchy($scope == "ALL", $scope);
$colcount = solrFacets::getDurationKey("colcount");
header('Content-type: text/html; charset=UTF-8');
?>
<html>
<head>
<?php
$header = new LitHeader(solrFacets::getTypeKey("desc") . " for the " . solrFacets::getDurationKey("desc") . " for " . solrFacets::getAuthKey("desc") . " from " . solrFacets::getIpKey("desc"));
$header->litPageHeader();
?>
<script type="text/javascript">
var first = true;
var complete = 0;
var getStatsFunc = function(cell, tbd) {
var id = cell.attr("id");
示例2: initHierarchy
public function initHierarchy()
{
hierarchy::initHierarchy(true, "");
}