Quote:
Originally Posted by Nursik
And i still don't understand what are the "void"'s for in the "public"'s.
|
Void, basically means no return is needed.
Like if you did a Action function, then you would need to tell the function what to return, like:
PHP Code:
return Plugin_Continue; /**< Continue with the original action */
return Plugin_Changed; /**< Inputs or outputs have been overridden with new values */
return Plugin_Handled; /**< Handle the action at the end (don't call it) */
return Plugin_Stop; /**< Immediately stop the hook chain and handle the original */
__________________