PHP Class TbBreadcrumbs

See also: http://twitter.github.io/bootstrap/components.html#breadcrumbs
Inheritance: extends CBreadcrumbs
Show file Open project: yinhe/yincart Class Usage Examples

Public Properties

Property Type Description
$separator the separator between links in the breadcrumbs. Defaults to '/'.

Public Methods

Method Description
init ( ) ### .init()
run ( ) ### .run()

Protected Methods

Method Description
renderItem ( string $content, boolean $active = false ) : string ### .renderItem()

Method Details

init() public method

Initializes the widget.
public init ( )

renderItem() protected method

Renders a single breadcrumb item.
protected renderItem ( string $content, boolean $active = false ) : string
$content string the content.
$active boolean whether the item is active.
return string the markup.

run() public method

Renders the content of the widget.
public run ( )

Property Details

$separator public property

the separator between links in the breadcrumbs. Defaults to '/'.
public $separator