summaryrefslogtreecommitdiffstats
path: root/system/core/Controller.php
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Annual copyright updateMaster Yoda1-2/+2
2016-12-31Update copyright data to 2017Master Yoda1-2/+2
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-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
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-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-11-03Revert 679525d0237ac2e0a94d7b05377eb31eb3398f19Andrey Andreev1-0/+1
It appears to break get_instance()->*_package_path*() usage which is very common. Need to figure out how to resolve this.
2012-11-02Removed CI_Loader::initialize() and moved its logic to the constructor.Andrey Andreev1-1/+0
That method used to be called by the CI_Controller constructor and was required because of the possibility to instantiate the Controller class twice due to 404_override, and so some properties needed to be reset. Following the last commit - this is no longer the case.
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-5/+6
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-0/+2
2012-05-17Cleanup the core classesAndrey Andreev1-2/+5
2012-04-23Use tabs to separate class propertiesTimothy Warren1-1/+1
2012-04-19Additional formatting fixesTimothy Warren1-3/+1
2012-04-19Normalize comments in core filesTimothy Warren1-0/+13
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-07Revert DIRECTORY_SEPARATOR changesAndrey Andreev1-1/+1
2012-01-07Improve core Controller & Exceptions librariesAndrey Andreev1-11/+5
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
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-10Reset loaded files arrays in the Loader so the 404_override controller can ↵Shane Pearson1-1/+1
access autoloaded libraries. If a controller exists but a method is not found the current $CI instance is unset and a new one is created for the 404 override controller. Any autoloaded libraries will not be available to the 404 override controller because the Loader sees them as already have been loaded. To fix this we need to reset the loader. I implemented it via an initialize function that resets the loaded files arrays and then calls the autoloader. This also simplifies things in CI_Controller because it only has to call one loader function instead.
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-3/+3
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-3/+3
2011-04-20Refactoring the loader to set protected class variables.Greg Aker1-5/+2
Moved _ci_autoload(), which is used in CI_Controller to be a public method. Also added CI_Loader::set_base_classes() to be called in the controller so we're not setting protected vars in another class. Also refactored in the form_helper so it's not trying to access protected vars in CI_Loader. Added the is_loaded() method to the loader to take care of the checks that were being done there.
2011-04-20Altering the loader to be able to load views from packages when adding the ↵Greg Aker1-1/+1
package path with add_package_path().
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Blasting the Base4/5 files. Updating Controller.php to inherit bits from ↵Greg Aker1-27/+13
the old Base5. If a constructor is needed in a controller, call parent::__contruct()
2010-11-09Fix #62 Adding CI_ prefix to Controller.Greg Aker1-3/+3
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-8/+8
2010-04-25Simple change to comment line 21: the=>that.Roger Simms1-1/+1
2010-03-25code comment typoDerek Jones1-1/+1
2010-03-02killed scaffolding from Controller classDerek Jones1-58/+12
reworked to use is_loaded() and is_php() from Common added PHP4 tag
2010-03-02fixed EOF code comment file locationsDerek Jones1-1/+1
2010-03-02moving core library files out of libraries into new core folderDerek Jones1-0/+127