CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Please note: CPAINT nor this website is under active development.

Backend: cpaint_node.get_attribute()

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

string get_attribute ( string attribute_name )

Retrieves an attribute by name.

Class

cpaint_node

Parameters

» string attribute_namename of the attribute to retrieve

Return Value

» string the attribute value

API Tags

» Access: public

Description

Returns the value of a node attribute assigned via set_attribute().
The escaping performed by set_attribute() will be undone automatically.