CakePHP: использовать класс Inflector для всего массива ⇐ Php
-
Anonymous
CakePHP: использовать класс Inflector для всего массива
I need to use Inflector::slug() over all results fetched from my database, which are, of course, retrieved in an array. Is it possible somehow, or I'll need to loop each result and slugify it?
Thanks!
Источник: https://stackoverflow.com/questions/652 ... hole-array
I need to use Inflector::slug() over all results fetched from my database, which are, of course, retrieved in an array. Is it possible somehow, or I'll need to loop each result and slugify it?
Thanks!
Источник: https://stackoverflow.com/questions/652 ... hole-array
Мобильная версия