PHP Classes

why/when use dynamic method ? a real case example that show...

Recommend this page to a friend!

      Dynamic Methods  >  All threads  >  why/when use dynamic method ? a real...  >  (Un) Subscribe thread alerts  
Subject:why/when use dynamic method ? a real...
Summary:Package rating comment
Messages:2
Author:zetoun
Date:2011-01-02 12:10:43
Update:2011-01-03 10:37:46
 

 

zetoun rated this package as follows:

Utility: Insufficient
Consistency: Good
Documentation: Not sure
Examples: Bad

  1. why/when use dynamic method ? a real...   Reply   Report abuse  
Picture of zetoun zetoun - 2011-01-02 12:10:44
why/when use dynamic method ?
a real case example that show how this class cant be usefull
now i can just see a cpu/disk consuming code

  2. Re: why/when use dynamic method ? a real...   Reply   Report abuse  
Picture of Pashkov Denis Igorevich Pashkov Denis Igorevich - 2011-01-03 10:37:47 - In reply to message 1 from zetoun
Well you can use that in main class at startUp that add some methods ONCE per/session, for security reasons.
Actually this is just example, u don't need to load it from files or etc, it's just demonstrate how can you dynamically add some new methods.