array2object() array2object(\[type] $array) : \[type] 数组转对象 Parameters \[type] $array [description] Returns \[type] — [description]
getfiles() getfiles( $path, $allowFiles, array $files = array()) : array 遍历获取目录下的指定类型的文件 Parameters $path $allowFiles array $files Returns array
highlight() highlight(string $str = '', $key = '') : \[type] 后台查找高亮,其他后台模板请重写此方法 Parameters string $str [description] $key Returns \[type] — [description]
is_mobile() is_mobile(\[type] $mobile) : boolean 是否正确手机号码格式 Parameters \[type] $mobile [description] Returns boolean — [description]
object2array() object2array(\[type] $object) : \[type] 对象转数组 Parameters \[type] $object [description] Returns \[type] — [description]
r() r(string $route, string $urlString, string $params = array()) : string 自己重新定义的生成URL函数,方便使用而已。 Parameters string $route 路由别中 string $urlString 当前操作的模块、类、函数,以点为分隔 string $params 附带参数 Returns string
remote2local() remote2local(string $remote, \[type] $public_local) : \[type] 远程文件下载到本地 public/uploads/ 目录下 Parameters string $remote [description] \[type] $public_local [description] Returns \[type] — [description]