Class

MemberSanctionManager

Package: phpboost Author: Kevin MASSY <kevin.massy@phpboost.com> Desc: This class is responsible a punish member Located at phpboost/member/MemberSanctionManager.class.php
Methods summary
public static
# __static( )
public static
# remove_write_permissions( mixed $user_id, mixed $punish_duration, mixed $send_confirmation = MemberSanctionManager::SEND_MP, mixed $content_to_send = '' )
public static
# banish( mixed $user_id, mixed $punish_duration, mixed $send_confirmation = MemberSanctionManager::SEND_MAIL, mixed $content_to_send = '' )
public static
# caution( mixed $user_id, mixed $level_punish, mixed $send_confirmation = MemberSanctionManager::SEND_MP, mixed $content_to_send = '' )
public static
# cancel_caution( mixed $user_id )
public static
# restore_write_permissions( mixed $user_id )
public static
# cancel_banishment( mixed $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'
#