cakephp-plugin-boost_cake
cakephp-plugin-boost_cake copied to clipboard
added BoostCakeAccordionHelper
Would any content work inside the accordion if implemented this way? Including other html, php and helpers?
As of now, no. I build the data array with helpers or elements, the pass into accordion, for final formatting/wrapping.
It is kinda like a multipart sprintf. Just a standardized wrapping.
I thought about making a series of simple calls to star accordion, make header, start body, stop body, ... So you could do it more inline... But I decided at that point writing raw HTML is better.
The use case for this simple data wrapping certainly exists, but you are right to ask. It is a lot less general purpose and atomic than the rest of the helpers.
(BTW thanks for the great helpers/plugin. We were customizing the one from loadsys but it was getting ugly. This one is great to work with.)
Thanks, -alan