Backend: cpaint.unregister()
cpaint Method Summary
boolean register()
boolean unregister()
void start()
void return_data()
object add_node()
void set_data()
mixed get_data()
void set_id()
string get_id()
void set_attribute()
string get_attribute()
void set_name()
string get_name()
string get_response_type()
boolean unregister ( string function_name )
Removes a backend function from the CPAINT API.
Class
Parameters
» string function_namename of the backend function to remove.
Return Value
» boolean
API Tags
» Access: public
Description
This method comes in handy when you'd like to exclude certain functions from the CPAINT API. A trivial example is when using the same set of functions in a user- and an admin-context.