Difference between revisions of "NXSL:GetCustomAttribute"

no edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
Get value of node's custom attribute.
Get value of objects custom attribute.


== Syntax ==
== Syntax ==
GetCustomAttribute(''node'', ''attributeName'')
GetCustomAttribute(''object'', ''attributeName'')


== Parameters ==
== Parameters ==
{| class="wikitable"
{| class="wikitable"
|-
|-
| ''node'' || [[NXSL:Node|Node]] object, you can use predefined variable $node to refer to current node. You can also use null as node if trusted nodes check is disabled (see [[SG:Security Issues|Security Issues]] for more information).
| ''object'' || Any object of [[NXSL_Class_Reference|NetObj class]], or its sub-classes.
You can use predefined variable $node to refer to current node. You can also use null as node if trusted nodes check is disabled (see [[SG:Security Issues|Security Issues]] for more information).
|-
|-
| ''attributeName'' || Custom attribute name.
| ''attributeName'' || Custom attribute name.
184

edits