Documentation

ActionDto
in package

FinalYes
Tags
author

Javier Eguiluz javier.eguiluz@gmail.com

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

$displayCallable

private mixed $displayCallable

$htmlAttributes

private array<string|int, mixed> $htmlAttributes = []

$htmlElement

private string|null $htmlElement = null

$linkUrl

private string|null $linkUrl = null

$routeName

private string|null $routeName = null

$routeParameters

private mixed $routeParameters = []

$templatePath

private string|null $templatePath = null

$translationParameters

private array<string|int, mixed> $translationParameters = []

Methods

addHtmlAttributes()

public addHtmlAttributes(array<string|int, mixed> $htmlAttributes) : void
Parameters
$htmlAttributes : array<string|int, mixed>

getCrudActionName()

public getCrudActionName() : string|null
Return values
string|null

getCssClass()

public getCssClass() : string
Return values
string

getHtmlAttributes()

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

getHtmlElement()

public getHtmlElement() : string
Return values
string

getIcon()

public getIcon() : string|null
Return values
string|null

getLinkUrl()

public getLinkUrl() : string
Return values
string

getName()

public getName() : string
Return values
string

getRouteName()

public getRouteName() : string|null
Return values
string|null

getRouteParameters()

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

getTemplatePath()

public getTemplatePath() : string|null
Return values
string|null

getTranslationParameters()

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

getType()

public getType() : string
Return values
string

getUrl()

public getUrl() : string|callable|null
Return values
string|callable|null

isBatchAction()

public isBatchAction() : bool
Return values
bool

isEntityAction()

public isEntityAction() : bool
Return values
bool

isGlobalAction()

public isGlobalAction() : bool
Return values
bool

setCrudActionName()

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

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
Return values
bool

        
On this page

Search results