Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
Issue Class Reference

Public Member Functions

 __construct ($data=[])
 
 getPriority ()
 
 setPriority ($priority)
 
 getMkDate ()
 
 getChDate ()
 
 getTitle ()
 
 setTitle ($title)
 
 getDescription ()
 
 setDescription ($description)
 
 getAuthorID ()
 
 getIssueID ()
 
 setSeminarID ($seminar_id)
 
 getSeminarID ()
 
 readSingleDates ()
 
 store ()
 
 restore ()
 
 delete ()
 
 fillValuesFromArray ($data)
 
 toString ()
 
 getFolderID ()
 
 hasFile ()
 
 setFile ($file)
 
 setForum ($newForumValue)
 
 getMessages ()
 
 isIssue ($issue_id)
 

Data Fields

 $issue_id = ''
 
 $seminar_id = ''
 
 $author_id = ''
 
 $title = ''
 
 $description = ''
 
 $mkdate = 0
 
 $chdate = 0
 
 $priority = 0
 
 $file = FALSE
 
 $folder_id = ''
 
 $messages = []
 
 $new = false
 
 $hasForum = false
 

Constructor & Destructor Documentation

__construct (   $data = [])

Constructor for class Issue

$data is an Array with the following possible fields: issue_id: when set, the Issue with this id is restored seminar_id: when set and issue_id is not set, a new issue for this seminar is created

returns NULL if both are unset

Member Function Documentation

delete ( )
fillValuesFromArray (   $data)
getAuthorID ( )
getChDate ( )
getDescription ( )
getFolderID ( )
getIssueID ( )
getMessages ( )
getMkDate ( )
getPriority ( )
getSeminarID ( )
getTitle ( )
hasFile ( )
isIssue (   $issue_id)
readSingleDates ( )
restore ( )
setDescription (   $description)
setFile (   $file)
setForum (   $newForumValue)
setPriority (   $priority)
setSeminarID (   $seminar_id)
setTitle (   $title)
store ( )
toString ( )

Field Documentation

$author_id = ''
$chdate = 0
$description = ''
$file = FALSE
$folder_id = ''
$hasForum = false
$issue_id = ''
$messages = []
$mkdate = 0
$new = false
$priority = 0
$seminar_id = ''
$title = ''

The documentation for this class was generated from the following file: