public function checkViewDataPerms($fld)
    {
        if ($fld && isset($fld->FldOpts) && intVal($fld->FldOpts) > 0) {
            if ($fld->FldOpts%7 > 0 && $fld->FldOpts%11 > 0 && $fld->FldOpts%13 > 0) {
                return true;
            }
            if (in_array($GLOBALS["SL"]->x["pageView"], ['full', 'full-pdf', 'full-xml'])) {
                return true;
            }
            if ($fld->FldOpts%13 == 0 || $fld->FldOpts%11 == 0) {
                return false;
            }
            return true;
        }
        return false;
    }
public function checkViewDataPerms($fld)
    {
        if ($fld && isset($fld->FldOpts) && intVal($fld->FldOpts) > 0) {
            if ($fld->FldOpts%7 > 0 && $fld->FldOpts%11 > 0 && $fld->FldOpts%13 > 0) {
                return true;
            }
            if (in_array($GLOBALS["SL"]->x["pageView"], ['full', 'full-pdf', 'full-xml'])) {
                return true;
            }
            if ($fld->FldOpts%13 == 0 || $fld->FldOpts%11 == 0) {
                return false;
            }
            return true;
        }
        return false;
    }
public function checkViewDataPerms ( $ fld ) { if ( $ fld && isset ( $ fld -> FldOpts ) && intVal ( $ fld -> FldOpts ) > 0 ) { if ( $ fld -> FldOpts % 7 > 0 && $ fld -> FldOpts % 11 > 0 && $ fld -> FldOpts % 13 > 0 ) { return true ; } if ( in_array ( $ GLOBALS [ "SL" ] -> x [ "pageView" ] , [ 'full' , 'full-pdf' , 'full-xml' ] ) ) { return true ; } if ( $ fld -> FldOpts % 13 == 0 || $ fld -> FldOpts % 11 == 0 ) { return false ; } return true ; } return false ; }
FldOpts %1 XML Public Data; %7 XML Private Data; %11 XML Sensitive Data; %13 XML Internal Use Data
FldOpts %1 XML Public Data ; %7 XML Private Data ; %11 XML Sensitive Data ; %13 XML Internal Use Data