Action
class Action
This class allows the stockage and the retrieval of the attributes of an action button for a step
Properties
private Step | $step | ||
private string | $name | ||
private string | $label | ||
private string | $clazz | ||
private string | $what | ||
private string | $for | ||
private string | $uri | ||
private string | $location | ||
private string | $shape | ||
private bool | $displayable |
Methods
Returns the name of this action button
Sets the name of this action button
Returns the label of this action button
Sets the label of this action button
Returns the class style of this action button
Sets the class style of this action button
Returns the "what to do" of this action button
Sets the "what to do" of this action button
Returns the "for what" of this action button
Sets the "for what" of this action button
Returns the uri attribute of this action button
Returns the decoded uri attribute of this action button
Sets the uri attribute of this action button
Returns the "location" of this action button
Sets the "location" of this action button
Returns the "shape" of this action button
Sets the "shape" of this action button
Returns the displayable attribute of this action button
Returns the displayable attribute of this action button
Determines whether this action button can be displayed or not
Details
at line 128
void
__construct(Step $step, string $name, string $label)
Constructor of class Action
at line 141
Step
getStep()
Returns the step that defines this action button
at line 152
string
getName()
Returns the name of this action button
at line 164
void
setName(string $name)
Sets the name of this action button
at line 175
string
getLabel()
Returns the label of this action button
at line 187
void
setLabel(string $label)
Sets the label of this action button
at line 198
string
getClass()
Returns the class style of this action button
at line 210
void
setClass(string $clazz)
Sets the class style of this action button
at line 221
string
getWhat()
Returns the "what to do" of this action button
at line 233
void
setWhat(string $what)
Sets the "what to do" of this action button
at line 244
string
getFor()
Returns the "for what" of this action button
at line 256
void
setFor(string $for)
Sets the "for what" of this action button
at line 269
string
getUri()
Returns the uri attribute of this action button
The uri attribute is a step number or the URL of a page.
at line 282
string
getUriDecoded()
Returns the decoded uri attribute of this action button
The uri attribute is a step number or the URL of a page or a JSON string.
at line 296
void
setUri(string $uri)
Sets the uri attribute of this action button
The uri attribute is a step number or the URL of a page.
at line 307
string
getLocation()
Returns the "location" of this action button
at line 319
void
setLocation(string $location)
Sets the "location" of this action button
at line 330
string
getShape()
Returns the "shape" of this action button
at line 342
void
setShape(string $shape)
Sets the "shape" of this action button
at line 353
bool
isDisplayable()
Returns the displayable attribute of this action button
at line 364
bool
getDisplayable()
Returns the displayable attribute of this action button
at line 376
void
setDisplayable(bool $displayable)
Determines whether this action button can be displayed or not