本文整理汇总了PHP中Notifications::successMessage方法的典型用法代码示例。如果您正苦于以下问题:PHP Notifications::successMessage方法的具体用法?PHP Notifications::successMessage怎么用?PHP Notifications::successMessage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Notifications
的用法示例。
在下文中一共展示了Notifications::successMessage方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: header
if (!isset($_SESSION["Admin_Id"])) {
header("location:login.php");
}
if ($_SESSION["level"] != 1) {
header("location:login.php");
}
if (isset($_GET["Admin_Id"])) {
$Admin_Id = $_GET["Admin_Id"];
$con = new Connection();
$connection = $con->getConnection();
$misc = new MiscFunction($connection);
$notifyObject = new Notifications();
$dao = new Dao($connection);
$finishSession = $dao->finishSession($Admin_Id);
unset($_SESSION["state_name"]);
$adminName = $misc->getAdminName($Admin_Id);
$msg = "<h3>Thank You " . $adminName . " !!!</h3>";
echo $notifyObject->successMessage($msg);
?>
<meta http-equiv="refresh" content="2;url=login.php" />
<?php
}
?>