Class: DataUtil
Source Location: /pnobjlib/DataUtil.class.php
Class OverviewDataUtil |
Methods |
Inherited Variables
Inherited Methods
Class Details
[line 20]
DataUtil
[ Top ]
Class Methods
method censor [line 400]
|
Censor variable contents. This method is recursive array safe.
Tags:
Parameters:
[ Top ]
method cleanVar [line 29]
|
Clean a variable, remove slashes. This method is recursive array safe.
Tags:
Parameters:
[ Top ]
method convertFromUTF8 [line 544]
|
convertFromUTF8() converts a string from utf-8
Tags:
Parameters:
[ Top ]
method convertToUTF8 [line 516]
|
convertToUTF8() converts a string or an array (recursivly) to utf-8
Tags:
Parameters:
[ Top ]
method decode [line 53]
|
Decode a character a previously encoded character
Tags:
Parameters:
[ Top ]
method decrypt [line 70]
|
Decrypt the given value using the mcrypt library function. If the mcrypt functions do not exist, we fallback to the RC4 implementation which is shipped with Zikula.
Tags:
Parameters:
[ Top ]
method encode [line 96]
|
Encode a character sting such that it's 8-bit clean. It maps to base64_encode().
Tags:
Parameters:
[ Top ]
method encrypt [line 113]
|
Encrypt the given value using the mcrypt library function. If the mcrypt functions do not exist, we fallback to the RC4 implementation which is shipped with Zikula.
Tags:
Parameters:
[ Top ]
method formatForDisplay [line 138]
|
Format a variable for display. This method is recursive array safe.
Tags:
Parameters:
[ Top ]
method formatForDisplayHTML [line 170]
|
Format a variable for HTML display. This method is recursive array safe.
Tags:
Parameters:
[ Top ]
method formatForOS [line 298]
|
Format a variable for operating-system usage. This method is recursive array safe.
Tags:
Parameters:
[ Top ]
method formatForStore [line 271]
|
Format a variable for DB-storage. This method is recursive array safe.
Tags:
Parameters:
[ Top ]
method formatForURL [line 357]
method formatPermalink [line 362]
method getBooleanIniValue [line 465]
|
This method converts the several possible return values from allegedly "boolean" ini settings to proper booleans Properly converted input values are: 'off', 'on', 'false', 'true', '0', '1' If the ini_value doesn't match any of those, the value is returned as-is.
Tags:
Parameters:
[ Top ]
method hash [line 432]
|
Perform SHA1 or SHA256 hashing on a string using native PHP functions if available and if not uses own classes.
Tags:
Parameters:
[ Top ]
