Methods
Check if this type is configurable in order
checkConfigurableOrder() : boolean
Returns
boolean
This type is configurable in order (true) or not (false)
Check if there are exclude parameters (true) or not (false)
checkExcludeParameters() : boolean
Returns
boolean
There are exclude parameters (true) or not (false)
Check if this type exists
checkExists() : boolean
Returns
boolean
This type exists (true) or not (false)
Check if this type should be displayed for this display type
checkForDisplay(integer $display) : boolean
Parameters
$display
integer
Display type; must be one of the following constants from \KocujSitemapPlugin\Enums\DisplayType: STANDARD (when it is standard display) or DROPDOWN (when it is drop-down list display)
Returns
boolean
This type should be displayed (true) or not (false)
Check if there should be an "ul" list tag
checkListTag() : boolean
Returns
boolean
There should be an "ul" list tag (true) or not (false)
Check section name
checkSectionName() : boolean
Returns
boolean
Section name exists (true) or not (false)
Get text after element
getAfterElement(array $element, integer $widget = \KocujSitemapPlugin\Enums\Widget::NO
, string $locale = ''
) : array
Parameters
$widget
integer
It is widget or not; must be one of the following constants from \KocujSitemapPlugin\Enums\Widget: NO (when it is not widget) or YES (when it is widget) - default: \KocujSitemapPlugin\Enums\Widget::NO
$locale
string
Language locale - default: empty
Returns
array
Text after element
Get text before element
getBeforeElement(array $element, integer $widget = \KocujSitemapPlugin\Enums\Widget::NO
, string $locale = ''
) : array
Parameters
$widget
integer
It is widget or not; must be one of the following constants from \KocujSitemapPlugin\Enums\Widget: NO (when it is not widget) or YES (when it is widget) - default: \KocujSitemapPlugin\Enums\Widget::NO
$locale
string
Language locale - default: empty
Returns
array
Text before element
Get configuration options
getConfigOptions() : array
Returns
array
Configuration options
Get hide type parameters description
getHideTypeParameterDescription() : string
Returns
string
Hide parameters type description
Get hide type parameters value
getHideTypeParameterValue() : string
Returns
string
Hide parameters type value
Get ID to check
getIDToCheck(array $element, string $section) : integer
Parameters
$section
string
Section name
Returns
integer
ID to check
Get section name
getSectionName() : string
Returns
string
Section name
Get sections to check
getSectionsToCheck(array $element) : array
Parameters
Returns
array
Sections to check
Get type letter
getTypeLetter() : string
Returns
string
Type letter
Get types which should be removed when they have no children
getTypesRequiresChildren() : array
Returns
array
Types which should be removed when they have no children