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 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
Sets the uri attribute 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 113
void
__construct(Step $step, string $name, string $label)
Constructor of class Action
at line 126
Step
getStep()
Returns the step that defines this action button
at line 137
string
getName()
Returns the name of this action button
at line 149
void
setName(string $name)
Sets the name of this action button
at line 160
string
getLabel()
Returns the label of this action button
at line 172
void
setLabel(string $label)
Sets the label of this action button
at line 183
string
getClass()
Returns the class style of this action button
at line 195
void
setClass(string $clazz)
Sets the class style of this action button
at line 206
string
getWhat()
Returns the "what to do" of this action button
at line 218
void
setWhat(string $what)
Sets the "what to do" of this action button
at line 229
string
getFor()
Returns the "for what" of this action button
at line 241
void
setFor(string $for)
Sets the "for what" of this action button
at line 254
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 268
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 279
bool
isDisplayable()
Returns the displayable attribute of this action button
at line 290
bool
getDisplayable()
Returns the displayable attribute of this action button
at line 302
void
setDisplayable(bool $displayable)
Determines whether this action button can be displayed or not