Documentation

ActivityCalendarOption
in package
uses IdentifiableTrait

Activity calendar option model.

Attributes
#[Entity]

Table of Contents

Properties

$beginTime  : DateTime
The date and time the activity starts.
$endTime  : DateTime
The date and time the activity ends.
$id  : int|null
The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
$modifiedBy  : Member|null
Who modified this activity option, if null then the option is not modified.
$proposal  : ActivityOptionProposal
To what activity proposal does the option belong.
$status  : string|null
Status for the option.
$type  : string|null
Type for the option.

Methods

getBeginTime()  : DateTime
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.
getEndTime()  : DateTime
getId()  : int|null
Get the identifier of the object.
getModifiedBy()  : Member|null
getProposal()  : ActivityOptionProposal
getResourceId()  : int|string
Returns the string identifier of the Resource.
getStatus()  : string|null
getType()  : string|null
setBeginTime()  : void
setEndTime()  : void
setId()  : void
Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
setModifiedBy()  : void
setProposal()  : void
setStatus()  : void
setType()  : void

Properties

$beginTime

The date and time the activity starts.

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

$endTime

The date and time the activity ends.

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

$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]

$modifiedBy

Who modified this activity option, if null then the option is not modified.

protected Member|null $modifiedBy
Attributes
#[JoinColumn]
$referencedColumnName: 'lidnr'
#[ManyToOne]
$targetEntity: \Decision\Model\Member::class

$proposal

To what activity proposal does the option belong.

protected ActivityOptionProposal $proposal
Attributes
#[JoinColumn]
$referencedColumnName: 'id'
$nullable: false
#[ManyToOne]
$targetEntity: \Activity\Model\ActivityOptionProposal::class

$status

Status for the option.

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

$type

Type for the option.

protected string|null $type
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() : int|string
Return values
int|string

setBeginTime()

public setBeginTime(DateTime $beginTime) : void
Parameters
$beginTime : DateTime

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

        
On this page

Search results