Constants

APP_ROOT

APP_ROOT = dirname(dirname(__FILE__)) . '/'

Created by PhpStorm.

User: rxw Date: 17-8-26 Time: 下午8:55

COMPOSER

COMPOSER = false

DEBUG

DEBUG = true

FRAMEWORK_NAME

FRAMEWORK_NAME = 'framework'

ISSWOOLE

ISSWOOLE = false

SYSTEM_APP_NAME

SYSTEM_APP_NAME = 'APP'

SYSTEM_WORK_ID

SYSTEM_WORK_ID = getmypid()

Functions

autoload()

autoload(  $classFile) 

Parameters

$classFile

getFiles()

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

Parameters

$dir
$type
$ext

getModule()

getModule() 

include_file()

include_file(  $path) 

Parameters

$path

include_file_once()

include_file_once(  $path) 

Parameters

$path

randNumber()

randNumber(  $len = 8) 

Parameters

$len

randStr()

randStr(  $len = 8) 

Parameters

$len

require_file()

require_file(  $path) 

Parameters

$path

require_file_once()

require_file_once(  $path) 

Parameters

$path

securityIdCard()

securityIdCard(  $idCard) 

Parameters

$idCard

securityMobile()

securityMobile(  $mobile) 

Parameters

$mobile

token()

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

Parameters

$data
$prefx

uniqueId()

uniqueId()