summaryrefslogtreecommitdiffstats
path: root/system/helpers/text_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2016-01-29Fix #4407Andrey Andreev1-3/+18
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-07-24Fixed typosCalvin Tam1-1/+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-05-20Fix handling of {unwrap} tags in word_wrap() functionsvlakoff1-4/+3
* in Email library: these tags were not removed * in text helper: simplified code
2014-05-20Regex fixesvlakoff1-1/+1
* Replace wrong "wwww." with "www." * Escape dot
2014-03-17Making highlight_phrase() to be UTF-8 compatible on demand.Ivan Tcholakov1-1/+1
2014-02-26Don't use error suppression on realpath() + style adjustmentsAndrey Andreev1-26/+31
2014-02-13Update Text and Inflector helpers to utilize mbstring, if availableAndrey Andreev1-8/+8
Text: word_wrap(), ellipsize() Inflector: humanize(), underscore() (rel #2855)
2014-02-13Merge pull request #2610 from mjnaderi/patch-1Andrey Andreev1-4/+4
character_limiter now works correct for UTF-8 strings
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.
2014-01-09Fix #133Andrey Andreev1-1/+6
2014-01-07Change Text helper default tag from <strong> to <mark>Andrey Andreev1-16/+8
Supersedes PR #1497
2013-08-22count number of characters (with mb_strlen) instead of counting number of ↵Mohammad Javad Naderi1-4/+4
bytes with strlen
2013-08-22remove newline from end of fileMohammad Javad Naderi1-1/+1
2013-08-22character_limiter now works correct for UTF-8 stringsMohammad Javad Naderi1-5/+5
strlen() doesn't return the actual length for unicode strings. For example strlen('سلام') returns 8, but length of سلام is 4. strlen(utf8_decode('سلام')) returns correct value 4. Reference: http://www.php.net/manual/de/function.strlen.php#45407
2013-02-28Text helper: convert_accented_characters() optimizationvlakoff1-5/+8
Thanks to static variables, array_keys() and array_values() are now executed once only.
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev1-9/+13
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php).
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-1/+1
As suggested in issue #2134 & PR #2149
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+1
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-10-27[ci skip] Optimize ascii_to_entities()Andrey Andreev1-7/+4
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-11/+11
2012-09-04More complicated but faster methodvlakoff1-1/+2
Also added a comment to explain the reason for such a complicated method
2012-08-31Simplification in Text Helper's character_limiter()vlakoff1-1/+1
Because the "\s" regex character class includes \r and \n, there is no need for the str_replace() part
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/helpersAlex Bilbie1-5/+5
2012-05-02Merge upstreamTimothy Warren1-79/+87
2012-05-02Fix a wrong variable nameAndrey Andreev1-1/+1
2012-04-27Fix rest of the helpersTimothy Warren1-97/+97
2012-03-26Remove remaining access description lines from helpers + some style fixesAndrey Andreev1-20/+9
2012-03-26Clear some spaces and fix some inconsistencies in the Zip library and ↵Andrey Andreev1-4/+4
system/helpers/ files
2012-03-20Remove EOF newlinesAndrey Andreev1-1/+1
2012-03-13Some comments alteredAndrey Andreev1-19/+10
2012-03-13Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-1/+1
develop-helpers-sst
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-03-01Remove a PHP_VERSION < 5 check (no longer needed)Andrey Andreev1-16/+6
2012-01-24Revert a space in the license agreement :)Andrey Andreev1-1/+1
2012-01-19Some more cleaningAndrey Andreev1-4/+4
2012-01-16convert_accented_characters() to include foreign_chars.php only when neededAndrey Andreev1-10/+15
2012-01-08Some more misc. stuffAndrey Andreev1-5/+3
2012-01-07Remove quotes around an integer valueAndrey Andreev1-1/+1
2012-01-07Improve the smiley, string & text helpersAndrey Andreev1-70/+63
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-27Revert "Abstracting the loading of files in the config directory depending ↵Greg Aker1-1/+8
on environments." This reverts commit 5c1aa631c5f5ec2f6b75ba1158178418e50ba11a.
2011-12-25Abstracting the loading of files in the config directory depending on ↵Greg Aker1-8/+1
environments.