Ticket #939 (new defect)
Opened 16 months ago
Merge the getRichTextForArea(s) & getBasicHtml methods for Apostrophe and Apostrophe Blog
| Reported by: | johnnyoffline | Owned by: | tboutell |
|---|---|---|---|
| Priority: | major | Milestone: | 1.5.2 |
| Component: | apostrophePlugin | Version: | 1.5 |
| Keywords: | cleanup | Cc: | team@… |
| Symfony version: | 1.4 |
Description
You and I just talked about this method, I created a wrapper for the Apostrophe method so we can call getRichTextForArea(...) to achieve the same thing as getBasicHtml()..
BUT, there's duplicate functionality, or something like it in the blog as well.
I don't think it's too destructive to consolidate the real heavy lifting portion of the code and leave a few wrappers stranded in the blog plugin etc. for general cleanup. But I am not really sure where to begin with this.
lib/model/doctrine/PluginaBlogItem.class.php
lib/model/doctrine/PluginaPage.class.php

