class CustomForm extends AbstractDateTimed (View source)

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

Properties

protected $id from AbstractEntity
protected DateTime $createdAt from AbstractDateTimed
protected DateTime $updatedAt from AbstractDateTimed
protected $color

Methods

int
getId()

No description

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

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

DateTime getCreatedAt()

Return Value

DateTime

AbstractEntity setCreatedAt(DateTime $createdAt)

Parameters

DateTime $createdAt

Return Value

AbstractEntity

DateTime getUpdatedAt()

Return Value

DateTime

AbstractEntity setUpdatedAt(DateTime $updatedAt)

Parameters

DateTime $updatedAt

Return Value

AbstractEntity

preUpdate()

prePersist()

AbstractEntity resetDates()

Set creation and update date to now.

Return Value

AbstractEntity

string getName()

Return Value

string

$this setName(string $name)

Parameters

string $name

Return Value

$this

string getDisplayName()

Return Value

string

$this setDisplayName(string $displayName)

Parameters

string $displayName

Return Value

$this

string getDescription()

Return Value

string

$this setDescription(string $description)

Parameters

string $description

Return Value

$this

string getEmail()

Return Value

string

$this setEmail(string $email)

Parameters

string $email

Return Value

$this

boolean isOpen()

Return Value

boolean

$this setOpen(boolean $open)

Parameters

boolean $open

Return Value

$this

DateTime getCloseDate()

Return Value

DateTime

$this setCloseDate(DateTime $closeDate)

Parameters

DateTime $closeDate

Return Value

$this

boolean isFormStillOpen()

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

Return Value

boolean

string getColor()

Gets the value of color.

Return Value

string

$this setColor(string $color)

Sets the value of color.

Parameters

string $color

Return Value

$this

ArrayCollection getFields()

Return Value

ArrayCollection

array getFieldsNames()

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

Return Value

array

array getFieldsLabels()

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

Return Value

array

CustomForm addField(CustomFormField $field)

Parameters

CustomFormField $field

Return Value

CustomForm

CustomForm removeField(CustomFormField $field)

Parameters

CustomFormField $field

Return Value

CustomForm

getCustomFormAnswers()

getHandler()

__construct()

Create a new CustomForm.

string getOneLineSummary()

Return Value

string

string getFieldsSummary()

Return Value

string $text

ArrayCollection getNodes()

Return Value

ArrayCollection

__clone()