Documentation

OrganRegulation extends SubDecision
in package
uses MemberAwareTrait

SubDecision model.

Attributes
#[Entity]

Table of Contents

Properties

$approval  : bool
If the regulation was approved.
$changes  : bool
If there were changes made.
$date  : DateTime
Date of the regulation.
$member  : Member|null
The member involved in this sub-decision.
$name  : string
Name of the organ.
$organType  : OrganTypes
Type of the organ.
$version  : string
Version of the regulation.

Methods

getApproval()  : bool
Get approval status.
getChanges()  : bool
Get if changes were made.
getContentEN()  : string
Get the content in English.
getContentNL()  : string
Get the content in Dutch.
getDate()  : DateTime
Get the date.
getDecision()  : Decision
Get the decision.
getDecisionNumber()  : int
Get the decision number.
getDecisionPoint()  : int
Get the decision point number.
getMeetingNumber()  : int
Get the meeting number.
getMeetingType()  : MeetingTypes
Get the meeting type.
getMember()  : Member
Get the member.
getName()  : string
Get the name.
getSequence()  : int
Get the sequence number.
getVersion()  : string
Get the version.
setApproval()  : void
Set approval status.
setChanges()  : void
Set if changes were made.
setContentEN()  : void
Set the content in English.
setContentNL()  : void
Set the content in Dutch.
setDate()  : void
Set the date.
setDecision()  : void
Set the decision.
setMember()  : void
Set the member.
setName()  : void
Set the name.
setOrganType()  : void
Set the organ type
setSequence()  : void
Set the sequence number.
setVersion()  : void
Set the version.
toGdprArray()  : SubDecisionGdprArrayType

Properties

$approval

If the regulation was approved.

private bool $approval
Attributes
#[Column]
$type: 'boolean'

$changes

If there were changes made.

private bool $changes
Attributes
#[Column]
$type: 'boolean'

$date

Date of the regulation.

private DateTime $date
Attributes
#[Column]
$type: 'date'

$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

$name

Name of the organ.

private string $name
Attributes
#[Column]
$type: 'string'

$organType

Type of the organ.

private OrganTypes $organType
Attributes
#[Column]
$type: 'string'
$enumType: \Decision\Model\Enums\OrganTypes::class

$version

Version of the regulation.

private string $version
Attributes
#[Column]
$type: 'string'
$length: 32

Methods

getApproval()

Get approval status.

public getApproval() : bool
Return values
bool

getChanges()

Get if changes were made.

public getChanges() : bool
Return values
bool

getContentEN()

Get the content in English.

public getContentEN() : string
Return values
string

getContentNL()

Get the content in Dutch.

public getContentNL() : string
Return values
string

getDate()

Get the date.

public getDate() : DateTime
Return values
DateTime

getDecisionNumber()

Get the decision number.

public getDecisionNumber() : int
Return values
int

getDecisionPoint()

Get the decision point number.

public getDecisionPoint() : int
Return values
int

getMeetingNumber()

Get the meeting number.

public getMeetingNumber() : int
Return values
int

getName()

Get the name.

public getName() : string
Return values
string

getSequence()

Get the sequence number.

public getSequence() : int
Return values
int

getVersion()

Get the version.

public getVersion() : string
Return values
string

setApproval()

Set approval status.

public setApproval(bool $approval) : void
Parameters
$approval : bool

setChanges()

Set if changes were made.

public setChanges(bool $changes) : void
Parameters
$changes : bool

setContentEN()

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

setDate()

Set the date.

public setDate(DateTime $date) : void
Parameters
$date : DateTime

setName()

Set the name.

public setName(string $name) : void
Parameters
$name : string

setSequence()

Set the sequence number.

public setSequence(int $sequence) : void
Parameters
$sequence : int

setVersion()

Set the version.

public setVersion(string $version) : void
Parameters
$version : string

toGdprArray()

public toGdprArray() : SubDecisionGdprArrayType
Return values
SubDecisionGdprArrayType

        
On this page

Search results