Welcome Guest, Not a member yet? Register   Sign In
Is there any way to figure out which helper is loaded ?
#1

[eluser]minttux[/eluser]
Is there any way to figure out which helper or lib or config and any thing is loaded ?

for example i want to load file helper but it loaded 1 times before and doesn't need to load it again
#2

[eluser]boltsabre[/eluser]
Try putting an echo statement inside your file helper and then loading it twice... what happens, do you see the echo just once, or twice ;-)
#3

[eluser]minttux[/eluser]
[quote author="boltsabre" date="1370447237"]Try putting an echo statement inside your file helper and then loading it twice... what happens, do you see the echo just once, or twice ;-)[/quote]

what about file helper and another codeigniter integrated helper or lib or ... smart boy Big Grin

i thought may be there is correct way to find out
#4

[eluser]CroNiX[/eluser]
See the code for the loader, specifically the helper method. It's already checking to see if it's been loaded, just like loading libraries, etc..
#5

[eluser]minttux[/eluser]
[quote author="CroNiX" date="1370489493"]See the code for the loader, specifically the helper method. It's already checking to see if it's been loaded, just like loading libraries, etc..[/quote]

it seems nice solution i will check it
Thanks




Theme © iAndrew 2016 - Forum software by © MyBB