Remarks
• Only supported in the init callback
Examples
on init
disable_logging($NI_LOG_MESSAGE)
disable_logging($NI_LOG_WARNING)
disable_logging($NI_LOG_WATCHING)
end on
Keep the lines above commented out while development and bring them back in right before ship-
ping your product to disable any debugging-related content
watch_var()
watch_array_idx()
7.2. exit
exit
Immediately stops a callback or exits a function
Remarks
•
exit
is a very strong command. Be careful when using it, especially when dealing with larger
scripts.
• If used with a function,
exit
only quits the function but not the entire callback.
Examples
on note
if (not(in_range($EVENT_NOTE,60,71)))
Do'stlaringiz bilan baham: |