There is one part of Magento functionality that gets equally used across all the individual functionality mentioned so far, and that's helpers. Magento helper is a class that usually extends the
Mage_Core_Helper_Data class directly found in the
app/code/core/Mage/Core/Helper/Data.php file or at the very least derived from the
Mage_Core_Helper_Abstract class found under the
Helper classes contain various utility methods that will allow you to perform common tasks on different objects and variables. Helpers too are defined via the
config.xml elements as follows:
<?xml version="1.0"?> <config> <!-- … other elements ... --> <global> <helpers> <foggyline_happyhour> <class>Foggyline_HappyHour_Helper</class> ...