本文整理汇总了PHP中Requests::view_feedback_request方法的典型用法代码示例。如果您正苦于以下问题:PHP Requests::view_feedback_request方法的具体用法?PHP Requests::view_feedback_request怎么用?PHP Requests::view_feedback_request使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Requests
的用法示例。
在下文中一共展示了Requests::view_feedback_request方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
function view_feedback_request($db_object, $common, $user_id, $all_ids)
{
$path = $common->path;
$template = $path . "/templates/learning/view_all_requests.html";
$returncontent = $common->return_file_content($db_object, $template);
$returncontent = $common->direct_replace($db_object, $returncontent, $array);
preg_match("/<{people_loopstart}>(.*?)<{people_loopend}>/s", $returncontent, $match1);
$internalcon = $match1[1];
preg_match("/<{reports_loopstart}>(.*?)<{reports_loopend}>/s", $returncontent, $match2);
$directcon = $match1[1];
preg_match("/<{self_loopstart}>(.*?)<{self_loopend}>/s", $returncontent, $match3);
$selfcon = $match1[1];
while (list($val, $userarr) = @each($all_ids)) {
while (list($userid, $chkval) = @each($userarr)) {
$emp_name = $common->name_display($db_object, $userid);
$repl = $val . "repl";
$con = $val . "con";
$mode = $val;
${$repl} .= preg_replace("/<{(.*?)}>/e", "\$\$1", ${$con});
}
}
$returncontent = preg_replace("/<{people_loopstart}>(.*?)<{people_loopend}>/s", $internalrepl, $returncontent);
$returncontent = preg_replace("/<{reports_loopstart}>(.*?)<{reports_loopend}>/s", $directrepl, $returncontent);
$returncontent = preg_replace("/<{self_loopstart}>(.*?)<{self_loopend}>/s", $selfrepl, $returncontent);
echo $returncontent;
}
}
$obj = new Requests();
$all_ids = $learning->persons_to_be_rated($db_object, $common, $user_id);
$obj->view_feedback_request($db_object, $common, $user_id, $all_ids);
include "footer.php";