本文整理汇总了PHP中ACL::BuildACL方法的典型用法代码示例。如果您正苦于以下问题:PHP ACL::BuildACL方法的具体用法?PHP ACL::BuildACL怎么用?PHP ACL::BuildACL使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ACL
的用法示例。
在下文中一共展示了ACL::BuildACL方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: processAclRequest
private function processAclRequest()
{
$dom = $this->xmlDom;
$headerNode = $dom->getElementsByTagName('SIF_Header')->item(0);
$originalMsgId = $headerNode->getElementsByTagName('SIF_MsgId')->item(0)->nodeValue;
$originalSourceId = $headerNode->getElementsByTagName('SIF_SourceId')->item(0)->nodeValue;
$acl = new ACL($dom);
$timestamp = Utility::createTimestamp();
$msgId = Utility::createMessageId();
XmlHelper::buildSuccessMessage($msgId, $timestamp, $originalSourceId, $originalMsgId, 0, $originalMsg = $acl->BuildACL(), $desc = null);
}
示例2: createAclAckMessage
private function createAclAckMessage($sourceId, $originalMsgId)
{
$acl = new ACL($this->xmlDom);
$timestamp = Utility::createTimestamp();
$msgId = Utility::createMessageId();
XmlHelper::buildSuccessMessage($msgId, $timestamp, $sourceId, $originalMsgId, 0, $originalMsg = $acl->BuildACL(), $desc = null);
}
示例3: createAclAckMessage
private function createAclAckMessage($sourceId, $originalMsgId)
{
$acl = new ACL($this->xmlDom);
$timestamp = Utility::createTimestamp();
$msgId = Utility::createMessageId();
if ($_SESSION['ZONE_VERSION'] == '1.5r1') {
XmlHelper::buildSuccessMessage($msgId, $timestamp, $sourceId, $originalMsgId, 0);
} else {
XmlHelper::buildSuccessMessage($msgId, $timestamp, $sourceId, $originalMsgId, 0, $originalMsg = $acl->BuildACL(), $desc = null);
}
}