Custom Function
Hy there!
Can I create native functions that accept function names as parameters? Like this... PHP Code:
PHP Code:
My Case: The Sub Plugin call this native function. PHP Code:
Like forwards just not exactly. If something happen in main they notice the sub plugins are subscribed with this function. Is it cleaner? Thank you! Edit: I think I found the solution. I was looking for "callfunc_begin" and "callfunc_end". The only think I have to store the plugin and the function's name. |
Re: Custom Function
It sounds like maybe MultiFowards would be something that you should consider using instead.
|
Re: Custom Function
I was looking for something that call a function in one plugin only. This can be done with "callfunc_" BUT the link in your post just helped me to realize there is an another option to avoid this. "CreateOneForward" that I haven't seen this in plugins so I didn't even know this exists.
So Thank you again, this will be much better I think! |
| All times are GMT -4. The time now is 11:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.