You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CP2: bit_list_to_where_clause() definition?

Received Response
3
Views
7
Comments
edited Jun 20, 2018 5:52AM in Customer Portal 7 comments

Content

In the process of upgrading a site from CP2 to CP3, I've come across this function that is quite confusing. I'm not sure what the equivalent of it would be for CP3. The line says:

 // $accessLevels is a comma seperated string, eg: 8,12,33
$whereBit = bit_list_to_where_clause($accessLevels, "access_mask");

Any idea where I can see what that function does?

Version

3.7

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!