|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
marie@dk Smarty n00b
Joined: 06 Jul 2008 Posts: 1
|
Posted: Sun Jul 06, 2008 3:18 pm Post subject: Error in documentation regarding capitalize |
|
|
About 'capitalize' the documentation says:
Quote: | This is used to capitalize the first letter of all words in a variable. This is similar to the PHP ucfirst() function. | ucfirst() will capitalize only the first character of a string. In the above text 'ucfirst()' should be replaced with ucwords() which is the correct equivalent. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|