Index: en/language/oop5/overloading.xml
===================================================================
RCS file: /repository/phpdoc/en/language/oop5/overloading.xml,v
retrieving revision 1.14
diff -u -r1.14 overloading.xml
--- en/language/oop5/overloading.xml 11 Jan 2007 23:05:52 -0000 1.14
+++ en/language/oop5/overloading.xml 18 Jan 2007 22:31:26 -0000
@@ -164,13 +164,13 @@
- Class methods can be overloaded to run custom code defined in your class
- by defining this specially named method. The $name
- parameter used is the name as the function name that was requested
- to be used. The arguments that were passed in the function will be
- defined as an array in the $arguments parameter.
- The value returned from the __call() method will be returned to the
- caller of the method.
+ The magic method __call() allows to capture invocation of non existing
+ methods. That way __call() can be used to implement user defined method
+ handling that depends on the name of the actual method being called. This
+ is for instance useful for proxy implementations. The arguments that were
+ passed in the function will be defined as an array in the
+ $arguments parameter. The value returned from the
+ __call() method will be returned to the caller of the method.