Raised This Month: $ Target: $400
 0% 

Load-Once Function


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-04-2009 , 07:04   Load-Once Function
Reply With Quote #1

Hello!
I can't test code right now so, I would like to know, how can I make so a function is only called ONCE (it's a load function that registers stuff, therefore calling it twice registers stuff twice).

Edit: I think it's worth mentioning that the function is called by multiple plugins.

Thanks in advance,
Vitor.
vitorrd is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode