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

void
__construct(Step $step, string $name, string $label)

Constructor of class Action

getStep()

Returns the step that defines this action button

string
getName()

Returns the name of this action button

void
setName(string $name)

Sets the name of this action button

string
getLabel()

Returns the label of this action button

void
setLabel(string $label)

Sets the label of this action button

string
getClass()

Returns the class style of this action button

void
setClass(string $clazz)

Sets the class style of this action button

string
getWhat()

Returns the "what to do" of this action button

void
setWhat(string $what)

Sets the "what to do" of this action button

string
getFor()

Returns the "for what" of this action button

void
setFor(string $for)

Sets the "for what" of this action button

string
getUri()

Returns the uri attribute of this action button

void
setUri(string $uri)

Sets the uri attribute of this action button

bool
isDisplayable()

Returns the displayable attribute of this action button

bool
getDisplayable()

Returns the displayable attribute of this action button

void
setDisplayable(bool $displayable)

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

Parameters

Step $step Step that defines this action button
string $name Button name without spaces or special or accented characters
string $label Button label

Return Value

void

at line 126
Step getStep()

Returns the step that defines this action button

Return Value

Step step

at line 137
string getName()

Returns the name of this action button

Return Value

string the action name

at line 149
void setName(string $name)

Sets the name of this action button

Parameters

string $name Button name without spaces or special or accented characters

Return Value

void

at line 160
string getLabel()

Returns the label of this action button

Return Value

string the value of label

at line 172
void setLabel(string $label)

Sets the label of this action button

Parameters

string $label Button label

Return Value

void

at line 183
string getClass()

Returns the class style of this action button

Return Value

string the value of class

at line 195
void setClass(string $clazz)

Sets the class style of this action button

Parameters

string $clazz Button class style eg "Primary" or "Default"

Return Value

void

at line 206
string getWhat()

Returns the "what to do" of this action button

Return Value

string the value of what

at line 218
void setWhat(string $what)

Sets the "what to do" of this action button

Parameters

string $what Button action eg "Submit" or "Reset"

Return Value

void

at line 229
string getFor()

Returns the "for what" of this action button

Return Value

string the value of for

at line 241
void setFor(string $for)

Sets the "for what" of this action button

Parameters

string $for Button action triggered for : currentStep (only for what=reset) priorStep, nextStep, pdfOutput, htmlOutput, externalPage

Return Value

void

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.

Return Value

string the value of uri

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.

Parameters

string $uri url for externalPage

Return Value

void

at line 279
bool isDisplayable()

Returns the displayable attribute of this action button

Return Value

bool the value of displayable

at line 290
bool getDisplayable()

Returns the displayable attribute of this action button

Return Value

bool the value of displayable

at line 302
void setDisplayable(bool $displayable)

Determines whether this action button can be displayed or not

Parameters

bool $displayable Button displayable or not

Return Value

void