src/Helpers/Helpers.php
public function isAllowedPeopleIdSingleContactDisplay($id) {

        if ($id == 0) {
            return false;
        }

        $allowedIDs = Config::get('lasallecrmcontact.single_contact_display_people_id_allowed');

        foreach ($allowedIDs as $allowedID) {
            if ($allowedID == $id) {
                return true;
            }
        }
        return false;
    }
public function isAllowedPeopleIdSingleContactDisplay($id) {

        if ($id == 0) {
            return false;
        }

        $allowedIDs = Config::get('lasallecrmcontact.single_contact_display_people_id_allowed');

        foreach ($allowedIDs as $allowedID) {
            if ($allowedID == $id) {
                return true;
            }
        }
        return false;
    }
public function isAllowedPeopleIdSingleContactDisplay ( $ id ) { if ( $ id == 0 ) { return false ; } $ allowedIDs = Config :: get ( 'lasallecrmcontact.single_contact_display_people_id_allowed' ) ; foreach ( $ allowedIDs as $ allowedID ) { if ( $ allowedID == $ id ) { return true ; } } return false ; }
Is this people ID allowed to be displayed in the single contact display?

@param  int        $id        LaSalleCRM people ID
@return bool
Is this people ID allowed to be displayed in the single contact display?