[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/phputf8/ -> ucwords.php (summary)

(no description)

Version: $Id: ucwords.php 10381 2008-06-01 03:35:53Z pasamio $
File Size: 44 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  utf8_ucwords()
  utf8_ucwords_callback()

Functions
Functions that are not part of a class:

utf8_ucwords($str)   X-Ref
UTF-8 aware alternative to ucwords
Uppercase the first character of each word in a string
Note: requires utf8_substr_replace and utf8_strtoupper

param: string
return: string with first char of each word uppercase

utf8_ucwords_callback($matches)   X-Ref
Callback function for preg_replace_callback call in utf8_ucwords
You don't need to call this yourself

param: array of matches corresponding to a single word
return: string with first char of the word in uppercase



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1