ActionDto
in package
FinalYes
Tags
Table of Contents
Properties
- $crudActionName : string|null
- $cssClass : string
- $displayCallable : mixed
- $htmlAttributes : array<string|int, mixed>
- $htmlElement : string|null
- $icon : string|null
- $label : TranslatableInterface|string|null
- $linkUrl : string|null
- $name : string|null
- $routeName : string|null
- $routeParameters : mixed
- $templatePath : string|null
- $translationParameters : array<string|int, mixed>
- $type : string|null
- $url : mixed
Methods
- addHtmlAttributes() : void
- getCrudActionName() : string|null
- getCssClass() : string
- getHtmlAttributes() : array<string|int, mixed>
- getHtmlElement() : string
- getIcon() : string|null
- getLabel() : TranslatableInterface|string|false|null
- getLinkUrl() : string
- getName() : string
- getRouteName() : string|null
- getRouteParameters() : array<string|int, mixed>|callable
- getTemplatePath() : string|null
- getTranslationParameters() : array<string|int, mixed>
- getType() : string
- getUrl() : string|callable|null
- isBatchAction() : bool
- isEntityAction() : bool
- isGlobalAction() : bool
- setCrudActionName() : void
- setCssClass() : void
- setDisplayCallable() : void
- setHtmlAttribute() : void
- setHtmlAttributes() : void
- setHtmlElement() : void
- setIcon() : void
- setLabel() : void
- setLinkUrl() : void
- setName() : void
- setRouteName() : void
- setRouteParameters() : void
- setTemplatePath() : void
- setTranslationParameters() : void
- setType() : void
- setUrl() : void
- shouldBeDisplayedFor() : bool
Properties
$crudActionName
private
string|null
$crudActionName
= null
$cssClass
private
string
$cssClass
= ''
$displayCallable
private
mixed
$displayCallable
$htmlAttributes
private
array<string|int, mixed>
$htmlAttributes
= []
$htmlElement
private
string|null
$htmlElement
= null
$icon
private
string|null
$icon
= null
$label
private
TranslatableInterface|string|null
$label
= null
$linkUrl
private
string|null
$linkUrl
= null
$name
private
string|null
$name
= null
$routeName
private
string|null
$routeName
= null
$routeParameters
private
mixed
$routeParameters
= []
$templatePath
private
string|null
$templatePath
= null
$translationParameters
private
array<string|int, mixed>
$translationParameters
= []
$type
private
string|null
$type
= null
$url
private
mixed
$url
Methods
addHtmlAttributes()
public
addHtmlAttributes(array<string|int, mixed> $htmlAttributes) : void
Parameters
- $htmlAttributes : array<string|int, mixed>
getCrudActionName()
public
getCrudActionName() : string|null
Return values
string|nullgetCssClass()
public
getCssClass() : string
Return values
stringgetHtmlAttributes()
public
getHtmlAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed>getHtmlElement()
public
getHtmlElement() : string
Return values
stringgetIcon()
public
getIcon() : string|null
Return values
string|nullgetLabel()
public
getLabel() : TranslatableInterface|string|false|null
Return values
TranslatableInterface|string|false|nullgetLinkUrl()
public
getLinkUrl() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetRouteName()
public
getRouteName() : string|null
Return values
string|nullgetRouteParameters()
public
getRouteParameters() : array<string|int, mixed>|callable
Return values
array<string|int, mixed>|callablegetTemplatePath()
public
getTemplatePath() : string|null
Return values
string|nullgetTranslationParameters()
public
getTranslationParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>getType()
public
getType() : string
Return values
stringgetUrl()
public
getUrl() : string|callable|null
Return values
string|callable|nullisBatchAction()
public
isBatchAction() : bool
Return values
boolisEntityAction()
public
isEntityAction() : bool
Return values
boolisGlobalAction()
public
isGlobalAction() : bool
Return values
boolsetCrudActionName()
public
setCrudActionName(string $crudActionName) : void
Parameters
- $crudActionName : string
setCssClass()
public
setCssClass(string $cssClass) : void
Parameters
- $cssClass : string
setDisplayCallable()
public
setDisplayCallable(callable $displayCallable) : void
Parameters
- $displayCallable : callable
setHtmlAttribute()
public
setHtmlAttribute(string $attributeName, string $attributeValue) : void
Parameters
- $attributeName : string
- $attributeValue : string
setHtmlAttributes()
public
setHtmlAttributes(array<string|int, mixed> $htmlAttributes) : void
Parameters
- $htmlAttributes : array<string|int, mixed>
setHtmlElement()
public
setHtmlElement(string $htmlElement) : void
Parameters
- $htmlElement : string
setIcon()
public
setIcon(string|null $icon) : void
Parameters
- $icon : string|null
setLabel()
public
setLabel(TranslatableInterface|string|false|null $label) : void
Parameters
- $label : TranslatableInterface|string|false|null
setLinkUrl()
public
setLinkUrl(string $linkUrl) : void
Parameters
- $linkUrl : string
setName()
public
setName(string $name) : void
Parameters
- $name : string
setRouteName()
public
setRouteName(string $routeName) : void
Parameters
- $routeName : string
setRouteParameters()
public
setRouteParameters(mixed $routeParameters) : void
Parameters
- $routeParameters : mixed
setTemplatePath()
public
setTemplatePath(string $templatePath) : void
Parameters
- $templatePath : string
setTranslationParameters()
public
setTranslationParameters(array<string|int, mixed> $translationParameters) : void
Parameters
- $translationParameters : array<string|int, mixed>
setType()
public
setType(string $type) : void
Parameters
- $type : string
setUrl()
public
setUrl(mixed $url) : void
Parameters
- $url : mixed
shouldBeDisplayedFor()
public
shouldBeDisplayedFor(EntityDto $entityDto) : bool
Parameters
- $entityDto : EntityDto