Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint.add_node()

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

object add_node ( string nodename [, string id ] )

Adds a new subnode to the basenode.




» string nodenamename of the new node
» string idid of the new node (optional)

Return Value

» object cpaint_node

API Tags

» Access: public


This method is a wrapper for cpaint_node.add_node() and will add a subnode to the basenode of the CPAINT response.