# Zhamao Framework: 全局定义

这里列出了所有函数,变量,宏,枚举和类型定义等,并附带其所属的文件:

### - _ -

- _zm_setup_loader() : script_setup_loader.php

### - a -

- app() : global_functions.php

### - c -

- config() : global_functions.php
- container() : global_functions.php
- coroutine() : global_functions.php

### - d -

- db() : global_functions.php

### - e -

- else : global_defines_app.php

### - f -

- FALSE_LIST : global_defines_app.php

### - i -

- is_assoc_array() : global_functions.php

### - l -

- LOAD_MODE : global_defines_app.php
- LOAD_MODE_SRC : global_defines_app.php
- LOAD_MODE_VENDOR : global_defines_app.php
- logger() : global_functions.php

### - m -

- middleware() : global_functions.php

### - r -

- resolve() : global_functions.php

### - s -

- segment() : global_functions.php
- SOURCE_ROOT_DIR : global_defines_app.php
- sql_builder() : global_functions.php
- SWOOLE_HOOK_UDP : global_defines_app.php
- SWOOLE_PROCESS : global_defines_app.php

### - t -

- TRUE_LIST : global_defines_app.php
- try : entry.php

### - w -

- WORKING_DIR : global_defines_app.php

### - z -

- zm_dir() : global_functions.php
- ZM_ERR_METHOD_NOT_FOUND : global_defines_app.php
- ZM_ERR_NONE : global_defines_app.php
- ZM_ERR_ROUTE_METHOD_NOT_ALLOWED : global_defines_app.php
- ZM_ERR_ROUTE_NOT_FOUND : global_defines_app.php
- zm_exec() : global_functions.php
- ZM_INIT_TIME : global_defines_app.php
- zm_instance_id() : global_functions.php
- zm_internal_errcode() : global_functions.php
- ZM_PROCESS_MANAGER : global_defines_app.php
- ZM_PROCESS_MASTER : global_defines_app.php
- ZM_PROCESS_TASKWORKER : global_defines_app.php
- ZM_PROCESS_USER : global_defines_app.php
- ZM_PROCESS_WORKER : global_defines_app.php
- zm_sleep() : global_functions.php
- ZM_STATE_DIR : global_defines_app.php
- ZM_VERSION : global_defines_app.php
- ZM_VERSION_ID : global_defines_app.php