MCPcopy Create free account
hub / github.com/AxelPanda/SonicBreaker / api

Function api

Application/Common/Common/function.php:835–845  ·  view source on GitHub ↗

* 调用系统的API接口方法(静态方法) * api('User/getName','id=5'); 调用公共模块的User接口的getName方法 * api('Admin/User/getName','id=5'); 调用Admin模块的User接口 * @param string $name 格式 [模块名]/接口名/方法名 * @param array|string $vars 参数 */

($name,$vars=array())

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_initializeMethod · 0.85
_initializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected