PHP Class Noherczeg\Breadcrumb\Builders\BootstrapBuilder

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

Public Methods

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

Private Methods

Method Description
appendElement ( $key, Segment $segment )
getInactiveElementByFieldName ( $segmentProperty, $tc )

Method Details

build() public method

WARNING! Bootsrap won't accept any 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, String | null $separator = null, array $properties = [], boolean $different_links = false ) : String
$casing String | null Casing option
$last_not_link boolean True if last shouldn't be a link
$separator String | null Separator String
$properties array
$different_links boolean Each segment is appended to base_url instead of the previous segment
return String