@John,
Refactored:
if (!empty($path[$count - 1])) {
$title = Inflector::humanize($path[$count - 1]);
}
uses less code.
@Langdon,
I suggest you get the latest release also.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---
- Re: Prettier Static Pages Snippet Langdon Stevenson
- Re: Prettier Static Pages Snippet Larry E. Masters aka PhpNut
- Re: Prettier Static Pages Snippet John Zimmerman [gmail]
- Re: Prettier Static Pages Snippet Langdon Stevenson
- Re: Prettier Static Pages Snippet John Zimmerman [gmail]