function _securepages_unicode_caseflip in Secure Pages 6
Same name and namespace in other branches
- 6.2 securepages.module \_securepages_unicode_caseflip()
Helper function for case conversion of Latin-1. Used for flipping U+C0-U+DE to U+E0-U+FD and back.
1 string reference to '_securepages_unicode_caseflip'
- securepages_strtolower in ./
securepages.module - Lowercase a UTF-8 string.
File
- ./
securepages.module, line 458 - Provide method of creating allowing certain pages to only viewable from https pages
Code
function _securepages_unicode_caseflip($matches) {
return $matches[0][0] . chr(ord($matches[0][1]) ^ 32);
}