One of my co-workers recently started working with Magento. Until recently he was primarily working in a custom system we had developed. One of the functions that he was very used to using was a debug function that simply was a wrapper for PHP’s print_r() that echoed out the beginning and ending pre tags. Now… Read more »
Posts Tagged: way
An Overview of Magento’s Get and Set Methods
Magento handles its get and set methods in a way that if you do not understand how it works it can be confusing to you. In the beginning of this article you have to take a leap of faith and believe in magic. In Magento you can take nearly any model and get all the… Read more »
Get Your Magento System’s Time
Magento handles time in a pretty different way. Instead of just using the time on the server it automatically converts the time to the selected time zone in Magento’s system. The way to get the current time is by using the following code: Mage::getModel(‘core/date’)->timestamp(time()); What this will do is take the timestamp that you get… Read more »
Using jQuery Listnav Plugin
Yesterday I was looking around for a creative way to display what will eventually become a very large list of information. Generally I would just use extra links and sort them alphabetically. For me it had never seen like the most ideal solution. Forcing the user to wait while the page reloads itself is actually… Read more »
The Ultimate PHP CSV Parser
Lately I have been trying to find cool PHP utilities that I can use to handle my day to day tasks. Lately parsing CSV files in PHP has been something I have had to do over and over again. Such a basic task can be such a pain considering all of the different formats that… Read more »