• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Split library into 2 versions, 'light' and 'complete', then call functions from either using just 1 library name.

#2
[eluser]wh1tel1te[/eluser]
Code:
$this->load->library('my_light_library', '', 'my_lib');

or:

Code:
$this->load->library('my_complete_library', '', 'my_lib');

then:

Code:
$this->my_lib->some_function();

More info here.


Messages In This Thread
Split library into 2 versions, 'light' and 'complete', then call functions from either using just 1 library name. - by El Forum - 03-03-2011, 02:20 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.