mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-15 02:05:34 +08:00
65 lines
1.3 KiB
PHP
65 lines
1.3 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
|
||
class finance_io_bill_rule_yihaodian{
|
||
|
||
/**
|
||
* 获取Params
|
||
* @return mixed 返回结果
|
||
*/
|
||
public function getParams(){
|
||
$params = array(
|
||
'read_line' => 2000,
|
||
'public' => $public,
|
||
);
|
||
return $params;
|
||
}
|
||
|
||
/**
|
||
* 获取Title
|
||
* @return mixed 返回结果
|
||
*/
|
||
public function getTitle(){
|
||
$title[1] = finance_io_bill_title::getTitle('yihaodian');
|
||
return $title;
|
||
}
|
||
|
||
/**
|
||
* isTitle
|
||
* @param mixed $row row
|
||
* @param mixed $line line
|
||
* @return mixed 返回值
|
||
*/
|
||
public function isTitle($row,$line){
|
||
$result = true;
|
||
$title = finance_io_bill_title::getTitle('yihaodian');
|
||
foreach($title as $v){
|
||
if(!in_array($v,$row)){
|
||
$result = false;
|
||
break;
|
||
}
|
||
}
|
||
return $result;
|
||
}
|
||
|
||
/**
|
||
* isFilterLine
|
||
* @param mixed $row row
|
||
* @param mixed $line line
|
||
* @return mixed 返回值
|
||
*/
|
||
public function isFilterLine($row,$line){
|
||
$result = true;
|
||
$notLine = array('1','2','3');
|
||
if(!in_array($line,$notLine)){
|
||
$result = false;
|
||
}
|
||
return $result;
|
||
}
|
||
|
||
}
|
||
?>
|