示例#1
0
 function CreateMask(LOGGROUP $grp = NULL, array &$minfo = NULL, $flags = 0)
 {
     if ($this->reader_access) {
         $rdr = $this->req->CreateReader();
         $msk = $rdr->CreateMask($grp, $minfo, $flags);
         unset($rdr);
         return $msk;
     }
     return parent::CreateMask($grp, $minfo, $flags);
 }
示例#2
0
文件: zeus.php 项目: nicolaisi/adei
 function CreateMask(LOGGROUP $grp = NULL, array &$minfo = NULL, $flags = 0)
 {
     if ($minfo === NULL) {
         if ($this->req instanceof ITEMGroupRequest) {
             $minfo = $this->req->GetMaskInfo($flags);
         }
     }
     if ($flags & REQUEST::CONTROL) {
         return parent::CreateMask($grp, $minfo, $flags);
     } else {
         return new ZEUSMask($minfo, $this, $grp, $flags);
     }
 }