[line 77]
Object is the ultimate ancestor of all objects and components.
Object encapsulates fundamental behavior common to objects by introducing methods that
create, maintain and destroy instances of the object by allocating, initializing, and freeing required memory.
respond when object instances are created or destroyed.
return class-type and instance information on an object and runtime type information (RTTI) about its published properties.
Use Object as an immediate base class when declaring simple objects that do not need to persist (are not saved and reloaded in the session) and that do not need to be assigned to other objects.
Much of the capability of objects is established by methods that Object introduces. Many of these methods are used internally by IDEs and are not intended for users to call directly. Others are overridden in descendant objects that have more complex behavior.
Although Object is the based object of a component framework, not all objects are components. All component classes are descended from Component.
To create a class that belongs to the class library, you must, at least, inherit from Object, which provides the basic methods to work.
Constructs an object and initializes its data before the object is first used.
Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by Object allocates memory but does not initialize data.
Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.
In Object, this constructor basically assigns the globa Input object to be available as a field for all objects.
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
Use ClassName to obtain the class name from an object instance. This is useful for differentiating object instances that are assigned to a variable that has the type of an ancestor class.
Returns the type of the immediate ancestor of a class.
ClassParent returns the name of the parent class for an object instance. For Object, ClassParent returns false. Avoid using ClassParent in application code.
Use InheritsFrom to determine if a particular class type or object is an instance of a class or one of its descendants. InheritsFrom returns true if the object type specified in the class parameter is an ancestor of the object type or the type of the object itself. Otherwise, it returns false.
This PHP magic method is used on the class library to allow you create property (public and published) so you can write setters and getters and use property names in your code.
This PHP magic method is used on the class library to allow you create property (public and published) so you can write setters and getters and use property names in your code.