summaryrefslogtreecommitdiffstats
path: root/system/libraries/Calendar.php
AgeCommit message (Collapse)AuthorFilesLines
2014-02-09updates per narfbg's commentsAndrew1-5/+6
2014-02-09template as array instead of stringAndrew1-39/+91
library accepts `$config['template']` as array and string, to perform template replacements. updated `$this->temp` var to `$this->replacements` to be less ambiguous about what it does
2014-02-08simplify calendar libraryAndrew1-68/+35
it seemed quite strange that we ask users to pass in a template string the we parse with REGEX, to extract key/value pairs, when we can simply ask users for an array. the class still contains default variables for each part of the template. Users can simply pass in an array (instead of a string) when they initialize, $config['template'], which overwrites default values. this cuts down a little on file size by removing parse_template() function. I think arrays are much more straightforward and easy to read than 'encoded' strings. don't have to keep a running list of all template keys like in previous parse_template() function. gets rid of $this->temp[] property and changes it to $this->template[] which is more descriptive when generating output
2014-01-09Updates for the Calendar Pull RequestMarcos SF Filho1-1/+1
2014-01-08Unnecessary rtrim and update docs for Calendar classMarcos SF Filho1-1/+1
2014-01-08Join two if statement into oneMarcos SF Filho1-5/+2
2014-01-08Code Corrections for the Calendar Pull RequestMarcos SF Filho1-21/+18
2014-01-08Update the Calendar ClassMarcos SF Filho1-6/+48
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-5/+5
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-27Docblock improvementsAndrey Andreev1-3/+5
2012-06-16Fix CI_Calendar::generate() not accepting NULLs (introduced in ↵Andrey Andreev1-2/+2
d261b1e89c3d4d5191036d5a5660ef6764e593a0)
2012-06-04Revert/optimize some changes from 773ccc318f2769c9b7579630569b5d8ba47b114b ↵Andrey Andreev1-6/+6
and d261b1e89c3d4d5191036d5a5660ef6764e593a0
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-15/+15
2012-05-17Clean up the librariesAndrey Andreev1-24/+17
2012-04-27Fix calendar and session librariesTimothy Warren1-23/+69
2012-03-26Switch a private property to protected and cleanup the Calendar libraryAndrey Andreev1-35/+26
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-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-24Some braces & spaces added/removed to comply with the coding standartsAndrey Andreev1-10/+24
2011-12-24Improve the Calendar libraryAndrey Andreev1-79/+54
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-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-9/+9
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-9/+9
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-1/+1
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-3/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-78/+78
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-08-17Fixed a bug in the Calendar library where the shortname was output for "May".Derek Allard1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2008-11-13Changing EOL style to LFDerek Allard1-476/+476
2008-09-13updated copyrightRick Ellis1-1/+1
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-5/+5
(! 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-05-05Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to ↵Derek Allard1-2/+2
the File Helper. Changed ( ! condition) into (! condition) within the code
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
2007-05-01fixed a bug in the calendar libraryDerek Allard1-1/+1
2007-04-15update pMachine to EllisLabDerek Allard1-474/+474
update copyright year update Code Igniter to CodeIgniter
2006-10-31(no commit message)admin1-1/+10
2006-10-21(no commit message)admin1-66/+66
2006-10-21(no commit message)admin1-1/+1
2006-10-21(no commit message)admin1-1/+1
2006-10-09(no commit message)admin1-21/+21