\

Namespaces

app
Complex
Composer
League
liliuwei
Matrix
Opis
Overtrue
Phinx
PhpOffice
Psr
Samples
spec
Symfony
think
WhiteHat101

Classes

AdapterCacheTests
Admin Abstract Seed Class.
APR1_MD5_CheckTest
APR1_MD5_HashTest
APR1_MD5_SaltTest
AuthGroup Abstract Migration Class.
AuthGroupAccess Abstract Migration Class.
AuthRule Abstract Migration Class.
Banji Abstract Migration Class.
Category Abstract Migration Class.
Category Abstract Seed Class.
Chengji Abstract Migration Class.
ComposerAutoloaderInitb9e4f0134ed78dbdc8a5ce7a1ab58175
DwRongyu Abstract Migration Class.
DwRongyuCanyu Abstract Migration Class.
Fields Abstract Migration Class.
FilenameFilter
FilenameFilter
FilesystemRegexFilter
FilesystemRegexFilter
InspectionTests
JsRongyu Abstract Migration Class.
JsRongyuCanyu Abstract Migration Class.
JsRongyuInfo Abstract Migration Class.
Kaohao Abstract Migration Class.
Kaoshi Abstract Migration Class.
KaoshiSet Abstract Migration Class.
Keti Abstract Migration Class.
KetiCanyu Abstract Migration Class.
KetiInfo Abstract Migration Class.
Member Abstract Migration Class.
MemcachedTests
MemoryCacheTests
NoopCacheTests
PhpRedisTests
PredisTests
Psr6CacheTests
Rule Abstract Seed Class.
School Abstract Seed Class.
School Abstract Migration Class.
StashTests
Student Abstract Migration Class.
Subject Abstract Seed Class.
Subject Abstract Migration Class.
SystemBase Abstract Migration Class.
SystemBase Abstract Seed Class.
Teacher Abstract Migration Class.
TeacherZhiwu Abstract Migration Class.
TongjiBj Abstract Migration Class.
TongjiLog Abstract Migration Class.
TongjiNj Abstract Migration Class.
TongjiSch Abstract Migration Class.
Xueqi Abstract Migration Class.

Constants

MB_CASE_LOWER

MB_CASE_LOWER = 1

MB_CASE_TITLE

MB_CASE_TITLE = 2

MB_CASE_UPPER

MB_CASE_UPPER = 0

PHP_OS_FAMILY

PHP_OS_FAMILY = \Symfony\Polyfill\Php72\Php72::php_os_family()

PINYIN_ASCII_TONE

PINYIN_ASCII_TONE = 8

PINYIN_DEFAULT

PINYIN_DEFAULT = 4096

PINYIN_KEEP_ENGLISH

PINYIN_KEEP_ENGLISH = 64

PINYIN_KEEP_NUMBER

PINYIN_KEEP_NUMBER = 32

PINYIN_KEEP_PUNCTUATION

PINYIN_KEEP_PUNCTUATION = 256

PINYIN_NAME

PINYIN_NAME = 16

PINYIN_NO_TONE

PINYIN_NO_TONE = 4

PINYIN_TONE

PINYIN_TONE = 2

PINYIN_UMLAUT_V

PINYIN_UMLAUT_V = 128

Functions

array_cover()

array_cover(  $cover = array(),   $covered = array()) 

Parameters

$cover
$covered

banJiNamelist()

banJiNamelist() 

captcha()

captcha(string  $config = null) : \think\Response

Parameters

string $config

Returns

\think\Response

captcha_check()

captcha_check(string  $value) : boolean

Parameters

string $value

Returns

boolean

captcha_img()

captcha_img(  $id = '') : string

Parameters

$id

Returns

string

captcha_src()

captcha_src(  $config = null) : string

Parameters

$config

Returns

string

categoryChildren()

categoryChildren(  $p_id) 

Parameters

$p_id

class_basename()

class_basename(mixed  $class) : string

获取类名(不包含命名空间)

Parameters

mixed $class

类名

Returns

string

class_uses_recursive()

class_uses_recursive(mixed  $class) : array

获取一个类里所有用到的trait,包括父类的

Parameters

mixed $class

类名

Returns

array

collect()

collect(mixed  $value = null) : \think\Collection

Create a collection from the given value.

Parameters

mixed $value

Returns

\think\Collection

composerRequireb9e4f0134ed78dbdc8a5ce7a1ab58175()

composerRequireb9e4f0134ed78dbdc8a5ce7a1ab58175(  $fileIdentifier,   $file) 

Parameters

$fileIdentifier
$file

danweiJibie()

danweiJibie(  $low = '班级',   $high = '其它级',   $order = 'asc') 

Parameters

$low
$high
$order

data_fill()

data_fill(mixed  $target, string|array  $key, mixed  $value) : mixed

Fill in data where it's missing.

Parameters

