summaryrefslogtreecommitdiffstats
path: root/system/helpers/inflector_helper.php
AgeCommit message (Collapse)AuthorFilesLines
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/
2008-11-13Changing EOL style to LFDerek Allard1-168/+168
2008-09-13updated copyrightRick Ellis1-1/+1
2008-08-21whitespace fixesDerek Allard1-42/+42
a minor re-ordering of the changelog
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-8/+8
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0
2008-01-28added ability to "extend" helpersDerek Jones1-60/+73
* modified Loader to check for prefixed helpers in application/helpers folder * surrounded provided helper functions with if (! function_exists('foo')) conditionals so the user's helper functions take precedent.
2008-01-21replaced www.codeigniter.com with codeigniter.comDerek Jones1-3/+3
2008-01-18ExpressionEngine Dev Team in creditDerek Allard1-2/+2
2007-10-04Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.Derek Allard1-1/+1