SproutCMS

This is the code documentation for the SproutCMS project

class AdminDashboard

Dashboard shown when a user first logs in to the admin

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-05-04
**/
class NewClassName extends AdminDashboard {
    
    /**
    * A button to moderate content, if there is actually content to moderate
    **/
    private function moderationButton () {
        // Method code goes here
    }
    
    /**
    * A list of &quot;need approval&quot; pages currently in the system
    **/
    private function needApproval () {
        // Method code goes here
    }
    
    /**
    * A list of new content (pages, files, etc)
    **/
    private function newContent () {
        // Method code goes here
    }
    
    /**
    * Show the &quot;first run&quot; message, which welcomes new operators to the admin
    **/
    private function firstRun () {
        // Method code goes here
    }
    
    /**
    * Render the admin dashboard
    **/
    public function render () {
        // Method code goes here
    }
    
}
?>