Documentation

rex_extension_point_slice_menu extends rex_extension_point
in package

Extension Point Class.

Tags
extends

rex_extension_point

Table of Contents

Constants

NAME  = 'SLICE_MENU'

Methods

__construct()  : mixed
addAdditionalActions()  : void
getAdditionalActions()  : array<string|int, mixed>
getArticleId()  : int
getClangId()  : int
getContext()  : rex_context
getCtypeId()  : int
getFragment()  : string
getMenuDeleteAction()  : array{label?: string, url?: string, attributes?: array{class: string[], title: string, data-confirm: string}}
getMenuEditAction()  : array{label?: string, url?: string, attributes?: array{class: string[], title: string}}
getMenuMovedownAction()  : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}
getMenuMoveupAction()  : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}
getMenuStatusAction()  : array{label?: string, url?: string, attributes?: array{class: string[]}}
getModuleId()  : int
getName()  : string
Returns the name.
getParam()  : mixed
Returns the param for the given key.
getParams()  : array<string, mixed>
Returns all params.
getSliceId()  : int
getSubject()  : T
Returns the subject.
hasParam()  : bool
Returns whether the given param exists.
hasPerm()  : bool
isReadonly()  : bool
Returns whether the extension point is readonly.
setAdditionalActions()  : void
setExtensionParams()  : void
Sets the specific params for the next extension.
setMenuDeleteAction()  : void
setMenuEditAction()  : void
setMenuMovedownAction()  : void
setMenuMoveupAction()  : void
setMenuStatusAction()  : void
setParam()  : void
Sets a param.
setSubject()  : void
Sets the subject.

Constants

Methods

__construct()

public __construct(array{label?: string, url?: string, attributes?: array{class: string[], title: string}} $menuEditAction, array{label?: string, url?: string, attributes?: array{class: string[], title: string, data-confirm: string}} $menuDeleteAction, array{label?: string, url?: string, attributes?: array{class: string[]}} $menuStatusAction, array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}} $menuMoveupAction, array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}} $menuMovedownAction, rex_context $context, string $fragment, int $articleId, int $clang, int $ctype, int $moduleId, int $sliceId, bool $hasPerm) : mixed
Parameters
$menuEditAction : array{label?: string, url?: string, attributes?: array{class: string[], title: string}}
$menuDeleteAction : array{label?: string, url?: string, attributes?: array{class: string[], title: string, data-confirm: string}}
$menuStatusAction : array{label?: string, url?: string, attributes?: array{class: string[]}}
$menuMoveupAction : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}
$menuMovedownAction : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}
$context : rex_context
$fragment : string
$articleId : int
$clang : int
$ctype : int
$moduleId : int
$sliceId : int
$hasPerm : bool

addAdditionalActions()

public addAdditionalActions(array<string|int, mixed> $additionalActions) : void
Parameters
$additionalActions : array<string|int, mixed>

getAdditionalActions()

public getAdditionalActions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getArticleId()

public getArticleId() : int
Return values
int

getClangId()

public getClangId() : int
Return values
int

getCtypeId()

public getCtypeId() : int
Return values
int

getFragment()

public getFragment() : string
Return values
string

getMenuDeleteAction()

public getMenuDeleteAction() : array{label?: string, url?: string, attributes?: array{class: string[], title: string, data-confirm: string}}
Return values
array{label?: string, url?: string, attributes?: array{class: string[], title: string, data-confirm: string}}

getMenuEditAction()

public getMenuEditAction() : array{label?: string, url?: string, attributes?: array{class: string[], title: string}}
Return values
array{label?: string, url?: string, attributes?: array{class: string[], title: string}}

getMenuMovedownAction()

public getMenuMovedownAction() : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}
Return values
array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}

getMenuMoveupAction()

public getMenuMoveupAction() : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}
Return values
array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}

getMenuStatusAction()

public getMenuStatusAction() : array{label?: string, url?: string, attributes?: array{class: string[]}}
Return values
array{label?: string, url?: string, attributes?: array{class: string[]}}

getModuleId()

public getModuleId() : int
Return values
int

getName()

Returns the name.

public getName() : string
Return values
string

getParam()

Returns the param for the given key.

public getParam(string $key[, mixed $default = null ]) : mixed
Parameters
$key : string
$default : mixed = null

getParams()

Returns all params.

public getParams() : array<string, mixed>
Return values
array<string, mixed>

getSliceId()

public getSliceId() : int
Return values
int

getSubject()

Returns the subject.

public getSubject() : T
Return values
T

hasParam()

Returns whether the given param exists.

public hasParam(string $key) : bool
Parameters
$key : string
Return values
bool

hasPerm()

public hasPerm() : bool
Return values
bool

isReadonly()

Returns whether the extension point is readonly.

public isReadonly() : bool
Return values
bool

setAdditionalActions()

public setAdditionalActions(array<string|int, mixed> $additionalActions) : void
Parameters
$additionalActions : array<string|int, mixed>

setExtensionParams()

Sets the specific params for the next extension.

public setExtensionParams(array<string, mixed> $params) : void
Parameters
$params : array<string, mixed>

setMenuDeleteAction()

public setMenuDeleteAction(array{label?: string, url?: string, attributes?: array{class: string[], title: string, data-confirm: string}} $menuDeleteAction) : void
Parameters
$menuDeleteAction : array{label?: string, url?: string, attributes?: array{class: string[], title: string, data-confirm: string}}

setMenuEditAction()

public setMenuEditAction(array{label?: string, url?: string, attributes?: array{class: string[], title: string}} $menuEditAction) : void
Parameters
$menuEditAction : array{label?: string, url?: string, attributes?: array{class: string[], title: string}}

setMenuMovedownAction()

public setMenuMovedownAction(array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}} $menuMovedownAction) : void
Parameters
$menuMovedownAction : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}

setMenuMoveupAction()

public setMenuMoveupAction(array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}} $menuMoveupAction) : void
Parameters
$menuMoveupAction : array{hidden_label?: string, url?: string, icon?: string, attributes?: array{class: string[], title: string}}

setMenuStatusAction()

public setMenuStatusAction(array{label?: string, url?: string, attributes?: array{class: string[]}} $menuStatusAction) : void
Parameters
$menuStatusAction : array{label?: string, url?: string, attributes?: array{class: string[]}}

setParam()

Sets a param.

public setParam(string $key, mixed $value) : void
Parameters
$key : string
$value : mixed
Tags
throws
rex_exception

        
On this page

Search results