class Parameter implements Parameter

Properties

Request $xRequest The request this parameter belongs to.

Methods

__construct(string $sType, mixed $xValue)

The constructor.

string
getType()

Get the parameter type

mixed
getValue()

Get the parameter value

void
setValue(mixed $xValue)

Set the parameter value

static Parameter
make(mixed $xValue)

Create a Parameter instance using the given value

string
getScript()

Generate the javascript code.

string
__toString()

Magic function to generate the jQuery call.

string
jsonSerialize()

Generate the jQuery call, when converting the response into json.

Details

at line line 47
__construct(string $sType, mixed $xValue)

The constructor.

Parameters

string $sType The parameter type
mixed $xValue The parameter value

at line line 58
string getType()

Get the parameter type

Return Value

string

at line line 68
mixed getValue()

Get the parameter value

Return Value

mixed

at line line 80
void setValue(mixed $xValue)

Set the parameter value

Parameters

mixed $xValue The parameter value

Return Value

void

at line line 92
static Parameter make(mixed $xValue)

Create a Parameter instance using the given value

Parameters

mixed $xValue The parameter value

Return Value

Parameter

at line line 121
string getScript()

Generate the javascript code.

Return Value

string

at line line 176
string __toString()

Magic function to generate the jQuery call.

Return Value

string

at line line 188
string jsonSerialize()

Generate the jQuery call, when converting the response into json.

This is a method of the JsonSerializable interface.

Return Value

string