Example #1
0
 function Exists($Uid)
 {
     try {
         $oPro = ObjectPermissionPeer::retrieveByPk($Uid);
         if (is_object($oPro) && get_class($oPro) == 'ObjectPermission') {
             return true;
         } else {
             return false;
         }
     } catch (Exception $oError) {
         throw $oError;
     }
 }