Passing a second variable into a custom library |
[eluser]vbsaltydog[/eluser]
http://ellislab.com/codeigniter/user-gui...oader.html The first parameter is the library, the second is the array of options, the third is an optional object name. Take your key and other options, put them all in a single array, pass that array as the second parameter, then array_shift the key off of the array in the library constructor. |
Messages In This Thread |
Passing a second variable into a custom library - by El Forum - 01-29-2012, 08:31 PM
Passing a second variable into a custom library - by El Forum - 01-29-2012, 09:16 PM
Passing a second variable into a custom library - by El Forum - 01-30-2012, 12:34 AM
|