Stud.IP  5.4
ForumIssue Class Reference

Static Public Member Functions

static getThreadIdForIssue ($issue_id)
 
static getIssueIdForThread ($topic_id)
 
static setThreadForIssue ($seminar_id, $issue_id, $title, $content)
 
static unlinkIssue ($notification, $topic_id)
 

Member Function Documentation

◆ getIssueIdForThread()

static getIssueIdForThread (   $topic_id)
static

Get the id of the issue linked to the topic denoted by the passed id.

Parameters
string$topic_id
Returns
string the id of the linked topic

◆ getThreadIdForIssue()

static getThreadIdForIssue (   $issue_id)
static

Get the id of the topic linked to the issue denoted by the passed id.

Parameters
string$issue_id
Returns
string the id of the linked topic

◆ setThreadForIssue()

static setThreadForIssue (   $seminar_id,
  $issue_id,
  $title,
  $content 
)
static

Create/Update the linked posting for the passed issue_id

Parameters
string$seminar_id
string$issue_idissue id to link to
string$title(new) title of the posting
string$content(new) content of the posting

◆ unlinkIssue()

static unlinkIssue (   $notification,
  $topic_id 
)
static

Remove the link for the posting denoted by the passed topic_id

Parameters
object$notification
string$topic_id

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