smeeckaert/fw-tools

FW 工具

1.0.0.0 2015-09-20 19:39 UTC

This package is not auto-updated.

Last update: 2024-09-28 18:47:42 UTC


README

#Tools

工具是一组在 FW 中使用的有用方法。

Arr

数组方法。

get(array, name, default)

如果数组中存在成员名,则返回该成员名,否则返回默认值。

Header

status(code)

http_response_code 的简写方法。

Server

uri()

返回当前请求的 URI。