Difference between revisions of "NXSL:DeleteCustomAttribute"
Jump to navigation
Jump to search
Tomas Kirnak (talk | contribs) m |
Tomas Kirnak (talk | contribs) m |
||
Line 10: | Line 10: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| ''object'' || | | ''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). | 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). | ||
|- | |- |
Revision as of 18:19, 21 December 2017
Delete objects custom attribute.
Since: 1.2.17
Syntax
DeleteCustomAttribute(object, attributeName)
Parameters
object | Any object of 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 Security Issues for more information). |
attributeName | Custom attribute name. |
Return Value
null
Examples
DeleteCustomAttribute($node, "my_attribute");