NinjaUnicorns\WysiwygAccordion\Extensions\AccordionPageExtension
Class AccordionPageExtension
Synopsis
class AccordionPageExtension
extends DataExtension
{
- // members
- private static string $helpDescription = '<p><h4>Note</h4>Create Accordion items here, the title will be the header and the content will show on click.<br />To add the accordion in the content, put <strong>[accordion,id=1]</strong> in the WYSIWYG editor at the place where you want the accordion to appear.<br /><u>Replace the 1 with the actual set you want to render.</u></p>';
- private static array $has_many = ;
- // methods
- public void updateCMSFields()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $has_many
- $helpDescription