summaryrefslogtreecommitdiffstats
path: root/system/core/Controller.php
AgeCommit message (Collapse)AuthorFilesLines
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