OrganInformation
in package
uses
IdentifiableTrait
Organ information.
Attributes
- #[Entity]
Table of Contents
Properties
- $approver : Member|null
- Who was the last one to approve this information. If null then nobody approved it.
- $coverPath : string|null
- The cover photo to display for this organ.
- $dutchDescription : string|null
- A description of the organ in Dutch.
- $email : string|null
- The email address of the organ if available.
- $englishDescription : string|null
- A description of the organ in English.
- $id : int|null
- The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
- $organ : Organ
- $shortDutchDescription : string|null
- A short description of the organ in Dutch.
- $shortEnglishDescription : string|null
- A short description of the organ in English.
- $thumbnailPath : string|null
- The thumbnail photo to display for this organ.
- $website : string|null
- The website of the organ if available.
Methods
- __clone() : mixed
- getApprover() : Member|null
- getCoverPath() : string|null
- getDutchDescription() : string|null
- getEmail() : string|null
- getEnglishDescription() : string|null
- getId() : int|null
- Get the identifier of the object.
- getOrgan() : Organ
- getShortDutchDescription() : string|null
- getShortEnglishDescription() : string|null
- getThumbnailPath() : string|null
- getWebsite() : string|null
- setApprover() : void
- setCoverPath() : void
- setDutchDescription() : void
- setEmail() : void
- setEnglishDescription() : void
- setId() : void
- Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
- setOrgan() : void
- setShortDutchDescription() : void
- setShortEnglishDescription() : void
- setThumbnailPath() : void
- setWebsite() : void
Properties
$approver
Who was the last one to approve this information. If null then nobody approved it.
protected
Member|null
$approver
= null
Attributes
- #[JoinColumn]
- $referencedColumnName: 'lidnr'
- #[ManyToOne]
- $targetEntity: \Decision\Model\Member::class
$coverPath
The cover photo to display for this organ.
protected
string|null
$coverPath
= null
Attributes
- #[Column]
- $type: 'string'
- $nullable: true
$dutchDescription
A description of the organ in Dutch.
protected
string|null
$dutchDescription
= null
Attributes
- #[Column]
- $type: 'text'
- $nullable: true
The email address of the organ if available.
protected
string|null
$email
= null
Attributes
- #[Column]
- $type: 'string'
- $nullable: true
$englishDescription
A description of the organ in English.
protected
string|null
$englishDescription
= null
Attributes
- #[Column]
- $type: 'text'
- $nullable: true
$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]
$organ
protected
Organ
$organ
Attributes
- #[JoinColumn]
- $name: 'organ_id'
- $referencedColumnName: 'id'
- $nullable: false
- #[ManyToOne]
- $targetEntity: \Decision\Model\Organ::class
- $inversedBy: 'organInformation'
$shortDutchDescription
A short description of the organ in Dutch.
protected
string|null
$shortDutchDescription
= null
Attributes
- #[Column]
- $type: 'string'
- $nullable: true
$shortEnglishDescription
A short description of the organ in English.
protected
string|null
$shortEnglishDescription
= null
Attributes
- #[Column]
- $type: 'string'
- $nullable: true
$thumbnailPath
The thumbnail photo to display for this organ.
protected
string|null
$thumbnailPath
= null
Attributes
- #[Column]
- $type: 'string'
- $nullable: true
$website
The website of the organ if available.
protected
string|null
$website
= null
Attributes
- #[Column]
- $type: 'string'
- $nullable: true
Methods
__clone()
public
__clone() : mixed
getApprover()
public
getApprover() : Member|null
Return values
Member|nullgetCoverPath()
public
getCoverPath() : string|null
Return values
string|nullgetDutchDescription()
public
getDutchDescription() : string|null
Return values
string|nullgetEmail()
public
getEmail() : string|null
Return values
string|nullgetEnglishDescription()
public
getEnglishDescription() : string|null
Return values
string|nullgetId()
Get the identifier of the object.
public
getId() : int|null
Tags
Return values
int|nullgetOrgan()
public
getOrgan() : Organ
Return values
OrgangetShortDutchDescription()
public
getShortDutchDescription() : string|null
Return values
string|nullgetShortEnglishDescription()
public
getShortEnglishDescription() : string|null
Return values
string|nullgetThumbnailPath()
public
getThumbnailPath() : string|null
Return values
string|nullgetWebsite()
public
getWebsite() : string|null
Return values
string|nullsetApprover()
public
setApprover(Member|null $approver) : void
Parameters
- $approver : Member|null
setCoverPath()
public
setCoverPath(string|null $coverPath) : void
Parameters
- $coverPath : string|null
setDutchDescription()
public
setDutchDescription(string|null $dutchDescription) : void
Parameters
- $dutchDescription : string|null
setEmail()
public
setEmail(string|null $email) : void
Parameters
- $email : string|null
setEnglishDescription()
public
setEnglishDescription(string|null $englishDescription) : void
Parameters
- $englishDescription : string|null
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
setOrgan()
public
setOrgan(Organ $organ) : void
Parameters
- $organ : Organ
setShortDutchDescription()
public
setShortDutchDescription(string|null $shortDutchDescription) : void
Parameters
- $shortDutchDescription : string|null
setShortEnglishDescription()
public
setShortEnglishDescription(string|null $shortEnglishDescription) : void
Parameters
- $shortEnglishDescription : string|null
setThumbnailPath()
public
setThumbnailPath(string|null $thumbnailPath) : void
Parameters
- $thumbnailPath : string|null
setWebsite()
public
setWebsite(string|null $website) : void
Parameters
- $website : string|null