SproutCMS

This is the code documentation for the SproutCMS project

class ColModifier

Base class for modifying values for main_columns of an ItemList,
e.g. in ManagedAdminController::_getContents

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2019-09-15
**/
class NewClassName extends ColModifier {
    
    /**
    * Modify a column value
    * This value will be html/csv/etc encoded afterwards.
    **/
    public function modify (string $val, string $field_name) {
        // Method code goes here
    }
    
}
?>