Files
OMS/app/flowctrl/model/feature.php
2025-12-28 23:13:25 +08:00

38 lines
800 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 kamisama.xia@gmail.com
* @version 0.1
*/
class flowctrl_mdl_feature extends dbeav_model{
var $defaultOrder = array('ft_id',' DESC');
/**
* 销售物料类型字段格式化
* @param string $row 物料类型字段
* @return string
*/
function modifier_type($row){
$flowctrlConfLib = kernel::single('flowctrl_conf');
$nodeList = $flowctrlConfLib->getNodeList();
if($nodeList){
foreach($nodeList as $node){
if($node['code'] == $row){
return $node['name'];
}
}
}
return "-";
}
}