类别 | 函数(方法) | 含义功能 |
---|---|---|
PHP | file_exists() 函数 | 检查文件或目录是否存在。如果指定的文件或目录存在则返回 true,否则返回 false |
五指cms | MSG | MSG($msg, $gotourl = ‘’, $time = 1000, $msg2 = ‘’, $msg3 = ‘’)$msg 提示内容 $gotourl 跳转地址 $time 等待跳转时间,毫秒 1000=1秒 $msg2 扩展提示信息 $msg3 扩展提示信息Ps:第二个往后根据需求选择性添加 |
五指cms | T | T($m, $template’, $style) $m 模块名称 $template 模版名称 $style 模版风格 Ps: 常用的为前两个参数 |
Php | empty | 判断变量是否已配置 |
五指cms | get_cache | get_cache($filename, $dir = ‘cache‘) $filename 文件名 $dir 读取目录名,文件缓存路径:/caches/$dir |
五指cms | catpos | catpos($cid, $pre_symbol,$symbol) $cid 内容模板的cid $pre_symbol,$symbol,包含内容所使用的标签和结束标签 |