breadcrumbs Class Reference

A simplistic class for handling breadcrumb trails. More...

List of all members.

Public Member Functions

 breadcrumbs ($basetitle, $baseurl)
 addCrumb ($title, $url)
 render ()

Public Attributes

 $crumbs
 An array of crumbs.


Detailed Description

A simplistic class for handling breadcrumb trails.

Definition at line 47 of file shared-pretties.php.


Member Function Documentation

breadcrumbs::breadcrumbs ( basetitle,
baseurl 
)

Constructor for the breadcrumbs handling class

Parameters:
basetitle The translated title of the base element of the breadcrumbs trail
baseurl The url of the base element of the breadcrumbs trail

Definition at line 57 of file shared-pretties.php.

breadcrumbs::addCrumb ( title,
url 
)

Add a breadcrumb to the breadcrumbs trail

Parameters:
title The translated title of the breadcrumbs trail
url The URL to link to
Returns:
void

Definition at line 70 of file shared-pretties.php.

breadcrumbs::render (  ) 

Render the actual breadcrumbs trail

Returns:
A string containing the rendered breadcrumbs trail

Definition at line 80 of file shared-pretties.php.


Member Data Documentation

breadcrumbs::$crumbs

An array of crumbs.

Definition at line 49 of file shared-pretties.php.


The documentation for this class was generated from the following file:

Generated on Sun Oct 26 20:33:14 2008 for The Travelsized Content Management System by  doxygen 1.5.5