Files
OMS/app/brush/lib/print/queueItems.php
2025-12-28 23:13:25 +08:00

28 lines
658 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* @author ykm 2015-12-25
* @describe print_queue_items打印数据整理
*/
class brush_print_queueItems{
/**
* queueItems
* @param mixed $oriData ID
* @param mixed $corp corp
* @param mixed $field field
* @return mixed 返回值
*/
public function queueItems(&$oriData, $corp, $field) {
$pre = __FUNCTION__ . '.';
foreach($oriData as $key => $value) {
foreach($field as $f) {
$oriData[$key][$pre . $f] = '';
}
}
}
}