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
getBeginTime()
public
getBeginTime() : DateTime
Return values
DateTimegetCreatorAlt()
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
stringgetEndTime()
public
getEndTime() : DateTime
Return values
DateTimegetId()
Get the identifier of the object.
public
getId() : int|null
Tags
Return values
int|nullgetModifiedBy()
public
getModifiedBy() : Member|null
Return values
Member|nullgetProposal()
public
getProposal() : ActivityOptionProposal
Return values
ActivityOptionProposalgetResourceId()
Returns the string identifier of the Resource.
public
getResourceId() : int|string
Return values
int|stringgetStatus()
public
getStatus() : string|null
Return values
string|nullgetType()
public
getType() : string|null
Return values
string|nullsetBeginTime()
public
setBeginTime(DateTime $beginTime) : void
Parameters
- $beginTime : DateTime
setEndTime()
public
setEndTime(DateTime $endTime) : void
Parameters
- $endTime : 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
setModifiedBy()
public
setModifiedBy(Member|null $modifiedBy) : void
Parameters
- $modifiedBy : Member|null
setProposal()
public
setProposal(ActivityOptionProposal $proposal) : void
Parameters
- $proposal : ActivityOptionProposal
setStatus()
public
setStatus(string|null $status) : void
Parameters
- $status : string|null
setType()
public
setType(string|null $type) : void
Parameters
- $type : string|null