Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint.set_name()

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()

void set_name ( string name )

Assigns a name to the basenode.

Class

cpaint

Parameters

» string namethe name of the basenode.

Return Value

» void

API Tags

» Access: public

Default

» string ajaxResponse

Description

This method is a wrapper for cpaint_node.set_name() and will set the name of the basenode of the CPAINT response.

The default name of the basenode is ajaxResponse.