الرئيسية > lang > special 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr fa id vi ko ja ru zh zh_TW eo
السابق  التالي  تحرير  إعادة تسمية  تراجع  بحث  الإدارة  
المستندات  
تحذير! هذه الصفحة لم يتم ترجمتها.  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 class 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 منهج or خصائص.
_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.