Beta version

class CustomFormAnswer extends AbstractEntity

CustomFormAnswer entities.

Methods

int
getId()

Get entity unique identifier.

setId(int $id)

No description

string
getIp()

No description

$this
setIp(string $ip)

No description

getSubmittedAt()

No description

$this
setSubmittedAt($submittedAt)

No description

ArrayCollection
getAnswers()

No description

$this
addAnswerField(CustomFormAnswer $field)

No description

$this
removeAnswerField(CustomFormAnswer $field)

No description

$this
setCustomForm($customForm)

No description

getCustomForm()

No description

__construct()

Create a new empty CustomFormAnswer according to given node-type.

string
__toString()

No description

array
toArray(bool $namesAsKeys = true)

No description

Details

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 55
string getIp()

Return Value

string

at line 65
$this setIp(string $ip)

Parameters

string $ip

Return Value

$this

at line 80
DateTime getSubmittedAt()

Return Value

DateTime

at line 90
$this setSubmittedAt($submittedAt)

Parameters

$submittedAt

Return Value

$this

at line 109
ArrayCollection getAnswers()

Return Value

ArrayCollection

at line 118
$this addAnswerField(CustomFormAnswer $field)

Parameters

CustomFormAnswer $field

Return Value

$this

at line 132
$this removeAnswerField(CustomFormAnswer $field)

Parameters

CustomFormAnswer $field

Return Value

$this

at line 153
$this setCustomForm($customForm)

Parameters

$customForm

Return Value

$this

at line 162
CustomForm getCustomForm()

Return Value

CustomForm

at line 170
__construct()

Create a new empty CustomFormAnswer according to given node-type.

at line 178
string __toString()

Return Value

string

at line 188
array toArray(bool $namesAsKeys = true)

Parameters

bool $namesAsKeys Use fields name as key. Default: true

Return Value

array