class CustomFormAnswer extends AbstractEntity (View source)

CustomFormAnswer entities.

Properties

protected $id from AbstractEntity

Methods

int
getId()

No description

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

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

string getIp()

Return Value

string

$this setIp(string $ip)

Parameters

string $ip

Return Value

$this

DateTime getSubmittedAt()

Return Value

DateTime

$this setSubmittedAt($submittedAt)

Parameters

$submittedAt

Return Value

$this

ArrayCollection getAnswers()

Return Value

ArrayCollection

$this addAnswerField(CustomFormAnswer $field)

Parameters

CustomFormAnswer $field

Return Value

$this

$this removeAnswerField(CustomFormAnswer $field)

Parameters

CustomFormAnswer $field

Return Value

$this

$this setCustomForm($customForm)

Parameters

$customForm

Return Value

$this

CustomForm getCustomForm()

Return Value

CustomForm

__construct()

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

string __toString()

Return Value

string

array toArray(bool $namesAsKeys = true)

Parameters

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

Return Value

array