Class

MemberSanctionManager

Package: PHPBoost\Member Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Kevin MASSY reidlos@phpboost.com Version: PHPBoost 5.2 - last update: 2017 06 08 Since: PHPBoost 3.0 - 2011 02 01 Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: phpboost/member/MemberSanctionManager.class.php

This class is responsible a punish member

Methods summary
public static
# __static( )
public static
# remove_write_permissions( $user_id, $punish_duration, $send_confirmation = self::SEND_MP, $content_to_send = '' )
public static
# banish( $user_id, $punish_duration, $send_confirmation = self::SEND_MAIL, $content_to_send = '' )
public static
# caution( $user_id, $level_punish, $send_confirmation = self::SEND_MP, $content_to_send = '' )
public static
# cancel_caution( $user_id )
public static
public static
# cancel_banishment( $user_id )
Constants summary
string NO_SEND_CONFIRMATION
# 'no_send_confirmation'
string SEND_MAIL
# 'send_mail'
string SEND_MP
# 'send_mp'
string SEND_MP_AND_MAIL
# 'send_mp_and_mail'