Files
OMS/app/ome/model/print/tmpl.php
2025-12-28 23:13:25 +08:00

22 lines
596 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.
*/
class ome_mdl_print_tmpl extends dbeav_model{
function getElements(){
$elements = array();
//获取快递单打印项的配置列表
foreach(kernel::servicelist('ome.service.template') as $object=>$instance){
if (method_exists($instance, 'getElements')){
$tmp = $instance->getElements();
}
$elements = array_merge($elements, $tmp);
}
return $elements;
}
}
?>