Menus type administration panel class

access public
package kocuj_sitemap
inherited_from \KocujSitemapPlugin\Classes\ElementTypeBackendParent

 Methods

Get administration cache actions

getAdminCacheActions() : array
access public
inherited_from \KocujSitemapPlugin\Classes\ElementTypeBackendParent::getAdminCacheActions()

Returns

arrayAdministration cache actions

Get administration cache actions

getAdminCacheActions() : array
Inherited
access public

Returns

arrayAdministration cache actions

Get administration cache filters

getAdminCacheFilters() : array
Inherited
access public

Returns

arrayAdministration cache filters

Get administration panel order name

getAdminOrderName() : string
access public
inherited_from \KocujSitemapPlugin\Classes\ElementTypeBackendParent::getAdminOrderName()

Returns

stringAdministration panel order name

Get administration panel order name

getAdminOrderName() : string
Inherited
access public

Returns

stringAdministration panel order name

Get administration page data

getAdminPageData() : array
access public
inherited_from \KocujSitemapPlugin\Classes\ElementTypeBackendParent::getAdminPageData()

Returns

arrayAdministration page data

Get administration page data

getAdminPageData() : array
Inherited
access public

Returns

arrayAdministration page data

Get administration page settings

getAdminPageSettings() : array
access public
inherited_from \KocujSitemapPlugin\Classes\ElementTypeBackendParent::getAdminPageSettings()

Returns

arrayAdministration page settings

Get administration page settings

getAdminPageSettings() : array
Inherited
access public

Returns

arrayAdministration page settings

Add menus to sitemap

getElementArray(string $locale = '') : array
access public
inherited_from \KocujSitemapPlugin\Classes\ElementTypeBackendParent::getElementArray()

Parameters

$locale

string

Language locale - default: empty

Returns

arrayOutput array

Add authors to sitemap

getElementArray(string $locale = '') : array
Inherited
access public

Parameters

$locale

string

Language locale - default: empty

Returns

arrayOutput array

Add menus by reccurence

addReccurence(integer $parentId, boolean $addUrl, string $locale) : array
access private

Parameters

$parentId

integer

Menu parent id

$addUrl

boolean

Add URL to array (true) or not (false)

$locale

string

Language locale

Returns

arrayOutput array

Remove menus elements duplicates by reccurence

removeDuplicatedReccurence(array $array, boolean $allowRemoveUrls = true) : array
access private

Parameters

$array

array

Input array

$allowRemoveUrls

boolean

Allow remove URL-s from array (true) or not (false) - default: true

Returns

arrayOutput array

 Properties

 

Menu data

$menuData : array

Default

NULL
access private
 

Menu name

$menuName : string

Default

''
access private