TXMLBreadCrumb
extends TBreadCrumb
in package
XMLBreadCrumb
Tags
Table of Contents
Properties
- $container : mixed
- $homeController : mixed
- $items : mixed
- $parser : mixed
Methods
- __construct() : mixed
- Handle paths from a XML file
- addHome() : mixed
- Add the home icon
- addItem() : mixed
- Add an item
- create() : mixed
- Static constructor
- getPath() : mixed
- Return the controller path
- select() : mixed
- Mark one breadcrumb item as selected
- setHomeController() : mixed
- Define the home controller
Properties
$container
protected
mixed
$container
$homeController
protected
static mixed
$homeController
$items
protected
mixed
$items
$parser
private
mixed
$parser
Methods
__construct()
Handle paths from a XML file
public
__construct( $xml_file, mixed $controller) : mixed
Parameters
addHome()
Add the home icon
public
addHome() : mixed
addItem()
Add an item
public
addItem( $path[, $last = FALSE ]) : mixed
Parameters
create()
Static constructor
public
static create(mixed $options[, mixed $home = true ]) : mixed
Parameters
- $options : mixed
- $home : mixed = true
getPath()
Return the controller path
public
getPath(mixed $controller) : mixed
Parameters
- $controller : mixed
select()
Mark one breadcrumb item as selected
public
select(mixed $path) : mixed
Parameters
- $path : mixed
setHomeController()
Define the home controller
public
static setHomeController(mixed $className) : mixed
Parameters
- $className : mixed