summaryrefslogtreecommitdiffstats
path: root/system/libraries/Calendar.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-21Remove CI_Calendar::Andrey Andreev1-25/+19
Only use it in generate().
2014-02-20[ci skip] Fix date helper loading in CI_Calendar::get_total_days()Andrey Andreev1-1/+1
2014-02-20Date helper days_in_month(), CI_Calendar::get_total_days() changesAndrey Andreev1-17/+2
- days_in_month() now uses cal_days_in_month(), if available. - CI_Calendar::get_total_days() is now an alias for days_in_month().
2014-02-18[ci skip] Clean-up following PR #2864Andrey Andreev1-4/+4
2014-02-17Merge branch 'develop' into patch-1Andrew1-1/+1
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-02-11updates per narfbg requestAndrew1-3/+1
I did a bunch of Git tutorials, and (i think) understand a lot more now. this update is to address narfbg comments, and add to pull request.
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-08Add method chaining support to Calendar & Pagination libsAndrey Andreev1-3/+7
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-20Merge branch 'develop' into feature/user-guide-cleanupAndrey Andreev1-5/+41
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-07-21Updating Calendar lib docsDerek Jones1-1/+1
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