[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/string/src/phputf8/ -> ucwords.php (summary)

(no description)

File Size: 40 lines (1 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 Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer