Home > lang > special 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Special Methods
Special methods are methods declared in classes, whose name begins with an underscore character, and that are called by the interpreter in the following situations:

_new When an object is created.
_init When the object класс is loaded.
_get
_put
When using an object as if it is an array.
_next When enumerating the object.
_call When using an object as if it is a function.
_unknown When trying to use an unknown object method or property.
_compare When comparing an object with another one.
_attach When an object is attached to or detached from its parent.
_property To know if an unknown symbol is a method or a property.