Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
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

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
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
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
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: