Current Version of Codefight CMS Available for Download:

            « Version 1.5.0 »

            NOTE: The code available is same as the code used for this site at the time of release.

            Codefight CMS is based on Codeigniter PHP Framework which is very easy to learn.

            It would be nice to hear back some feedback. Also you can contribute with code and helping translating language files in your language.

            You can use this CMS in anyway you want. You can modify as you like and use commercially for free.

 

 

Select Language.[TESTING For Next Release.]

English | नेपाली | French | German | Korean

Login | Select Language | Thu, 29 Jul 10 17:01:34 -0600

how to use var_dump and print_r in magento

2009-04-23 04:28:46Damodar Bashyal

 

This one is crazy with magento because sometimes it works and sometimes it just shows blank page. Once it gave me a real hard time. Finally found solution somewhere. I just had to do was add

CODE:

1-->debug()
on the object that i wanted to print as
CODE:

1-$obj->debug(); //e.g. if i have $_cart = Mage::getModel('checkout/cart'); //to use print_r or var_dump, i need to do print_r($_cart->debug());

These are methods available for a product:

More»