Beta version

class CustomForm extends AbstractDateTimed

CustomForms describe each node structure family, They are mandatory before creating any Node.

Methods

int
getId()

Get entity unique identifier.

setId(int $id)

No description

getCreatedAt()

No description

setCreatedAt(DateTime $createdAt)

No description

getUpdatedAt()

No description

setUpdatedAt(DateTime $updatedAt)

No description

preUpdate()

No description

prePersist()

No description

resetDates()

Set creation and update date to now.

string
getName()

No description

$this
setName(string $name)

No description

string
getDisplayName()

No description

$this
setDisplayName(string $displayName)

No description

string
getDescription()

No description

$this
setDescription(string $description)

No description

string
getEmail()

No description

$this
setEmail(string $email)

No description

boolean
isOpen()

No description

$this
setOpen(boolean $open)

No description

getCloseDate()

No description

$this
setCloseDate(DateTime $closeDate)

No description

boolean
isFormStillOpen()

Combine open flag and closeDate to determine if current form is still available.

string
getColor()

Gets the value of color.

$this
setColor(string $color)

Sets the value of color.

ArrayCollection
getFields()

No description

array
getFieldsNames()

Get every node-type fields names in a simple array.

array
getFieldsLabels()

Get every node-type fields names in a simple array.

addField(CustomFormField $field)

No description

removeField(CustomFormField $field)

No description

getCustomFormAnswers()

No description

getHandler()

No description

__construct()

Create a new CustomForm.

string
getOneLineSummary()

No description

string
getFieldsSummary()

No description

ArrayCollection
getNodes()

No description

__clone()

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

in AbstractDateTimed at line 53
DateTime getCreatedAt()

Return Value

DateTime

in AbstractDateTimed at line 62
AbstractEntity setCreatedAt(DateTime $createdAt)

Parameters

DateTime $createdAt

Return Value

AbstractEntity

in AbstractDateTimed at line 77
DateTime getUpdatedAt()

Return Value

DateTime

in AbstractDateTimed at line 86
AbstractEntity setUpdatedAt(DateTime $updatedAt)

Parameters

DateTime $updatedAt

Return Value

AbstractEntity

in AbstractDateTimed at line 96
preUpdate()

in AbstractDateTimed at line 103
prePersist()

in AbstractDateTimed at line 113
AbstractEntity resetDates()

Set creation and update date to now.

Return Value

AbstractEntity

at line 55
string getName()

Return Value

string

at line 64
$this setName(string $name)

Parameters

string $name

Return Value

$this

at line 78
string getDisplayName()

Return Value

string

at line 87
$this setDisplayName(string $displayName)

Parameters

string $displayName

Return Value

$this

at line 102
string getDescription()

Return Value

string

at line 111
$this setDescription(string $description)

Parameters

string $description

Return Value

$this

at line 125
string getEmail()

Return Value

string

at line 134
$this setEmail(string $email)

Parameters

string $email

Return Value

$this

at line 148
boolean isOpen()

Return Value

boolean

at line 157
$this setOpen(boolean $open)

Parameters

boolean $open

Return Value

$this

at line 171
DateTime getCloseDate()

Return Value

DateTime

at line 180
$this setCloseDate(DateTime $closeDate)

Parameters

DateTime $closeDate

Return Value

$this

at line 193
boolean isFormStillOpen()

Combine open flag and closeDate to determine if current form is still available.

Return Value

boolean

at line 215
string getColor()

Gets the value of color.

Return Value

string

at line 227
$this setColor(string $color)

Sets the value of color.

Parameters

string $color

Return Value

$this

at line 243
ArrayCollection getFields()

Return Value

ArrayCollection

at line 254
array getFieldsNames()

Get every node-type fields names in a simple array.

Return Value

array

at line 271
array getFieldsLabels()

Get every node-type fields names in a simple array.

Return Value

array

at line 286
CustomForm addField(CustomFormField $field)

Parameters

CustomFormField $field

Return Value

CustomForm

at line 300
CustomForm removeField(CustomFormField $field)

Parameters

CustomFormField $field

Return Value

CustomForm

at line 319
getCustomFormAnswers()

at line 324
getHandler()

at line 332
__construct()

Create a new CustomForm.

at line 342
string getOneLineSummary()

Return Value

string

at line 351
string getFieldsSummary()

Return Value

string $text

at line 369
ArrayCollection getNodes()

Return Value

ArrayCollection

at line 374
__clone()