本文整理汇总了PHP中orders::retrieveReturnListData方法的典型用法代码示例。如果您正苦于以下问题:PHP orders::retrieveReturnListData方法的具体用法?PHP orders::retrieveReturnListData怎么用?PHP orders::retrieveReturnListData使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类orders
的用法示例。
在下文中一共展示了orders::retrieveReturnListData方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: explode
} else {
$keywords = explode(' ', $search_keywords);
foreach ($keywords as $key) {
$searchfilter .= " AND o.customers_name LIKE '%{$key}%'";
}
}
break;
case 'a':
$searchfilter .= " AND op.products_model LIKE '%{$search_keywords}%'";
break;
case 'o':
$searchfilter .= " AND o.orders_no LIKE '%{$search_keywords}%'";
break;
}
}
$returns = $class_o->retrieveReturnListData($searchfilter);
if (count($returns) > 0) {
$orders = array();
$o = array();
$o['d2'] = 'Date';
$o['i'] = 'Return info';
$o['o'] = 'Order No';
$o['a'] = 'Product Code';
$o['p'] = 'Price';
$o['q'] = 'Qty';
$orders[] = $o;
$show_upload_retcon = false;
foreach ($returns as $row) {
$o = array();
$o['d2'] = date('d-M-y', strtotime($row['return_date']));
$o['i'] = $row['customers_name'] . ' <a href="" id="rid-' . $row['orders_products_return_id'] . '" class="detail" title="View Return Detail">[more]</a>';