summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
AgeCommit message (Collapse)AuthorFilesLines
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
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-25Added support for extending individual driver classes and driver unit testsdchill421-7/+6
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-11-12Fix issue #777Andrey Andreev1-7/+14
2012-11-07Added function_usable() to common functionsAndrey Andreev1-1/+3
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
2012-11-06Added possibility to pass custom database objects to DB Forge and DB UtilitiesAndrey Andreev1-25/+36
Also, their property is no longer public and the utility class no longer extends CI_DB_forge.
2012-11-05Refactored DB ForgeAndrey Andreev1-1/+14
- PDO subdrivers are isolated from each other now. - Added compatibility for pretty much all of the features, for every DB platform. - Unified the way that stuff works in general. - Fixes issue #1005.
2012-11-03Revert 679525d0237ac2e0a94d7b05377eb31eb3398f19Andrey Andreev1-6/+19
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-22/+6
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-27Make CI_Loader::config() a proper alias for CI_Config::load() and improve ↵Andrey Andreev1-134/+152
the Loader class DocBlocks
2012-10-24Fix #191Andrey Andreev1-4/+4