Log in

View Full Version : What are “magic methods” in Magento?



dennis123
12-20-2017, 01:50 AM
What are “magic methods” in Magento?

davidsmith21
12-20-2017, 03:43 AM
That's Since Magento makes utilization of enchantment techniques. Enchantment systems inside Magento need aid techniques that are known as to check, retrieve, set, or unset information. So, basically, you can fetch any data from the protected $_data array in an object simply by calling an appropriate Magic Method.

arianagrand
12-23-2017, 03:07 AM
Magic Methods are methods that are called to check, retrieve, set, or unset data. So, basically, you can fetch any data from the protected $_data array in an object simply by calling an appropriate Magic Method.

24x7servermanag
12-25-2017, 08:41 AM
Magic methods used to check, retrieve, set, or unset data. So, basically, you can fetch any data from the protected $_data array in an object simply by calling an appropriate Magic Method. Magento uses __call(), __get(), __set(), __uns(), __has(), __isset(), __toString(), __construct(), etc. magic methods

Ha Nguyen
12-25-2017, 10:48 AM
Magic Methods inside Magento are methods that are called to check, retrieve, set, or unset data. So, basically, you can fetch any data from the protected $_data array in an object simply by calling an appropriate Magic Method.