oSystem=&$oSystem; } function checkItem($lItem) { $lUserPK=$this->oSystem->oUser->getUserPK(); if($this->oSystem->oDB->glGetNumberOfRecords("tdDisallowedItems","UserPK=".$lUserPK." AND MenuItemPK=".$lItem)==0) return true; return false; } }