
Bug?: Too many expTheme methods for displaying a module
Reported by dleffler | December 19th, 2011 @ 09:11 PM | in 2.0.4 (closed)
We should consolidate all the various methods into a single method with some helper methods (based on the current method names) that simply call the main method:
- all the methods are basically copies of each other to some extent
- we can't simply remove the 'old' methods since they may be used in some installations
- most of these helper methods could simply be called forcing the 'scope'
- some of these helper methods simply strip the 'scope' and pass it through another helper method that sets the 'scope' back to what it was originally called with (efficiency?)
The following methods are currently offered:
Params passed by position:
- showModule
- showSectionalModule (calls showModule)
- showTopSectionalModule (calls showModule)
- module
- view
- title
- prefix
- pickable
- hide_menu
Params passed by array index:
- module (calls either showController, showModule, showSectionalModule, or showTopSectionalModule)
- showController (calls either module or showModule)
- showSectionalController (calls showController)
- source
- module
- controller
- view
- title
- chrome
- scope
- params (if params passed as an index inside params??)
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS