SproutCMS

This is the code documentation for the SproutCMS project

class ImageGalleryWidget

Shows a list of pages that are related to this one

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends ImageGalleryWidget {
    
    /**
    * Registered content replacement for embedded gallery via the editor
    **/
    public function contentReplace (string $html) {
        // Method code goes here
    }
    
    /**
    * Returns a label which describes the contents of this widget
    * See {@link Widget::get_info_label} for full documentation
    **/
    public function getInfoLabels () {
        // Method code goes here
    }
    
    /**
    * Is there sufficent content to add this addon at the moment?
    * If this widget is not available, a string message should be returned
    * If this widget *is* available, NULL should be returned.
    **/
    public function getNotAvailableReason () {
        // Method code goes here
    }
    
    /**
    * Returns a URL for editing the contents of this widget
    * See {@link Widget::getEditUrl} for full documentation
    **/
    public function getEditUrl () {
        // Method code goes here
    }
    
    /**
    * Returns the SQL which should be used for ordering the images
    **/
    private function orderSql (One $order) {
        // Method code goes here
    }
    
    /**
    * Returns the settings HTML
    **/
    public function getSettingsForm () {
        // Method code goes here
    }
    
    /**
    * Validate and cleanup the settings fields
    **/
    private function validateSettings () {
        // Method code goes here
    }
    
    /**
    * Does the front-end rendering of this widget
    **/
    public function render (int $orientation) {
        // Method code goes here
    }
    
}
?>