bcit-ci / CodeIgniter

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
18.27k stars 7.61k forks source link

Include friendly_title method from FuelPHP #657

Closed garthkerr closed 12 years ago

garthkerr commented 12 years ago

The FuelPHP framework has a useful friendly_title method in the inflector class:

http://fuelphp.com/docs/classes/inflector.html#method_friendly_title

I would like to see this method included with Codeigniter.

nicholasruunu commented 12 years ago

Like this you mean?

http://codeigniter.com/user_guide/helpers/url_helper.html (url_title)

garthkerr commented 12 years ago

Nicholas, Ah yes. I was unaware of that function. Thank you!

has2k1 commented 12 years ago

There is some bickering between the URL and the Inflector helpers about which functions belong where. The functionality provided by url_title would be better placed in the Inflector helper.