summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
AgeCommit message (Collapse)AuthorFilesLines
2015-03-30Fix whitespace in previous commitmwhitneysdsu1-1/+1
2015-03-30Fix logged path to match checked path in loadermwhitneysdsu1-1/+1
This is to fix a logged path missed in 8f5c1780706113c926bb7801db27dbae97d00fcf
2015-03-25Fix #3694: Packages not overriding stock librariesAndrey Andreev1-17/+30
Related: #3692
2015-02-04Removed one more return value (CI_Loader::_ci_autoloader)Gabriel Potkány1-1/+1
2015-01-22Um ... I meant autoload.phpAndrey Andreev1-1/+1
#3497
2015-01-22Don't try to include config/autoload.php if it doesn't existAndrey Andreev1-1/+5
Related: #3497
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-21Make libraries matching controller names loadableAndrey Andreev1-71/+103
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-4/+4
'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-12-17Extend fix for #3419Andrey Andreev1-17/+21
2014-11-07Simplify CI_Loader::lang() following #3316Andrey Andreev1-8/+1
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-07#3253Andrey Andreev1-1/+1
2014-03-242 more micro-optimizations in CI_LoaderAndrey Andreev1-3/+3
2014-03-24Yet another modification of CI_Loader::_ci_autoload()Andrey Andreev1-2/+1
2014-03-24Alter previous commitAndrey Andreev1-1/+1
2014-03-24CI_Loader::_ci_autoload() micro-optimizationAndrey Andreev1-3/+3
2014-03-20Fixed typo in model loader.James1-1/+1
Signed-off-by: James <me@tfel.net>
2014-02-20Don't use error suppression on ini_get() eitherAndrey Andreev1-3/+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-01-17Add autoloading library aliasing support (supersedes PR #2824)Andrey Andreev1-2/+9
2014-01-08Optimize get_instance() calls/assignmentsAndrey Andreev1-2/+1
2014-01-07Implement Loader method chainingAndrey Andreev1-29/+46
Requested in issue #2165 Supersedes PR #2319
2014-01-06Make CI_Loader methods library(), driver(), vars() and language()'s first ↵Andrey Andreev1-6/+6
parameters mandatory and fix a docblock
2014-01-03[ci skip] Remove a few spacesAndrey Andreev1-3/+3
2013-10-16Fixed empty line at EOF and added changelog entryTomaz Lovrec1-1/+1
2013-10-16Added possibility clear out the cached variables from the Loader.Tomaz Lovrec1-1/+15
2013-10-14Fix #2682Andrey Andreev1-1/+1
2013-10-02Add return type for view loader.garthkerr1-2/+2
When _ci_return is TRUE.
2013-09-12Removed new line from the end of the file.Ahmad Anbar1-1/+1
2013-09-12Fixed issue #2638 which prevented loading models in sub-folders by passing ↵Ahmad Anbar1-2/+2
an array.
2013-07-23Loader changes & optimizations related to issue #2551Andrey Andreev1-32/+31
2013-07-22Give Drivers a higher priority in the autoloaderAndrey Andreev1-9/+9
2013-07-22Change class filenames to UcfirstAndrey Andreev1-16/+15
2013-06-24Merge pull request #2403 from groovenectar/loader-fixAndrey Andreev1-1/+1
Fix for extending classes in a subdirectory (e.g. drivers)
2013-05-17Merge pull request #2442 from vlakoff/develop-3Andrey Andreev1-1/+1
Do not trigger a possible custom autoloader, as it is irrelevant here
2013-05-12Do not trigger a possible custom autoloader, as it is irrelevant herevlakoff1-1/+1
These were the last two calls of class_exists() without the $autoloader = FALSE argument.
2013-05-10Fix a docblock in Loader classvlakoff1-1/+1
2013-04-14Fix for extending classes in a subdirectory (e.g. drivers)Daniel1-1/+1
2013-02-27Fix this use case: load->vars->('foobar', '')vlakoff1-1/+1
Previously, only the other syntax was working: load->vars->(array('foobar' => ''))
2013-02-21Disable autoloader call from class_exists() occurences to improve performanceAndrey Andreev1-5/+5
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
2013-02-15Various cosmetic fixesvlakoff1-1/+1
2013-01-28Fix issue #2202 and alter Loader Class docsAndrey Andreev1-1/+1
2013-01-28Libraries' filenames must be named in a ucfirst-like mannerAndrey Andreev1-84/+60
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-3/+3
As suggested in issue #2134 & PR #2149
2013-01-14Replace is_null() with === / !== NULLvlakoff1-4/+4
Exact same behavior, but faster. I also think it's more readable.
2013-01-12Implement autoload model aliasing (#2117)Andrey Andreev1-2/+2
2013-01-06Slight performance improvement by moving some class property initialization ↵Ted Wood1-8/+4
to the class property declarations rather than setting them in the constructor. Subclasses can always override in their own constructor if they wish to. Is there a reason why it was done the way it was done? A policy that I am not aware of?
2013-01-03Replaced array_push function reference with a faster ordinary element ↵and-ers1-1/+1
insertion method