SproutCMS

This is the code documentation for the SproutCMS project

class CategoryModel

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-08-23
**/
class NewClassName extends CategoryModel {
    
    /**
    * Save this model.
    **/
    public function save (string $main_table) {
        // Method code goes here
    }
    
    /**
    * Create a query for this model.
    **/
    public function find (string $main_table, array $conditions) {
        // Method code goes here
    }
    
    /**
    * Find a list of models.
    **/
    public function findAll (string $main_table, array $conditions) {
        // Method code goes here
    }
    
    /**
    * Find one model.
    **/
    public function findOne (string $main_table, array $conditions) {
        // Method code goes here
    }
    
    public function getDateModified () {
        // Method code goes here
    }
    
    public function getConnection () {
        // Method code goes here
    }
    
    public function getDateAdded () {
        // Method code goes here
    }
    
}
?>