Class mr_format_string

Description

Format string

  • author: Sam Chaffee
  • author: Mark Nielsen

Located in /format/string.php (line 38)

mr_format_abstract
   |
   --mr_format_string
Variable Summary
string $format
mixed $isnull
boolean $striplinks
Method Summary
mr_format_string __construct ([mixed $isnull = ''], [boolean $format = true], [boolean $striplinks = true])
void format ( $value)
Variables
string $format (line 51)

Run the string through format_string()

  • access: protected
mixed $isnull (line 44)

If the value is NULL, then return this value

  • access: protected
boolean $striplinks (line 58)

This gets passed to format_string()

  • access: protected
Methods
Constructor __construct (line 67)

Constructor

  • access: public
mr_format_string __construct ([mixed $isnull = ''], [boolean $format = true], [boolean $striplinks = true])
  • mixed $isnull: If the value being formatted is NULL, then use this value instead
  • boolean $format: Run the value though format_string()
  • boolean $striplinks: Passed to format_string() when $format = true
format (line 76)

Format the string

  • access: public
void format ( $value)
  • $value

Redefinition of:
mr_format_abstract::format()
Format a value

Inherited Methods

Inherited From mr_format_abstract

mr_format_abstract::format()

Documentation generated on Thu, 28 Jun 2012 16:33:51 -0700 by phpDocumentor 1.4.3