本文整理汇总了PHP中notifications::createFeed方法的典型用法代码示例。如果您正苦于以下问题:PHP notifications::createFeed方法的具体用法?PHP notifications::createFeed怎么用?PHP notifications::createFeed使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类notifications
的用法示例。
在下文中一共展示了notifications::createFeed方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: notifications
<?php
include "../scripts/db.php";
$user = $_POST["user"];
$pass = $_POST["p"];
$_s = $_POST["_s"];
if (isset($pass) && !$wall) {
$fed = new notifications();
if (isset($_s)) {
$con = new db();
$conc = $con->c();
$new_not = new_not_num($conc, $user, $_s);
if ($new_not != 200000) {
print $new_not . "____";
print $fed->createFeed($conc, $user, 5);
mysqli_kill($conc, mysqli_thread_id($con->c()));
mysqli_close($con->c());
} else {
mysqli_kill($conc, mysqli_thread_id($con->c()));
mysqli_close($con->c());
echo "none";
exit;
}
} else {
$con = new db();
$conc = $con->c();
print $fed->createFeed($conc, $user, 30);
$con->close_db_con($conc);
}
}
class notifications