cpaint_node Method Summary
void set_data ( mixed data )
Assigns data to the node.
» mixed datadata to assign to this node
» Access: public
Will assign data to the node. Data will be properly escaped: All non-alphanumeric bytes except -_. will be replaced with a percent (%) sign followed by two hex digits representing their ASCII value.
Please note that UTF-8 is handled safely by this approach.
See RFC 1738 for details on this encoding.
When using JSON as response type (and only then!) non-scalar values may be passed as data.