EE 1
EE 2
Inflector

Developer

Brett DeWoody

3rd Party (Free)

15 downloads (last 90 days)

MIT License Download v1.0

Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

Plugin

Tags

Inflector provides several functions to change words to plural, singular, camel case, etc.

This plugin is based on CodeIgniter’s Inflector helper.
(http://codeigniter.com/user_guide/helpers/inflector_helper.html)

There are 5 functions:

{exp:eehive_inflector:singular}
Changes a plural word to singular.

{exp:eehive_inflector:plural}
Changes a singular word to plural.

{exp:eehive_inflector:camelize}
Changes a string of words separated by spaces or underscores to camel case.

{exp:eehive_inflector:underscore}
Takes multiple words separated by spaces and underscores them.

{exp:eehive_inflector:humanize}
Takes multiple words separated by underscores and adds spaces between them.

To use the functions above simply wrap your text in the appropriate
tag. Like this:

{exp:eehive_inflector:singular}Your contents{/exp:eehive_inflector:singular}

The above would singularize “Your contents” and return “your content”.

Download Inflector

EE Version Downloads Add-On Version Release Date
2.+ Download 1.0 2010-11-29 02:00 AM

This entry was created December 1, 2010, 1:29 pm.
This entry was last updated March 11, 2013, 5:02 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!