SproutCMS

This is the code documentation for the SproutCMS project

class RteLibraryHasCategories

Abstract richtext library for bog-standard "has categories" modules, such as news articles, blog posts, etc.

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-05-05
**/
class NewClassName extends RteLibraryHasCategories {
    
    /**
    * Do a library search
    **/
    public function search ($term) {
        // Method code goes here
    }
    
    /**
    * Validates configuration
    **/
    public function __construct () {
        // Method code goes here
    }
    
    /**
    * Do a library browse
    **/
    public function browse ($path) {
        // Method code goes here
    }
    
    /**
    * For a given database row, return an array of link attributes
    **/
    protected function getLinkAttrs (array $row) {
        // Method code goes here
    }
    
    /**
    * For a given database row, return the display identifier of the record
    **/
    protected function getIdentifier (array $row) {
        // Method code goes here
    }
    
}
?>