Granting
extends SubDecision
in package
uses
MemberAwareTrait
SubDecision model.
Attributes
- #[Entity]
Table of Contents
Properties
- $keyholder : Keyholder
- Keyholder reference.
- $member : Member|null
- The member involved in this sub-decision.
- $until : DateTime
- Till when the keycode is granted.
- $withdrawal : Withdrawal|null
- Discharges.
Methods
- clearWithdrawal() : void
- Clears the withdrawal, if it exists.
- getContentEN() : string
- Get the content in English.
- getContentNL() : string
- Get the content in Dutch.
- getDecision() : Decision
- Get the decision.
- getDecisionNumber() : int
- Get the decision number.
- getDecisionPoint() : int
- Get the decision point number.
- getKeyholder() : Keyholder
- Get the keyholder decision.
- getMeetingNumber() : int
- Get the meeting number.
- getMeetingType() : MeetingTypes
- Get the meeting type.
- getMember() : Member
- Get the member.
- getSequence() : int
- Get the sequence number.
- getUntil() : DateTime
- Get the date.
- getWithdrawal() : Withdrawal|null
- Get the withdrawal decision.
- setContentEN() : void
- Set the content in English.
- setContentNL() : void
- Set the content in Dutch.
- setDecision() : void
- Set the decision.
- setMember() : void
- Set the member.
- setSequence() : void
- Set the sequence number.
- setUntil() : void
- Set the date.
- toGdprArray() : SubDecisionGdprArrayType
Properties
$keyholder
Keyholder reference.
private
Keyholder
$keyholder
Attributes
- #[OneToOne]
- $targetEntity: \Decision\Model\Keyholder::class
- $mappedBy: 'grantingDec'
$member
The member involved in this sub-decision.
private
Member|null
$member
= null
Not all sub-decisions require this, as such it is nullable. However, sub-decisions that need the guarantee that this is not null or need to specify an inverse side can do so using an association override.
Attributes
- #[JoinColumn]
- $name: 'lidnr'
- $referencedColumnName: 'lidnr'
- $nullable: true
- #[ManyToOne]
- $targetEntity: \Decision\Model\Member::class
$until
Till when the keycode is granted.
private
DateTime
$until
Attributes
- #[Column]
- $type: 'date'
$withdrawal
Discharges.
private
Withdrawal|null
$withdrawal
= null
Attributes
- #[OneToOne]
- $targetEntity: \Decision\Model\SubDecision\Key\Withdrawal::class
- $mappedBy: 'granting'
Methods
clearWithdrawal()
Clears the withdrawal, if it exists.
public
clearWithdrawal() : void
getContentEN()
Get the content in English.
public
getContentEN() : string
Return values
stringgetContentNL()
Get the content in Dutch.
public
getContentNL() : string
Return values
stringgetDecision()
Get the decision.
public
getDecision() : Decision
Return values
DecisiongetDecisionNumber()
Get the decision number.
public
getDecisionNumber() : int
Return values
intgetDecisionPoint()
Get the decision point number.
public
getDecisionPoint() : int
Return values
intgetKeyholder()
Get the keyholder decision.
public
getKeyholder() : Keyholder
Return values
KeyholdergetMeetingNumber()
Get the meeting number.
public
getMeetingNumber() : int
Return values
intgetMeetingType()
Get the meeting type.
public
getMeetingType() : MeetingTypes
Return values
MeetingTypesgetMember()
Get the member.
public
getMember() : Member
Tags
Return values
MembergetSequence()
Get the sequence number.
public
getSequence() : int
Return values
intgetUntil()
Get the date.
public
getUntil() : DateTime
Return values
DateTimegetWithdrawal()
Get the withdrawal decision.
public
getWithdrawal() : Withdrawal|null
Return values
Withdrawal|nullsetContentEN()
Set the content in English.
public
setContentEN(string $content) : void
Parameters
- $content : string
setContentNL()
Set the content in Dutch.
public
setContentNL(string $content) : void
Parameters
- $content : string
setDecision()
Set the decision.
public
setDecision(Decision $decision) : void
Parameters
- $decision : Decision
setMember()
Set the member.
public
setMember(Member $member) : void
Parameters
- $member : Member
setSequence()
Set the sequence number.
public
setSequence(int $sequence) : void
Parameters
- $sequence : int
setUntil()
Set the date.
public
setUntil(DateTime $until) : void
Parameters
- $until : DateTime
toGdprArray()
public
toGdprArray() : SubDecisionGdprArrayType