Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CoderOpen/waimai
/ week
Function
week
bootstrap/function.php:210–213 ·
view source on GitHub ↗
根据时间戳返回星期几
($time)
Source
from the content-addressed store, hash-verified
208
209
//根据时间戳返回星期几
210
function week($time)
211
{
212
return date(
'D'
, $time);
213
}
214
215
//无极限分类
216
function getTree($array, $pid =0, $level = 0){
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected