Say No to Composer! |
(06-10-2015, 07:40 AM)MatthewSchenker Wrote: Greetings, What do you think about Splint, A Package and Dependency Manager for Code Igniter at https://splint.cynobit.com ?
(06-10-2015, 01:24 PM)ivantcholakov Wrote: PS: For achieving autoloading, if somebody finds a way to trick $this->load->lang('language_file'); he/she will be the master of the Universe. :-) This is very possible with Class Overloading (https://www.php.net/manual/en/language.o...oading.php)... I've been thinking of making something like this possible with Splint (https://splint.cynobit.com) You can do this by extending the Loader class Extend one of you core classes (The Loader) by creating a MY_Loader.php file in your application/core folder Then define a __get() function in the class and try to resolve aliases that don't exits.... In your case of a language file, you can override the lang() method of the Loader class and go from there |
Welcome Guest, Not a member yet? Register Sign In |