This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
GetObjectParents()
GetObjectParents(object): Array
Return array of object parents.
object |
Target object. |
Return
Array of NetObj instances.
// Log names and ids of all accessible parents for current node
parents = GetObjectParents($node);
for (p : parents)
{
trace(1, "Parent object: name='" .. p.name .. "' id=" .. p.id);
}