| Subject: | I like the concept but found a flaw... |  
| Summary: | Package rating comment |  
| Messages: | 1 |  
| Author: | Fabian Schmengler |  
| Date: | 2009-12-09 19:31:20 |  
|   |  
 
 | 
 | 
Fabian Schmengler rated this package as follows:
| Utility:  | Sufficient | 
| Consistency:  | Good | 
| Documentation:  | Good | 
| Examples:  | Good | 
| 
 | 
  Fabian Schmengler - 2009-12-09 19:31:20  
I like the concept but found a flaw in the class. A function variant with no parameters will lead to an error because you try to access a protected method. On the other hand, if this does not result in an error in your PHP version you will have access to all protected methods ;-) 
 
Therefore I changed line 91 from <code>$func = "";</code> to <code>$func = "_";</code> and declare overloaded methods without parameters with a trailing underscore. 
  
   |