SproutCMS

This is the code documentation for the SproutCMS project

class VideoWidget

Basically just a test widget

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends VideoWidget {
    
    /**
    * Set values for any missing settings fields
    **/
    public function cleanupSettings () {
        // Method code goes here
    }
    
    /**
    * 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
    }
    
}
?>