Welcome Guest, Not a member yet? Register   Sign In
$this->load->library and __construct
#13

[eluser]Aniket[/eluser]
Hi all,
Passing an array with required values while loading the library, model has an advantage....say you have more than 10 variables in you model/library and you want to initialize them when loading the model/library. You don't have to pass so may parameter while loading ...your code will look lengthy....so i will say clubbing the parameters together and passing them is a better option...from my point of view.


Messages In This Thread
$this->load->library and __construct - by El Forum - 09-08-2008, 09:23 AM
$this->load->library and __construct - by El Forum - 09-08-2008, 09:46 AM
$this->load->library and __construct - by El Forum - 09-08-2008, 09:50 AM
$this->load->library and __construct - by El Forum - 09-08-2008, 09:53 AM
$this->load->library and __construct - by El Forum - 09-08-2008, 10:36 AM
$this->load->library and __construct - by El Forum - 09-08-2008, 10:59 AM
$this->load->library and __construct - by El Forum - 09-08-2008, 01:49 PM
$this->load->library and __construct - by El Forum - 03-02-2009, 09:08 PM
$this->load->library and __construct - by El Forum - 03-02-2009, 11:03 PM
$this->load->library and __construct - by El Forum - 03-03-2009, 03:21 AM
$this->load->library and __construct - by El Forum - 03-03-2009, 04:32 AM
$this->load->library and __construct - by El Forum - 03-03-2009, 05:03 AM
$this->load->library and __construct - by El Forum - 03-03-2009, 06:24 AM
$this->load->library and __construct - by El Forum - 03-03-2009, 06:39 AM
$this->load->library and __construct - by El Forum - 03-03-2009, 06:51 AM
$this->load->library and __construct - by El Forum - 03-03-2009, 07:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB