SproutCMS

This is the code documentation for the SproutCMS project

class AdminSeo

Provide Search Engine Optimisation functionality

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-11-25
**/
class NewClassName extends AdminSeo {
    
    /**
    * Determine SEO readability score
    **/
    public function determineReadabilityScore () {
        // Method code goes here
    }
    
    /**
    * Determine SEO word count score
    **/
    public function determineWordCountScore () {
        // Method code goes here
    }
    
    /**
    * Determine SEO average word score
    **/
    public function determineAverageWordScore () {
        // Method code goes here
    }
    
    /**
    * Determine SEO topic keywords score
    **/
    public function determineTopicWordsScore () {
        // Method code goes here
    }
    
    /**
    * Determine SEO slug stopwords score
    **/
    public function determineSlugWordsScore () {
        // Method code goes here
    }
    
    /**
    * Determines SEO links score
    **/
    public function determineLinksScore () {
        // Method code goes here
    }
    
    /**
    * Determine SEO word count per section score
    **/
    public function determineSectionWordScore () {
        // Method code goes here
    }
    
    /**
    * Setup content as DOM object
    **/
    public function processDOM () {
        // Method code goes here
    }
    
    /**
    * Return list of keyword density
    **/
    public function getKeywordDensity (string $limit) {
        // Method code goes here
    }
    
    /**
    * Returns the average word count per section
    **/
    public function getWordCountPerSection () {
        // Method code goes here
    }
    
    /**
    * Return list of all links
    **/
    public function getListOfLinks () {
        // Method code goes here
    }
    
    /**
    * Determine if given word is a stop-word
    **/
    public function isStopWord (string $word) {
        // Method code goes here
    }
    
    /**
    * Determine Flesch reading score
    * 0 = hard, 100 = easy
    * Thanks to github.com/DaveChild
    **/
    public function getFleschReadingScore (string $str, string $encoding) {
        // Method code goes here
    }
    
    /**
    * Populate SEO view with analysis
    **/
    public function getAnalysis () {
        // Method code goes here
    }
    
    /**
    * Add main content for later processing
    **/
    public function addContent (string $str) {
        // Method code goes here
    }
    
    /**
    * Set page slug for analysis
    **/
    public function setSlug (string $str) {
        // Method code goes here
    }
    
    /**
    * Return list of useful keywords from given string
    **/
    public function processString (bool $all) {
        // Method code goes here
    }
    
    /**
    * Set topic (focus word) for analysis
    **/
    public function setTopic (string $str) {
        // Method code goes here
    }
    
    /**
    * Add external links to inject into content analysis
    **/
    public function addLinks (array $links) {
        // Method code goes here
    }
    
}
?>