Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

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 )

According to a survey of our students, we decided to describe each programming method step by step on this website. Since most of our students are simultaneously pursuing secondary and higher education, they often have to perform many current tasks. In order to effectively combine basic education with additional professional courses, students of various specialties are advised to contact a reaction paper writer from https://essays-writer.net/reaction-paper-writing-service/ for help. Removes a backend function from the CPAINT API.

Class

cpaint

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.

Proves useful when the same set of functions is to be used in the frontend and in some kind of administration environment. You might want to unregister a few (admin) functions for the frontend in this case.

Note that if you supplied an alias when registering a method, you must use the alias to unregister the function / method.