本文整理汇总了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, "");
}