SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class Pagenode

Represents a page in a page tree

Functions

NameVisibilityDescription
getBannerpublicReturns the filename to use for the banner image.
getFriendlyUrlpublicReturns the friendly url for a node
getFriendlyUrlNoprefixpublicReturns the friendly url for a node - but don't include a directory prefix
getNavigationNamepublicReturns the name that should be used to represent this node when rendering navigation elements
getUrlNamepublicReturns the name of this page only, when constructing a URL
loadTreepublic (static)Not valid

public getBanner

string|null $Pagenode->getBanner ( );

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 getFriendlyUrl

string $Pagenode->getFriendlyUrl ( );

Returns the friendly url for a node

public getFriendlyUrlNoprefix

string $Pagenode->getFriendlyUrlNoprefix ( );

Returns the friendly url for a node - but don't include a directory prefix

public getNavigationName

string $Pagenode->getNavigationName ( );

Returns the name that should be used to represent this node when rendering navigation elements
on the front-end

public getUrlName

string $Pagenode->getUrlName ( );

Returns the name of this page only, when constructing a URL

public loadTree

void Pagenode::loadTree ( mixed $table [, array $where [, mixed $order ]] );

Not valid