Skip to content
  • Magento
    • Magento 1x
    • Magento 2x
  • Video Tutorials
    • How to do it
    • WordPress theme development
    • Laravel for Beginners
    • PHP for Beginners
    • WordPress for Beginners
  • WordPress
  • OS
    • Windows
    • Linux
      • Ubuntu
  • JS
    • jQuery
  • CSS
  • PHP
  • HTML
  • MySql
  • Contact

Category: OOP

Can you get a method name from within a method in PHP?

June 8, 2019

echo “hello from class name: “.__CLASS__.” and method:”.__METHOD__.””.” and with param : “.$param; __CLASS__ retrieves class name and __METHOD__ retrieves method name within the Class

Posted in OOP, PHPTagged OOP

Recent Posts

  • MYSQL SERVER HAS GONE AWAY | WindowsXampp Mysql
  • How to one Touch Lock for Android Phones | How to prolong the life of the power button on an Android smartphone
  • How to fix the WordFence wordfence-waf.php problem
  • Magento 2.0: Exception printing is disabled by default for security reasons
  • css not loading after Magento 2 installation
January 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Feb    
© 2021 Smartupworld Blog •