mixed $target
string|array $key
mixed $value

Returns

mixed

data_get()

data_get(mixed  $target, string|array|integer  $key, mixed  $default = null) : mixed

Get an item from an array or object using "dot" notation.

Parameters

mixed $target
string|array|integer $key
mixed $default

Returns

mixed

data_set()

data_set(mixed  $target, string|array  $key, mixed  $value, boolean  $overwrite = true) : mixed

Set an item on an array or object using dot notation.

Parameters

mixed $target
string|array $key
mixed $value
boolean $overwrite

Returns

mixed

database_path()

database_path(string  $path = '') : string

获取数据迁移脚本地址

Parameters

string $path

Returns

string

dd()

dd(  $vars) 

Parameters

$vars

dump()

dump(  $var,   $moreVars) 

Parameters

$var
$moreVars

excelColumnName()

excelColumnName() 

factory()

factory() : \think\migration\FactoryBuilder

Create a model factory builder for a given class, name, and amount.

Returns

\think\migration\FactoryBuilder

hypo()

hypo(mixed  $a, mixed  $b) : float

Pythagorean Theorem:.

a = 3 b = 4 r = sqrt(square(a) + square(b)) r = 5

r = sqrt(a^2 + b^2) without under/overflow.

Parameters

mixed $a
mixed $b

Returns

float

imageantialias()

imageantialias(  $args) 

Parameters

$args

kaoshiSchoolList()

kaoshiSchoolList() 

manfenvalidate()

manfenvalidate(  $defen,   $manfen) 

Parameters

$defen
$manfen

mb_check_encoding()

mb_check_encoding(  $var = null,   $encoding = null) 

Parameters

$var
$encoding

mb_chr()

mb_chr(  $code,   $enc = null) 

Parameters

$code
$enc

mb_chr()

mb_chr(  $code,   $enc = null) 

Parameters

$code
$enc

mb_convert_case()

mb_convert_case(  $s,   $mode,   $enc = null) 

Parameters

$s
$mode
$enc

mb_convert_encoding()

mb_convert_encoding(  $s,   $to,   $from = null) 

Parameters

$s
$to
$from

mb_convert_variables()

mb_convert_variables(  $toEncoding,   $fromEncoding,   $a = null,   $b = null,   $c = null,   $d = null,   $e = null,   $f = null) 

Parameters

$toEncoding
$fromEncoding
$a
$b
$c
$d
$e
$f

mb_decode_mimeheader()

mb_decode_mimeheader(  $s) 

Parameters

$s

mb_decode_numericentity()

mb_decode_numericentity(  $s,   $convmap,   $enc = null) 

Parameters

$s
$convmap
$enc

mb_detect_encoding()

mb_detect_encoding(  $str,   $encodingList = null,   $strict = false) 

Parameters

$str
$encodingList
$strict

mb_detect_order()

mb_detect_order(  $encodingList = null) 

Parameters

$encodingList

mb_encode_mimeheader()

mb_encode_mimeheader(  $s,   $charset = null,   $transferEnc = null,   $lf = null,   $indent = null) 

Parameters

$s
$charset
$transferEnc
$lf
$indent

mb_encode_numericentity()

mb_encode_numericentity(  $s,   $convmap,   $enc = null,   $is_hex = false) 

Parameters

$s
$convmap
$enc
$is_hex

mb_encoding_aliases()

mb_encoding_aliases(  $encoding) 

Parameters

$encoding

mb_get_info()

mb_get_info(  $type = 'all') 

Parameters

$type

mb_http_input()

mb_http_input(  $type = '') 

Parameters

$type

mb_http_output()

mb_http_output(  $enc = null) 

Parameters

$enc

mb_internal_encoding()

mb_internal_encoding(  $enc = null) 

Parameters

$enc

mb_language()

mb_language(  $lang = null) 

Parameters

$lang

mb_list_encodings()

mb_list_encodings() 

mb_ord()

mb_ord(  $s,   $enc = null) 

Parameters

$s
$enc

mb_ord()

mb_ord(  $s,   $enc = null) 

Parameters

$s
$enc

mb_output_handler()

mb_output_handler(  $contents,   $status) 

Parameters

$contents
$status

mb_parse_str()

mb_parse_str(  $s,   $result = array()) 

Parameters

$s
$result

mb_scrub()

mb_scrub(  $s,   $enc = null) 

Parameters

$s
$enc

mb_scrub()

mb_scrub(  $s,   $enc = null) 

Parameters

$s
$enc

mb_str_split()

mb_str_split(  $string,   $split_length = 1,   $encoding = null) 

Parameters

$string
$split_length
$encoding

mb_stripos()

mb_stripos(  $s,   $needle,   $offset,   $enc = null) 

Parameters

$s
$needle
$offset
$enc

mb_stristr()

mb_stristr(  $s,   $needle,   $part = false,   $enc = null) 

Parameters

