SproutCMS

This is the code documentation for the SproutCMS project

function singular()

Makes a plural word singular.

Usage

string Inflector::singular ( string $str [, integer $count ] );

Arguments

  1. string $str
    word to singularize
  2. integer $count = NULL
    number of things

Return value

  • string