SproutCMS

This is the code documentation for the SproutCMS project

class Rs

Functions to hack database query result sets

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-11-25
**/
class NewClassName extends Rs {
    
    /**
    * Groups rows in a resultset (e.g. by category, date, ...)
    **/
    public function groupByField (array|PDOStatement $rs, string $group_id, array $group_fields) {
        // Method code goes here
    }
    
}
?>