Welcome Guest, Not a member yet? Register   Sign In
User Interface Model
#4

[eluser]wiredesignz[/eluser]
Force config to use an index when loading your config array from file.
Code:
$this->config->load('settings', TRUE);

Then a single call will retrieve the entire array.
Code:
$settings = $this->config->item('settings');


Messages In This Thread
User Interface Model - by El Forum - 08-25-2009, 09:45 AM
User Interface Model - by El Forum - 08-25-2009, 08:33 PM
User Interface Model - by El Forum - 08-25-2009, 09:03 PM
User Interface Model - by El Forum - 08-25-2009, 09:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB