Constants

NAME

NAME = 'SLICE_MENU'

Methods

__construct()

__construct(array  $menuEditAction, array  $menuDeleteAction, array  $menuStatusAction, array  $menuMoveupAction, array  $menuMovedownAction, \rex_context  $context, string  $fragment, int  $articleId, int  $clang, int  $ctype, int  $moduleId, int  $sliceId, bool  $hasPerm) : mixed

Constructor.

Parameters

array $menuEditAction
array $menuDeleteAction
array $menuStatusAction
array $menuMoveupAction
array $menuMovedownAction
\rex_context $context
string $fragment
int $articleId
int $clang
int $ctype
int $moduleId
int $sliceId
bool $hasPerm

Returns

mixed —

getName()

getName() : string

Returns the name.

Returns

string —

setSubject()

setSubject(mixed  $subject) : mixed

Sets the subject.

Parameters

mixed $subject

Throws

\rex_exception

Returns

mixed —

getSubject()

getSubject() : mixed

Returns the subject.

Returns

mixed —

setParam()

setParam(string  $key, mixed  $value) : mixed

Sets a param.

Parameters

string $key
mixed $value

Throws

\rex_exception

Returns

mixed —

setExtensionParams()

setExtensionParams(array  $params) : mixed

Sets the specific params for the next extension.

Parameters

array $params

Returns

mixed —

hasParam()

hasParam(string  $key) : bool

Returns whether the given param exists.

Parameters

string $key

Returns

bool —

getParam()

getParam(string  $key, mixed  $default = null) : mixed

Returns the param for the given key.

Parameters

string $key
mixed $default

Returns

mixed —

getParams()

getParams() : array

Returns all params.

Returns

array —

isReadonly()

isReadonly() : bool

Returns whether the extension point is readonly.

Returns

bool —

getMenuEditAction()

getMenuEditAction() : array

Returns

array —

setMenuEditAction()

setMenuEditAction(array  $menuEditAction) : void

Parameters

array $menuEditAction

getMenuDeleteAction()

getMenuDeleteAction() : array

Returns

array —

setMenuDeleteAction()

setMenuDeleteAction(array  $menuDeleteAction) : void

Parameters

array $menuDeleteAction

getMenuStatusAction()

getMenuStatusAction() : array

Returns

array —

setMenuStatusAction()

setMenuStatusAction(array  $menuStatusAction) : void

Parameters

array $menuStatusAction

getMenuMoveupAction()

getMenuMoveupAction() : array

Returns

array —

setMenuMoveupAction()

setMenuMoveupAction(array  $menuMoveupAction) : void

Parameters

array $menuMoveupAction

getMenuMovedownAction()

getMenuMovedownAction() : array

Returns

array —

setMenuMovedownAction()

setMenuMovedownAction(array  $menuMovedownAction) : void

Parameters

array $menuMovedownAction

getAdditionalActions()

getAdditionalActions() : array

Returns

array —

setAdditionalActions()

setAdditionalActions(array  $additionalActions) : void

Parameters

array $additionalActions

addAdditionalActions()

addAdditionalActions(array  $additionalActions) : void

Parameters

array $additionalActions

getContext()

getContext() : \rex_context

Returns

\rex_context —

getFragment()

getFragment() : string

Returns

string —

getArticleId()

getArticleId() : int

Returns

int —

getClangId()

getClangId() : int

Returns

int —

getCtypeId()

getCtypeId() : int

Returns

int —

getModuleId()

getModuleId() : int

Returns

int —

getSliceId()

getSliceId() : int

Returns

int —

hasPerm()

hasPerm() : bool

Returns

bool —