Files
OMS/app/ome/lib/service/template.php
2025-12-28 23:13:25 +08:00

28 lines
718 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_service_template{
/**
* get print template list
* 获取定义的快递单打印项的配置列表
* @return array();
*/
public function getElements(){
return kernel::single('ome_delivery_template')->defaultElements();
}
/**
* get default print content
* 获取快递单打印项的对应内容
* @param unknown_type $value_list
* @return string
*/
public function getElementContent($value_list){
return kernel::single('ome_delivery_template')->processElementContent($value_list);
}
}