PHP Class Noherczeg\Breadcrumb\Builders\RichsnippetBuilder

Inheritance: extends Builder
Mostra 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 = [], String | null $ul_class = null, boolean $different_links = false ) : String build: The builder method which creates rich snippet style breadcrumbs https://support.google.com/webmasters/answer/185417?hl=en

Private Methods

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

Method Details

build() public method

build: The builder method which creates rich snippet style breadcrumbs https://support.google.com/webmasters/answer/185417?hl=en
public build ( String | null $casing = null, boolean $last_not_link = true, String | null $separator = null, array $properties = [], String | null $ul_class = null, 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
$ul_class String | null Class of
    element
$different_links boolean
return String