这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
zblogphp:development:functions:首页 [2017/10/14 08:58] 捷闪站长网 |
zblogphp:development:functions:首页 [2020/05/19 06:30] (当前版本) zx.asd |
||
---|---|---|---|
行 1: | 行 1: | ||
====== Z-BlogPHP 辅助函数列表 ====== | ====== Z-BlogPHP 辅助函数列表 ====== | ||
- | ===== E ===== | ||
- | [[https://github.com/zblogcn/zblogphp/blob/master/zb_system/function/c_system_event.php|function/c_system_event.php]] | ||
- | * [[getlist]] 获取文章列表 | ||
- | * [[getpost]] 获取指定的文章或页面数据 | ||
- | ===== C ===== | ||
- | [[https://github.com/zblogcn/zblogphp/blob/master/zb_system/function/c_system_common.php|function/c_system_common.php]] | ||
- | * [[checkregexp]] 验证字符串是否符合正则表达式 | ||
- | * [[transferhtml]] 通过正则表达式格式化字符串 | ||
- | * [[closetags]] 闭合HTML标签 | ||
- | * [[addnameinstring]] 向字符串型的参数表加入一个新参数 | ||
- | * [[delnameinstring]] 从字符串型的参数表中删除一个参数 | ||
- | * [[hasnameinstring]] 在字符串参数值查找参数 | ||
- | * [[getcurrenthost]] 获取当前网站地址 | ||
- | * [[getdbname]] 获取数据库名 | ||
- | * [[getdirsindir]] 获取目录下文件夹列表 | ||
- | * [[getfileext]] 获取文件后缀名 | ||
- | * [[getfileperms]] 获取文件权限 | ||
- | * [[getfilepermsoct]] 获取文件权限值 | ||
- | * [[getfilesindir]] 获取目录下指定类型文件列表 | ||
- | * [[getguestagent]] 获取客户端Agent | ||
- | * [[getguestip]] 获取客户端IP | ||
- | * [[getguid]] 获取Guid | ||
- | * [[gethttpcontent]] 通过URL获取远程页面内容 | ||
- | * [[getrequesturi]] 获取请求来源URL | ||
- | * [[gettimezonebygmt]] 获取指定时区名 | ||
- | * [[getvalueinarray]] 通过Key从数组获取数据 | ||
- | * [[getvalueinarraybycurrent]] 获取数组中的当前元素数据 | ||
- | * [[getvars]] 获取参数值 | ||
- | * [[getvarsbydefault]] 获取参数值(可设置默认返回值) | ||
- | * [[http304]] 设置304缓存时间 | ||
- | * [[redirect]] 302跳转 | ||
- | * [[redirect301]] 301跳转 | ||
- | * [[removebom]] 删除文件BOM | ||
- | * [[sethttpstatuscode]] 设置http状态码 | ||
- | * [[substrutf8]] 获取UTF8格式的字符串的子串,即截取文本长度 | ||
- | * [[redirect]] 跳转(Location) | ||