Get table name with prefix

When writing database queries in modules for Magento it is often helpful to wrap the table names in a core function called “getTableName” this function will then prefix the table name if the install is using prefixes in the database.

To do this:

Unknown source


Leave a reply