CPAINT :: Cross-Platform Asynchronous INterface Toolkit

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

Backend: cpaint.get_attribute()

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

string get_attribute ( string attribute_name )

Retrieves an attribute by name.

Class

cpaint

Parameters

» string attribute_namename of the attribute to retrieve

Return Value

» string the attribute value

API Tags

» Access: public

Description

This method is a wrapper for cpaint_node.get_attribute() and returns an attribute value of the basenode of the CPAINT response.