PHP Класс AdminModel, huge

PHP version 5
Автор: Kapil Sharma ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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