\rex_be_navigation

Summary

Methods
Properties
Constants
setFactoryClass()
getFactoryClass()
hasFactoryClass()
factory()
addPage()
getNavigation()
setHeadline()
getHeadline()
setPrio()
getPrio()
No public properties found
No constants found
callFactoryClass()
setActiveElements()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

setFactoryClass()

setFactoryClass(string  $subclass) : mixed

Sets the class for the factory.

Parameters

string $subclass

Classname

Throws

\InvalidArgumentException

Returns

mixed —

getFactoryClass()

getFactoryClass() : string

Returns the class for the factory.

Returns

string —

hasFactoryClass()

hasFactoryClass() : bool

Returns if the class has a custom factory class.

Returns

bool —

factory()

factory() : static

Returns

static —

addPage()

addPage(\rex_be_page  $page) : mixed

Parameters

\rex_be_page $page

Returns

mixed —

getNavigation()

getNavigation() : array

Returns

array —

setHeadline()

setHeadline(string  $block, string  $headline) : mixed

Parameters

string $block
string $headline

Returns

mixed —

getHeadline()

getHeadline(string  $block) : string

Parameters

string $block

Returns

string —

setPrio()

setPrio(string  $block, int  $prio) : void

Parameters

string $block
int $prio

getPrio()

getPrio(string  $block) : ?int

Parameters

string $block

Returns

?int —

callFactoryClass()

callFactoryClass(string  $method, array  $arguments) : mixed

Calls the factory class with the given method and arguments.

Parameters

string $method

Method name

array $arguments

Array of arguments

Returns

mixed —

Result of the callback

setActiveElements()

setActiveElements() : mixed

Returns

mixed —