本文整理汇总了PHP中erLhcoreClassChat::getDepartmentLimitation方法的典型用法代码示例。如果您正苦于以下问题:PHP erLhcoreClassChat::getDepartmentLimitation方法的具体用法?PHP erLhcoreClassChat::getDepartmentLimitation怎么用?PHP erLhcoreClassChat::getDepartmentLimitation使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类erLhcoreClassChat
的用法示例。
在下文中一共展示了erLhcoreClassChat::getDepartmentLimitation方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$chatToDelete->removeThis();
}
}
}
}
if (isset($_GET['doSearch'])) {
$filterParams = erLhcoreClassSearchHandler::getParams(array('module' => 'chat', 'module_file' => 'chat_search', 'format_filter' => true, 'use_override' => true, 'uparams' => $Params['user_parameters_unordered']));
$filterParams['is_search'] = true;
} else {
$filterParams = erLhcoreClassSearchHandler::getParams(array('module' => 'chat', 'module_file' => 'chat_search', 'format_filter' => true, 'uparams' => $Params['user_parameters_unordered']));
$filterParams['is_search'] = false;
}
/**
* Departments filter
* */
$limitation = erLhcoreClassChat::getDepartmentLimitation();
if ($limitation !== false) {
if ($limitation !== true) {
$filterParams['filter']['customfilter'][] = $limitation;
}
$filterParams['filter']['smart_select'] = true;
}
if ($Params['user_parameters_unordered']['print'] == 1) {
$tpl = erLhcoreClassTemplate::getInstance('lhchat/printchats.tpl.php');
$items = erLhcoreClassChat::getList(array_merge($filterParams['filter'], array('limit' => 100000, 'offset' => 0)));
$tpl->set('items', $items);
$Result['content'] = $tpl->fetch();
$Result['pagelayout'] = 'popup';
return;
}
if (in_array($Params['user_parameters_unordered']['xls'], array(1, 2))) {