本文整理匯總了PHP中Emails::setFeedback方法的典型用法代碼示例。如果您正苦於以下問題:PHP Emails::setFeedback方法的具體用法?PHP Emails::setFeedback怎麽用?PHP Emails::setFeedback使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Emails
的用法示例。
在下文中一共展示了Emails::setFeedback方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
$sql = "SELECT email FROM tbl_admin WHERE account_type='super'";
$r = $db->Execute($sql);
$emails = array();
if ($r->RecordCount() > 0) {
while (!$r->EOF) {
$emails[] = $r->fields['email'];
$r->MoveNext();
}
}
return $emails;
}
/*12-15-2015: azhar : New update of task T9: update Feedback status*/
if ($_GET['act'] == "update_feedback") {
require '../classes/dashboard/Emails.php';
$email = new Emails();
$result = $email->setFeedback($_GET['id'], $_GET['optionVal']);
$data = array();
$data['result'] = $result;
header('Content-Type: application/json');
echo json_encode($data);
die;
}
/*12-15-2015: azhar : New update of task T9: update Feedback status*/
if ($_GET['act'] == "update_feedback_onCalls") {
require '../classes/dashboard/Calls.php';
$calls = new Calls();
$result = $calls->setFeedback($_GET['id'], $_GET['optionVal']);
$data = array();
$data['result'] = $result;
header('Content-Type: application/json');
echo json_encode($data);