pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]

object_program()


Method object_program

program|function object_program(mixed o)

Description

Return the program from which o was instantiated. If the object was instantiated from a class using parent references the generating function will be returned.

If o is not an object or has been destructed 0 (zero) will be returned.

Module reference for Pike v7.8 release 116, 2008-12-31