Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint_node.set_name()

cpaint_node Method Summary

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

void set_name ( string name )

Assigns a name to a node.

Class

cpaint_node

Parameters

» string namethe name of this node.

Return Value

» void

API Tags

» Access: public

Description

The name of a node will be used for OBJECT and XML response types to assign a name to a XML tag.