The best solution is to write a patch and submit it into the cake
core.
On Dec 20, 11:22 am, Jaime <[email protected]> wrote:
> Hi all,
>
> I did a nice app which makes heavy use of Inflector::slug() to convert
> "My Strings" inoto "my_strings".
>
> However, now I find that the core slug() function is not working with
> my uppercase accentuated wovels (Á, É...). Of course I can patch
> inflector.php, but I DON'T like to touch Cake's core in order to
> easily upgrade later. I won't replace all calls to slug() in my whole
> code neither :-)
>
> Any idea? Is it possible somehow to redefine inflector::slug() or to
> extend the class in a way that I don't need to modify all my code nor
> to modify Cake's core? :-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---