PHP 클래스 AdminModel, huge

PHP version 5
저자: Kapil Sharma ([email protected])
파일 보기 프로젝트 열기: panique/huge 1 사용 예제들

공개 메소드들

메소드 설명
setAccountSuspensionAndDeletionStatus ( $suspensionInDays, $softDelete, $userId ) Sets the deletion and suspension values

비공개 메소드들

메소드 설명
resetUserSession ( $userId ) : boolean Kicks the selected user out of the system instantly by resetting the user's session.
writeDeleteAndSuspensionInfoToDatabase ( $userId, $suspensionTime, $delete ) : boolean Simply write the deletion and suspension info for the user into the database, also puts feedback into session

메소드 상세

setAccountSuspensionAndDeletionStatus() 공개 정적인 메소드

Sets the deletion and suspension values
public static setAccountSuspensionAndDeletionStatus ( $suspensionInDays, $softDelete, $userId )
$suspensionInDays
$softDelete
$userId