framework/basefunction.php

Created by PhpStorm.

User: rxw Date: 18-4-21 Time: 下午9:16

Functions

require_file()

require_file(  $path) 

Parameters

$path

require_file_once()

require_file_once(  $path) 

Parameters

$path

include_file()

include_file(  $path) 

Parameters

$path

include_file_once()

include_file_once(  $path) 

Parameters

$path

randStr()

randStr(  $len = 8) 

Parameters

$len

randNumber()

randNumber(  $len = 8) 

Parameters

$len

token()

token(  $data,   $prefx = 'easy') 

Parameters

$data
$prefx

getModule()

getModule() 

uniqueId()

uniqueId() 

securityIdCard()

securityIdCard(  $idCard) 

Parameters

$idCard

securityMobile()

securityMobile(  $mobile) 

Parameters

$mobile

getFiles()

getFiles(  $dir,   $type = '*',   $ext = '*') 

Parameters

$dir
$type
$ext