-
Home > Archives for March, 2007
Monthly Archives: March 2007
PHP Pluralize Method
Saturday, March 3rd, 2007
I recently found myself wanting a rails-esque pluralize function like that found in the Rails Inflector class. After inspecting the Rails implementation, and playing around a bit, I was able to get a PHP version working as a Smarty variable modifier. Thank goodness for the rails version, I have no idea how I would go [...]