summaryrefslogtreecommitdiffstats
path: root/system/helpers/inflector_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2016-10-21[ci skip] Add changelog entry for PR #4862Andrey Andreev1-3/+3
2016-10-21fixed small coding style issuesgxgpet1-5/+4
2016-10-20ordinal_format will accept only non-negative natural numbers and return ↵George Petculescu1-2/+2
original value on failure + docs update regarding this.
2016-10-20moved ordinal_format() helper function from Number helper to Inflector helperGeorge Petculescu1-0/+40
2016-10-10Updated list of words that aren't countableRené de Kat1-2/+31
Updated list of words that are the same in plural and singular form in English.
2016-02-07hunanize() helper: Escaping the $separator argument.Ivan Tcholakov1-1/+1
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-04-14[helper]update plural regularftwbzhao1-0/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-02-13Update Text and Inflector helpers to utilize mbstring, if availableAndrey Andreev1-8/+9
Text: word_wrap(), ellipsize() Inflector: humanize(), underscore() (rel #2855)
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-26/+26
2012-11-08Polish docs for HTML, Inflector, Language, Number, Path, Security and Smiley ↵Andrey Andreev1-11/+10
helpers Also fixed a DB_cache bug introduced in previous commit and removed an unused parameter in a smiley helper
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-05-17Update inflector docblocks, add changelog entryTimothy Warren1-5/+5
2012-04-27Fix rest of the helpersTimothy Warren1-48/+50
2012-03-26Remove remaining access description lines from helpers + some style fixesAndrey Andreev1-9/+11
2012-03-14Merged unit test progress.Phil Sturgeon1-7/+4
2012-03-14Merge branch 'feature/unit-tests' into developPhil Sturgeon1-1/+1
2012-03-10Really fix camelize()Andrey Andreev1-1/+1
2012-03-10Fix camelize()Andrey Andreev1-8/+5
2012-03-10Fixed camelize.Phil Sturgeon1-1/+1
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-02-29Improved plural() and singular().Phil Sturgeon1-56/+96
Avoids double-pluralization using "uncountable words" and better logic.
2012-01-17Fixed error in inflector_helper.php in the singular function.Wilbur Suero1-1/+1
The function was excepting $singluar_rules and got $singular_values.
2012-01-06Improve html, inflector & language helpersAndrey Andreev1-25/+5
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-25Fixing soft tabs in a few files.Greg Aker1-45/+45
2011-12-09Added ability to change the separator value in the humanize functionEric Barnes1-9/+9
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-13Improved logic for plural() and singular() as words like "tax" would become ↵Phil Sturgeon1-48/+67
"taxs" and it was tough to code in new rules.
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-7/+7
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-7/+7
2011-03-12Fixed the capitalization "bug" in the singular function as well.Kyle Farris1-6/+8
2011-03-11Forgot to trim the string first.Kyle Farris1-1/+2
2011-03-11Changed the 'plural' function so that it doesn't ruin the captalization of ↵Kyle Farris1-6/+5
your string. It also take into consideration acronyms which are all caps.
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon1-1/+1
2011-01-11 Changed || to OR to match coding standardsEric Barnes1-1/+1
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-22/+22
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-11-04Modified inflector helper to properly pluralize words that end in 'ch' or 'sh'Greg Aker1-0/+11
http://codeigniter.com/bug_tracker/bug/9384/
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-02-10Fixed a bug in plural() with words that end in yDerek Jones1-1/+3
http://codeigniter.com/bug_tracker/bug/6342/