XOOPS  2.6.0
Xmf\Template\Breadcrumb Class Reference
Inheritance diagram for Xmf\Template\Breadcrumb:
Inheritance graph

Public Member Functions

 setItems ($items)
 
- Public Member Functions inherited from Xmf\Template\AbstractTemplate
 __construct ()
 
 display ()
 
 fetch ()
 

Protected Member Functions

 init ()
 
 render ()
 
- Protected Member Functions inherited from Xmf\Template\AbstractTemplate
 disableLogger ()
 
 init ()
 
 render ()
 
 setTemplate ($template= '')
 

Private Attributes

 $items = array()
 

Additional Inherited Members

- Protected Attributes inherited from Xmf\Template\AbstractTemplate
 $tpl
 

Detailed Description

Definition at line 27 of file Breadcrumb.php.

Member Function Documentation

Xmf\Template\Breadcrumb::init ( )
protected

initialization run by parent::__construct

Returns
void

Definition at line 39 of file Breadcrumb.php.

References Xmf\Template\AbstractTemplate\setTemplate().

Here is the call graph for this function:

Xmf\Template\Breadcrumb::render ( )
protected

Assigning content to template

Returns
void

Definition at line 64 of file Breadcrumb.php.

Xmf\Template\Breadcrumb::setItems (   $items)

Set the items to be shown. Items are specified as an array of breadcrumb items. Each breadcrumb item is an array of:

  • 'caption' => ready to display string item,
  • 'link' => url (omit to disable link on this item)
Parameters
array$itemsarray of breadcrumb items
Returns
void

Definition at line 54 of file Breadcrumb.php.

References Xmf\Template\Breadcrumb\$items.

Member Data Documentation

Xmf\Template\Breadcrumb::$items = array()
private

Definition at line 32 of file Breadcrumb.php.

Referenced by Xmf\Template\Breadcrumb\setItems().


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