Home

Awesome

Emzee_Dev

Provides a handy object inspection method for Magento developers.

Facts

Usage

To be honest, I had forgotten there is any other method besides info() in Emzee_Dev. I guess that most of the other functionalities is covered by FireGento_Debug and others now. I'll list them here for the sake of completeness.

info()

The most useful function is info(). You can call it using the model or the helper:

# using a singleton model
echo Mage::getSingleton('emzee_dev/debug')->info($variable);

# using a helper
echo Mage::helper('emzee_dev')->info($variable);

info() is intended to be used with objects. Providing info() with other types will get you a simple print_r() output.

For objects, you get

Here is a screenshot so you get a better picture:

Emzee_Dev info() call

configInfo()

memoryUsage()

Returns current memory usage in human readable format.

modelInfo()

Returns information on models:

Compatibility

Installation Instructions

  1. Install the extension using modman or copy all the files into your document root. If you copy the files yourself copy app/design/frontend/base/default/template/emzee_dev/ to app/design/adminhtml/default/default/template/emzee_dev/ manually.

Uninstallation

  1. Remove the extension like all other extensions you install using modman.

Changelog

See Changelog.

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Matthias Zeis http://www.matthias-zeis.com
@mzeis

Licence

OSL - Open Software Licence 3.0

Copyright

(c) 2014 Matthias Zeis