Stud.IP  6.0
messaging Class Reference

Public Member Functions

 __construct ()
 
 delete_message ($message_id, $user_id=FALSE)
 
 delete_all_messages ($user_id=FALSE)
 
 user_wants_email ($userid)
 
 sendingEmail ($rec_user_id, $snd_user_id, $message, $subject, $message_id)
 
 insert_message ($message, $rec_uname, $user_id='', $time='', $tmp_message_id='', $set_deleted='', $signature='', $subject='', $force_email='', $priority='normal', $tags=null, $show_adressees=false)
 

Static Public Member Functions

static sendSystemMessage ($recipient, $message_title, $message_body)
 

Data Fields

 $send_as_email = false
 
 $sig_string
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Konstruktor

Member Function Documentation

◆ delete_all_messages()

delete_all_messages (   $user_id = FALSE)

delete all messages from user

Parameters
$user_id

◆ delete_message()

delete_message (   $message_id,
  $user_id = FALSE 
)

Nachricht loeschen

Parameters
$message_id
$user_id

◆ insert_message()

insert_message (   $message,
  $rec_uname,
  $user_id = '',
  $time = '',
  $tmp_message_id = '',
  $set_deleted = '',
  $signature = '',
  $subject = '',
  $force_email = '',
  $priority = 'normal',
  $tags = null,
  $show_adressees = false 
)
Parameters
$message
$rec_uname
$user_id
$time
$tmp_message_id
$set_deleted
$signature
$subject
$force_email
$priority

◆ sendingEmail()

sendingEmail (   $rec_user_id,
  $snd_user_id,
  $message,
  $subject,
  $message_id 
)
Parameters
$rec_user_id
$snd_user_id
$message
$subject
$message_id

◆ sendSystemMessage()

static sendSystemMessage (   $recipient,
  $message_title,
  $message_body 
)
static

◆ user_wants_email()

user_wants_email (   $userid)
Parameters
$userid

Field Documentation

◆ $send_as_email

$send_as_email = false

◆ $sig_string

$sig_string

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