184
edits
Tomas Kirnak (talk | contribs) |
Tomas Kirnak (talk | contribs) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Set value of | Set value of objects custom attribute. If attribute was not defined, it will be created. | ||
'''Since:''' 1.1.1 | '''Since:''' 1.1.1 | ||
== Syntax == | == Syntax == | ||
SetCustomAttribute('' | SetCustomAttribute(''object'', ''attributeName'', ''value'') | ||
== Parameters == | == Parameters == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| '' | | ''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. |
edits