class tree: 68Classifieds |
index: 68Classifieds |
all elements
Constructor Format (line 28)
cleanValue (line 201)
dot (line 153)
do_magic_quotes_gpc (line 274)
filterword (line 130)
FormatCurrency (line 76)
formatNumber (line 91)
globals_unset (line 244)
prepDisplay (line 41)
safeAddSlashes (line 169)
safeHTML (line 63)
safeStripSlashes (line 182)
special_chars (line 52)
Format
Description
Format class handles most formating.
Located in /includes/classes/kernel/Format.php (line 21)
Method Summary
Methods
Constructor Format (line 28)
Format Constructor
void
Format
()
cleanValue (line 201)
Creates safe sql.
mixed
cleanValue
(string $theValue, string $theType)
- string $theValue: The value
- string $theType: The type of value you are entering
dot (line 153)
dot
string
dot
(string $str, int $len, [string $dots = "..."])
- string $str: The string
- int $len: The length you want returned
- string $dots: the suffix
do_magic_quotes_gpc (line 274)
handle magic_quotes_gpc turned off.
void
do_magic_quotes_gpc
( &$ar, array $ar)
- array $ar
- &$ar
filterword (line 130)
Filter a string based off bad words from administration.
string
filterword
(string $value)
- string $value: The value
FormatCurrency (line 76)
FormatCurrency
Attempt to format a currency
string
FormatCurrency
(string $amount)
- string $amount: The amount
formatNumber (line 91)
Format an int
int
formatNumber
(int $listingprice)
- int $listingprice: The amount
globals_unset (line 244)
Try to unset any Global vars.
void
globals_unset
()
prepDisplay (line 41)
Preps the display of a string
string
prepDisplay
(string $value)
- string $value: The value
safeAddSlashes (line 169)
Attempts to safely add slashes
string
safeAddSlashes
(string $theValue)
- string $theValue: The string
safeHTML (line 63)
Generate safe html
string
safeHTML
(string $value)
- string $value: The value
safeStripSlashes (line 182)
Attempts to safely strip slashes
string
safeStripSlashes
( $string, string $str)
- string $str: The string
- $string
special_chars (line 52)
htmlspecialchars a string
string
special_chars
(string $string)
- string $string: The value

