Exam
        
        extends CourseDocument
    
    
            
            in package
            
        
    
    
    
Exam.
Attributes
- #[Entity]
 
Table of Contents
Properties
- $id : int|null
 - The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
 - $examType : ExamTypes
 - Type of exam.
 
Methods
- getCourse() : Course
 - Get the course.
 - getDate() : DateTime
 - Get the date.
 - getExamType() : ExamTypes
 - Get the type.
 - getFilename() : string
 - Get the filename.
 - getId() : int|null
 - Get the identifier of the object.
 - getLanguage() : Languages
 - Get the language.
 - getResourceId() : string
 - getScanned() : bool
 - Get whether the document is scanned or not.
 - setCourse() : void
 - Set the course.
 - setDate() : void
 - Set the date.
 - setExamType() : void
 - Set the type.
 - setFilename() : void
 - Set the filename.
 - setId() : void
 - Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
 - setLanguage() : void
 - Set the language.
 - setScanned() : void
 - Set whether the document is scanned or not.
 - toGdprArray() : CourseDocumentGdprArrayType
 
Properties
$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]
 
$examType
Type of exam.
        private
            ExamTypes
    $examType
    
    
    
    
    
    Attributes
- #[Column]
 - $type: 'string'
 - $enumType: \Education\Model\Enums\ExamTypes::class
 
Methods
getCourse()
Get the course.
    public
                    getCourse() : Course
    Return values
CoursegetDate()
Get the date.
    public
                    getDate() : DateTime
    Return values
DateTimegetExamType()
Get the type.
    public
                    getExamType() : ExamTypes
    Return values
ExamTypesgetFilename()
Get the filename.
    public
                    getFilename() : string
    Return values
stringgetId()
Get the identifier of the object.
    public
                    getId() : int|null
    Tags
Return values
int|nullgetLanguage()
Get the language.
    public
                    getLanguage() : Languages
    Return values
LanguagesgetResourceId()
    public
                    getResourceId() : string
    Return values
stringgetScanned()
Get whether the document is scanned or not.
    public
                    getScanned() : bool
    Return values
boolsetCourse()
Set the course.
    public
                    setCourse(Course $course) : void
    Parameters
- $course : Course
 
setDate()
Set the date.
    public
                    setDate(DateTime $date) : void
    Parameters
- $date : DateTime
 
setExamType()
Set the type.
    public
                    setExamType(ExamTypes $examType) : void
    Parameters
- $examType : ExamTypes
 
setFilename()
Set the filename.
    public
                    setFilename(string $filename) : void
    Parameters
- $filename : 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
 
setLanguage()
Set the language.
    public
                    setLanguage(Languages $language) : void
    Parameters
- $language : Languages
 
setScanned()
Set whether the document is scanned or not.
    public
                    setScanned(bool $scanned) : void
    Parameters
- $scanned : bool
 
toGdprArray()
    public
                    toGdprArray() : CourseDocumentGdprArrayType