SproutCMS

This is the code documentation for the SproutCMS project

class Pagenode

Represents a page in a page tree

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-11-25
**/
class NewClassName extends Pagenode {
    
    /**
    * Returns the filename to use for the banner image.
    * Returns NULL if no banner has been defined for this page and a generic banner should be used instead.
    **/
    public function getBanner () {
        // Method code goes here
    }
    
    /**
    * Returns the name of this page only, when constructing a URL
    **/
    public function getUrlName () {
        // Method code goes here
    }
    
    /**
    * Returns the name that should be used to represent this node when rendering navigation elements
    * on the front-end
    **/
    public function getNavigationName () {
        // Method code goes here
    }
    
    /**
    * Returns the friendly url for a node - but don't include a directory prefix
    **/
    public function getFriendlyUrlNoprefix () {
        // Method code goes here
    }
    
    /**
    * Returns the friendly url for a node
    **/
    public function getFriendlyUrl () {
        // Method code goes here
    }
    
    /**
    * Not valid
    **/
    public function loadTree ($table, array $where, $order) {
        // Method code goes here
    }
    
}
?>