mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-24 03:15:32 +08:00
21 lines
504 B
PHP
21 lines
504 B
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
|
||
class base_status_abstract{
|
||
|
||
function get_status(){
|
||
$func = get_class_methods($this);
|
||
$ret = array();
|
||
foreach($func as $method){
|
||
if(isset($method[10]) && substr($method,0,4)=='get_' && substr($method,-7,7)=='_status'){
|
||
$ret = array_merge($ret,$this->$method());
|
||
}
|
||
}
|
||
return $ret;
|
||
}
|
||
|
||
} |