Abstract Class FOFStringUtils

Description

Helper class with utilitarian functions concerning strings

  • abstract:
  • since: 2.0

Located in /libraries/fof/string/utils.php (line 17)


	
			
Method Summary
 static string toASCII (string $value)
 static boolean toBool (string $string)
 static string toSlug (string $value)
Methods
static toASCII (line 58)

Convert common norhern European languages' letters into plain ASCII. This is a rudimentary transliteration.

  • return: The converted string
  • access: public
static string toASCII (string $value)
  • string $value: The value to convert to ASCII
static toBool (line 75)

Convert a string to a boolean.

  • return: The converted string
  • access: public
static boolean toBool (string $string)
  • string $string: The string.
static toSlug (line 27)

Convert a string into a slug (alias), suitable for use in URLs. Please note that transliteration suupport is rudimentary at this stage.

  • return: The slug
  • access: public
static string toSlug (string $value)
  • string $value: A string to convert to slug

Documentation generated on Tue, 19 Nov 2013 15:16:44 +0100 by phpDocumentor 1.4.3