Tuesday, May 27, 2014

Magic function and it's use in magento

As we know in pho 5 they have implemented some magic function which is as follow. 
 __construct(), __destruct(), __call(), __callStatic(), __get(), __set(), __isset(), __unset(), __sleep(), __wakeup(), __toString(), __invoke(), __set_state() and __clone().

In between that magento is using   __get, __set & __call


No comments:

Post a Comment