phpDocumentor

Utility

Class Utility

Table of Contents

TYPE_CONTROLLER  = 'CONTROLLER'
TYPE_PAGE  = 'PAGE'
TYPE_ROUTE  = 'ROUTE'
$settings  : MenuSettings
__construct()  : mixed
Utility constructor.
determineIdentifier()  : string
Determines the identifier values.
determineType()  : string
Determines the menu item type.

Constants

TYPE_CONTROLLER

public mixed TYPE_CONTROLLER = 'CONTROLLER'

TYPE_PAGE

public mixed TYPE_PAGE = 'PAGE'

TYPE_ROUTE

public mixed TYPE_ROUTE = 'ROUTE'

Properties

Methods

determineIdentifier()

Determines the identifier values.

public determineIdentifier(string $url) : string

The returned value depends on the menu item type and usually equals either the controller- or legacy filename.

Parameters
$url : string
Return values
string

determineType()

Determines the menu item type.

public determineType(string $url) : string

Currently, is is either "CONTROLLER" or "PAGE".

Parameters
$url : string
Return values
string

Search results