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); }
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); } }