PHP Class Noherczeg\Breadcrumb\Builders\FoundationBuilder

Inheritance: extends Builder
Show file Open project: noherczeg/breadcrumb

Public Methods

Method Description
build ( String | null $casing = null, boolean $last_not_link = true, null $separator = null, null $properties = null, boolean $different_links = false ) : String build: The builder method which creates Foundation style breadcrumbs

Private Methods

Method Description
appendElement ( Segment $segment )
getInactiveElementByFieldName ( $segmentProperty, $tc, $class = 'unavailable' )

Method Details

build() public method

WARNING! Foundation won't accept any separator, or properties submitted to it, since it's not in the model by default! Parameter is only there as placeholder!
public build ( String | null $casing = null, boolean $last_not_link = true, null $separator = null, null $properties = null, boolean $different_links = false ) : String
$casing String | null Casing option
$last_not_link boolean True if last shouldn't be a link
$separator null
$properties null
$different_links boolean
return String