Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: Class 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()

cpaint response node class

Author(s)

» Paul Sullivan <>
» Dominique Stender <>

API Tags

» Access: public

Information Tags

» Version: 2.1.0
» Copyright: Copyright (c) 2005-2006 Paul Sullivan, Dominique Stender - http://sf.net/projects/cpaint
» License: released under the terms of the LGPL.

Description

Objects of the cpaint_node class serve as nodes in the CPAINT backend response.

Every node has a name, textual data and optionally a set of attributes.
Attributes will only be used when the response type is not configured as TEXT.

Every node can have an arbitrary amount of nested nodes. New nested nodes are created with add_node().