本文整理汇总了PHP中notifications::postProcessAction方法的典型用法代码示例。如果您正苦于以下问题:PHP notifications::postProcessAction方法的具体用法?PHP notifications::postProcessAction怎么用?PHP notifications::postProcessAction使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类notifications
的用法示例。
在下文中一共展示了notifications::postProcessAction方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: switch
$result = '';
if (isset($_POST['function'])) {
switch ($_POST['function']) {
case 'displayCurrency':
$currency = tep_db_prepare_input($_POST['currency']);
$value = tep_db_prepare_input($_POST['value']);
$result = displayCurrency($currency, $value);
break;
}
}
echo utf8_encode($result);
exit;
}
}
//Other Post Function
$obj_notifications->postProcessAction();
//RETRIEVE LANGUAGE
$query = "SELECT * FROM languages";
$result = tep_db_query($query);
$languages = array();
while ($row = tep_db_fetch_array($result)) {
$languages[$row['languages_id']]['name'] = $row['name'];
$languages[$row['languages_id']]['code'] = $row['code'];
$languages[$row['languages_id']]['path'] = $row['directory'];
}
// Update Status login
tep_db_query("UPDATE minierp_users SET is_login_manobo=1, last_access_time_manobo = " . time() . " WHERE id = " . $session_userinfo['id']);
//RETRIEVE PRODUCT CATEGORIES
$product_categories_name = array();
$catq = tep_db_query("SELECT c.categories_id, cd.categories_name FROM categories c INNER JOIN categories_description cd ON cd.categories_id=c.categories_id AND cd.language_id=1 WHERE c.parent_id=0");
while ($row = tep_db_fetch_array($catq)) {