$s
$needle
$part
$enc

mb_strlen()

mb_strlen(  $s,   $enc = null) 

Parameters

$s
$enc

mb_strpos()

mb_strpos(  $s,   $needle,   $offset,   $enc = null) 

Parameters

$s
$needle
$offset
$enc

mb_strrchr()

mb_strrchr(  $s,   $needle,   $part = false,   $enc = null) 

Parameters

$s
$needle
$part
$enc

mb_strrichr()

mb_strrichr(  $s,   $needle,   $part = false,   $enc = null) 

Parameters

$s
$needle
$part
$enc

mb_strripos()

mb_strripos(  $s,   $needle,   $offset,   $enc = null) 

Parameters

$s
$needle
$offset
$enc

mb_strrpos()

mb_strrpos(  $s,   $needle,   $offset,   $enc = null) 

Parameters

$s
$needle
$offset
$enc

mb_strstr()

mb_strstr(  $s,   $needle,   $part = false,   $enc = null) 

Parameters

$s
$needle
$part
$enc

mb_strtolower()

mb_strtolower(  $s,   $enc = null) 

Parameters

$s
$enc

mb_strtoupper()

mb_strtoupper(  $s,   $enc = null) 

Parameters

$s
$enc

mb_strwidth()

mb_strwidth(  $s,   $enc = null) 

Parameters

$s
$enc

mb_substitute_character()

mb_substitute_character(  $char = null) 

Parameters

$char

mb_substr()

mb_substr(  $s,   $start,   $length = 2147483647,   $enc = null) 

Parameters

$s
$start
$length
$enc

mb_substr_count()

mb_substr_count(  $haystack,   $needle,   $enc = null) 

Parameters

$haystack
$needle
$enc

nianJiNameList()

nianJiNameList(  $value = 'str',   $riqi) 

Parameters

$value
$riqi

reSetArray()

reSetArray(  $arr,   $srcfrom) : array

把重新整理从数据模型中返回的对象

Parameters

$arr
$srcfrom

Returns

array —

返回类型

reSetObject()

reSetObject(  $obj,   $srcfrom) : array

把重新整理从数据模型中返回的对象

Parameters

$obj
$srcfrom

Returns

array —

返回类型

sapi_windows_vt100_support()

sapi_windows_vt100_support(  $stream,   $enable = null) 

Parameters

$stream
$enable

schoolXueduan()

schoolXueduan(  $low = '幼儿园',   $high = '其它学段',   $order = 'asc') 

Parameters

$low
$high
$order

sortArrByManyField()

sortArrByManyField(  $arr,   $srcfrom) 

Parameters

$arr
$srcfrom

spl_object_id()

spl_object_id(  $s) 

Parameters

$s

stream_isatty()

stream_isatty(  $stream) 

Parameters

$stream

strToArray()

strToArray(\str或array  $str) : array

把request到的参数转换成数组,并删除空值

Parameters

\str或array $str

表单中获取的参数

Returns

array —

返回类型

subjectKaoshiList()

subjectKaoshiList() 

tap()

tap(mixed  $value, callable|null  $callback = null) : mixed

对一个值调用给定的闭包,然后返回该值

Parameters

mixed $value
callable|null $callback

Returns

mixed

teacherNames()

teacherNames(  $list = array()) 

Parameters

$list

throw_if()

throw_if(mixed  $condition, \Throwable|string  $exception, array  $parameters) : mixed

按条件抛异常

Parameters

mixed $condition
\Throwable|string $exception
array $parameters

Throws

\Throwable

Returns

mixed

throw_unless()

throw_unless(mixed  $condition, \Throwable|string  $exception, array  $parameters) : mixed

按条件抛异常

Parameters

mixed $condition
\Throwable|string $exception
array $parameters

Throws

\Throwable

Returns

mixed

tiaoxingOnexiangmu()

tiaoxingOnexiangmu(  $jg,   $xm) : array

从统计结果中获取条形统计图中需要的各项目成绩

Parameters

$jg
$xm

Returns

array —

返回类型

tjOrder()

tjOrder(  $cj,   $type = 'desc') : array

把给定的成绩进行排序

Parameters

$cj
$type

Returns

array —

$result 返回成绩排序结果

trait_uses_recursive()

trait_uses_recursive(string  $trait) : array

获取一个trait里所有引用到的trait

Parameters

string $trait

Trait

Returns

array

transpose()

transpose(  $value) 

Parameters

$value

utf8_decode()

utf8_decode(  $s) 

Parameters

$s

utf8_encode()

utf8_encode(  $s) 

Parameters

$s

value()

value(mixed  $value) : mixed

Return the default value of the given value.

Parameters

mixed $value

Returns

mixed

xiangti()

xiangti(  $jg) : array

从统计结果中获取条形箱体图需要的各项目成绩

Parameters

$jg

Returns

array —

返回类型