Documentation

ActivityOptionProposal
in package
implements OrganResourceInterface uses IdentifiableTrait

Activity calendar activity option proposal model.

Attributes
#[Entity]

Table of Contents

Interfaces

OrganResourceInterface

Properties

$creationTime  : DateTime
The date and time the activity option was created.
$creator  : Member
Who created this activity option.
$description  : string
Description for the activity option proposal.
$id  : int|null
The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
$name  : string
Name for the activity option proposal.
$organ  : Organ|null
Who created this activity proposal.
$organAlt  : string|null
Who created this activity proposal, if not an organ.

Methods

getCreationTime()  : DateTime
getCreator()  : Member
getCreatorAlt()  : string
Returns in order of presense: 1. The abbreviation of the related organ 2. The alternative for an organ, other organising parties 3. The full name of the member who created the proposal.
getDescription()  : string
getId()  : int|null
Get the identifier of the object.
getName()  : string
getOrgan()  : Organ|null
getOrganAlt()  : string|null
getResourceId()  : string
Returns the string identifier of the Resource.
getResourceOrgan()  : Organ|null
Get the organ of this resource.
setCreationTime()  : void
setCreator()  : void
setDescription()  : void
setId()  : void
Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
setName()  : void
setOrgan()  : void
setOrganAlt()  : void

Properties

$creationTime

The date and time the activity option was created.

protected DateTime $creationTime
Attributes
#[Column]
$type: 'datetime'

$creator

Who created this activity option.

protected Member $creator
Attributes
#[JoinColumn]
$referencedColumnName: 'lidnr'
$nullable: false
#[ManyToOne]
$targetEntity: \Decision\Model\Member::class

$description

Description for the activity option proposal.

protected string $description
Attributes
#[Column]
$type: 'string'

$id

The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.

protected int|null $id = null
Attributes
#[Column]
$type: 'integer'
#[GeneratedValue]
$strategy: 'IDENTITY'
#[Id]

$name

Name for the activity option proposal.

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

$organ

Who created this activity proposal.

protected Organ|null $organ = null
Attributes
#[JoinColumn]
$referencedColumnName: 'id'
$nullable: true
#[ManyToOne]
$targetEntity: \Decision\Model\Organ::class

$organAlt

Who created this activity proposal, if not an organ.

protected string|null $organAlt = null
Attributes
#[Column]
$type: 'string'
$nullable: true

Methods

getCreatorAlt()

Returns in order of presense: 1. The abbreviation of the related organ 2. The alternative for an organ, other organising parties 3. The full name of the member who created the proposal.

public getCreatorAlt() : string
Return values
string

getId()

Get the identifier of the object.

public getId() : int|null
Tags
psalm-ignore-nullable-return
Return values
int|null

getResourceId()

Returns the string identifier of the Resource.

public getResourceId() : string
Return values
string

setCreationTime()

public setCreationTime(DateTime $creationTime) : void
Parameters
$creationTime : DateTime

setDescription()

public setDescription(string $description) : void
Parameters
$description : string

setId()

Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!

public setId(int|null $id) : void
Parameters
$id : int|null

setOrganAlt()

public setOrganAlt(string|null $organAlt) : void
Parameters
$organAlt : string|null

        
On this page

Search results