PHP Class PHPFusion\PrivateMessages

Afficher le fichier Open project: php-fusion/PHP-Fusion Class Usage Examples

Méthodes publiques

Méthode Description
display_inbox ( )
display_settings ( ) PM settings page
getInfo ( ) : array
get_pm_settings ( $user_id, $key = NULL )
pm_form ( ) Private message forms pm_form (Short form) pm_mainForm (Full composing environment)
pm_mainForm ( ) New message form
send_pm ( $to, $from, $subject, $message, $smileys = 'y', $to_group = FALSE, $save_sent = TRUE )
validate_user ( $user_id )

Private Methods

Méthode Description
archive_pm ( ) Actions : archive Require - $_POST selectedPM, delete_pm SQL archive action
delete_pm ( ) Actions: delete Require - $_POST selectedPM, delete_pm SQL delete message pm
mark_pm ( ) Actions : marking Require - $_POST selectedPM, mark SQL mark all, mark single (read or unread)
send_message ( ) Reply and send SQL send pm
setInbox ( )
unarchive_pm ( ) Add send to group using recursive statement.

Method Details

display_inbox() public méthode

public display_inbox ( )

display_settings() public méthode

PM settings page
public display_settings ( )

getInfo() public méthode

public getInfo ( ) : array
Résultat array

get_pm_settings() public static méthode

public static get_pm_settings ( $user_id, $key = NULL )

pm_form() public méthode

Private message forms pm_form (Short form) pm_mainForm (Full composing environment)
public pm_form ( )

pm_mainForm() public méthode

New message form
public pm_mainForm ( )

send_pm() public static méthode

public static send_pm ( $to, $from, $subject, $message, $smileys = 'y', $to_group = FALSE, $save_sent = TRUE )

validate_user() public méthode

public validate_user ( $user_id )