SproutCMS

This is the code documentation for the SproutCMS project

class RichTextWidget

Spits out HTML code

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends RichTextWidget {
    
    /**
    * Return the front-end view of this widget
    **/
    public function render (int $orientation) {
        // Method code goes here
    }
    
    /**
    * Return the settings form for this widget
    **/
    public function getSettingsForm () {
        // Method code goes here
    }
    
}
?>