I can use this Sigleton? |
(04-12-2016, 09:12 AM)adrianolmedo Wrote: (models) User_model.php: I do not understand why do you use additional methods like newInstance(). Just create method you need and from withing library get CI instance: (helpers) user_helper.php: PHP Code: private $CI; |
Messages In This Thread |
I can use this Sigleton? - by adrianolmedo - 04-12-2016, 09:12 AM
RE: I can use this Sigleton? - by wishmaster - 04-19-2016, 07:40 AM
|