A
Arr — Class in namespace Toolkit\ArrUtil
Class Arr
alias of the StringHelper ArrayHelper — Class in namespace Toolkit\ArrUtil
Class ArrayHelper ArrayHelper ::accessible () — Method in class ArrayHelper
Determine whether the given value is array accessible. ArrayHelper ::add () — Method in class ArrayHelper
Add an element to an array using "dot" notation if it doesn't exist. AryBuffer — Class in namespace Toolkit\ArrUtil
Class ArrBuffer AryBuffer ::append () — Method in class AryBuffer
ActiveData — Class in namespace Toolkit\Collection
Class ActiveData ActiveData ::all () — Method in class ActiveData
CollectionInterface ::all () — Method in class CollectionInterface
JsonMessage ::add () — Method in class JsonMessage
JsonMessage ::all () — Method in class JsonMessage
Language ::addLangFile () — Method in class Language
LiteCollection ::add () — Method in class LiteCollection
LiteCollection ::all () — Method in class LiteCollection
SimpleCollection ::add () — Method in class SimpleCollection
SimpleCollection ::all () — Method in class SimpleCollection
Get all items in collection $Container #aliases — Property in class Container
服务别名 $NameAliasTrait #aliases — Property in class NameAliasTrait
path alias array NameAliasTrait ::alias () — Method in class NameAliasTrait
set/get name alias $JsonParser #assoc — Property in class JsonParser
DevController ::addCommand () — Method in class DevController
Add component directory code from git repo by 'git subtree add' FileFinder ::addNames () — Method in class FileFinder
FileFinder ::addNotNames () — Method in class FileFinder
FileFinder ::addPaths () — Method in class FileFinder
FileFinder ::addNotPaths () — Method in class FileFinder
FileFinder ::append () — Method in class FileFinder
FileSystem ::availableSpace () — Method in class FileSystem
ObjectStorage ::attach () — Method in class ObjectStorage
ArrayAccessByGetterSetterTrait — Class in namespace Toolkit\ObjUtil\Traits
Class TraitArrayAccess ArrayAccessByPropertyTrait — Class in namespace Toolkit\ObjUtil\Traits
Class TraitArrayAccess AutoLoader — Class in namespace Toolkit\PhpUtil
Class AutoLoader AutoLoader ::addFiles () — Method in class AutoLoader
AutoLoader ::addPsr0 () — Method in class AutoLoader
AutoLoader ::addPsr0Map () — Method in class AutoLoader
AutoLoader ::addPsr4 () — Method in class AutoLoader
AutoLoader ::addPsr4Map () — Method in class AutoLoader
AutoLoader ::addClassMap () — Method in class AutoLoader
StrBuffer ::append () — Method in class StrBuffer
StringHelper ::absLen () — Method in class StringHelper
ProcessUtil ::afterDo () — Method in class ProcessUtil
AopProxy — Class in namespace Toolkit\Util
Class AopProxy DataProxy ::add () — Method in class DataProxy
DataProxy ::addProxy () — Method in class DataProxy
DataProxy ::addProxies () — Method in class DataProxy
PhpDotEnv ::add () — Method in class PhpDotEnv
Pipeline ::add () — Method in class Pipeline
{@inheritdoc} AopProxyAwareTrait — Class in namespace Toolkit\Util\Traits
Class AopProxyAwareTrait
- AOP 切面编程 AopProxyAwareTrait ::addProxy () — Method in class AopProxyAwareTrait
AopProxyAwareTrait ::addProxies () — Method in class AopProxyAwareTrait
B
Collection ::bindData () — Method in class Collection
Language ::buildLangFilePath () — Method in class Language
UrlHelper ::build () — Method in class UrlHelper
C
ArrayHelper ::changeValueCase () — Method in class ArrayHelper
将数组中的值全部转为大写或小写 ArrayHelper ::collapse () — Method in class ArrayHelper
Collapse an array of arrays into a single array. ArrayHelper ::crossJoin () — Method in class ArrayHelper
Cross join the given arrays, returning all possible permutations. AryBuffer ::clear () — Method in class AryBuffer
clear ActiveData ::create () — Method in class ActiveData
Collection — Class in namespace Toolkit\Collection
Class DataCollector - 数据收集器 (数据存储器 - DataStorage) complex deep Collection ::clear () — Method in class Collection
Clear all data. CollectionInterface — Class in namespace Toolkit\Collection
Collection Interface CollectionInterface ::clear () — Method in class CollectionInterface
clear all data Configuration — Class in namespace Toolkit\Collection
Class Configuration - 配置数据管理 $JsonMessage #code — Property in class JsonMessage
JsonMessage ::code () — Method in class JsonMessage
Language ::count () — Method in class Language
Count elements of an object LiteCollection ::clear () — Method in class LiteCollection
clear all data SimpleCollection ::clear () — Method in class SimpleCollection
Remove all items from collection SimpleCollection ::count () — Method in class SimpleCollection
Get number of items in collection CallableResolver — Class in namespace Toolkit\DI
This class resolves a string of the format 'class:method' into a closure
that can be dispatched. CallableResolverAwareTrait — Class in namespace Toolkit\DI
ResolveCallable $CallableResolverAwareTrait #container — Property in class CallableResolverAwareTrait
Container — Class in namespace Toolkit\DI
Class Container Container ::createCallback () — Method in class Container
创建(类实例/类的方法)回调 Container ::clear () — Method in class Container
clear Container ::count () — Method in class Container
$DevController #components — Property in class DevController
$DevController #componentDir — Property in class DevController
Directory ::create () — Method in class Directory
支持层级目录的创建 Directory ::copy () — Method in class Directory
复制目录内容 Directory ::comparePath () — Method in class Directory
比较文件路径 File ::createAndWrite () — Method in class File
********************** 创建多级目录和多个文件 **********************
结合上两个函数 File ::copy () — Method in class File
File ::combine () — Method in class File
FileFinder ::create () — Method in class FileFinder
FileFinder ::count () — Method in class FileFinder
FileFinder ::current () — Method in class FileFinder
FileSystem ::clearPharPath () — Method in class FileSystem
FileSystem ::check () — Method in class FileSystem
FileSystem ::chmod () — Method in class FileSystem
Change mode for an array of files or directories. FileSystem ::chown () — Method in class FileSystem
Change the owner of an array of files or directories. FileSystem ::chmodDir () — Method in class FileSystem
FileSystem ::countSpace () — Method in class FileSystem
ModifyWatcher ::calcMd5Hash () — Method in class ModifyWatcher
ObjectHelper ::configure () — Method in class ObjectHelper
给对象设置属性值 ObjectHelper ::create () — Method in class ObjectHelper
从类名创建服务实例对象,会尽可能自动补完构造函数依赖 ObjectStorage ::contains () — Method in class ObjectStorage
ObjectPoolTrait ::count () — Method in class ObjectPoolTrait
StdObjectTrait ::className () — Method in class StdObjectTrait
get called class name PhpEnv ::checkExtList () — Method in class PhpEnv
检查多个扩展加载情况 PhpError ::codeToString () — Method in class PhpError
PhpHelper ::call () — Method in class PhpHelper
PhpHelper ::callByArray () — Method in class PhpHelper
Str ::contains () — Method in class Str
StrBuffer ::clear () — Method in class StrBuffer
clear UrlHelper ::canAccessed () — Method in class UrlHelper
Cli — Class in namespace Toolkit\SysUtil
Class Cli Cli ::color () — Method in class Cli
Cli ::clearColor () — Method in class Cli
ProcessUtil ::create () — Method in class ProcessUtil
ProcessUtil ::changeScriptOwner () — Method in class ProcessUtil
Set unix user and group for current process script. DataProxy ::call () — Method in class DataProxy
AopProxyAwareTrait ::call () — Method in class AopProxyAwareTrait
D
ArrayHelper ::divide () — Method in class ArrayHelper
Divide an array into two arrays. One with keys and the other with values. ArrayHelper ::dot () — Method in class ArrayHelper
Flatten a multi-dimensional associative array with dots. $JsonMessage #data — Property in class JsonMessage
JsonMessage ::data () — Method in class JsonMessage
$SimpleCollection #data — Property in class SimpleCollection
The source data Container ::del () — Method in class Container
删除服务 DIManager — Class in namespace Toolkit\DI
Class DIManager - Container Manager DependencyResolutionException — Class in namespace Toolkit\DI\Exception
Class DependencyResolutionException DataParserAwareTrait — Class in namespace Toolkit\DataParser
Class DataParserAwareTrait JsonParser ::decode () — Method in class JsonParser
MsgPackParser ::decode () — Method in class MsgPackParser
ParserInterface ::decode () — Method in class ParserInterface
PhpParser ::decode () — Method in class PhpParser
SwooleParser ::decode () — Method in class SwooleParser
DevController — Class in namespace Toolkit\Dev\Console
Internal tool for toolkit development $DevController #description — Property in class DevController
Directory — Class in namespace Toolkit\FileUtil
Class Directory Directory ::delete () — Method in class Directory
删除目录及里面的文件 File ::delete () — Method in class File
File ::downBigFile () — Method in class File
If you want to download files from a linux server with
a filesize bigger than 2GB you can use the following FileFinder ::directories () — Method in class FileFinder
FileFinder ::dirs () — Method in class FileFinder
ObjectHelper ::decode () — Method in class ObjectHelper
反序列化 ObjectStorage ::detach () — Method in class ObjectStorage
ObjectPoolTrait ::destroy () — Method in class ObjectPoolTrait
PhpHelper ::dumpVars () — Method in class PhpHelper
dump vars HtmlHelper ::decode () — Method in class HtmlHelper
This is the opposite of {@link encode()}. StringHelper ::deleteStripSpace () — Method in class StringHelper
缩进格式化内容,去空白/注释 ProcessUtil ::daemonRun () — Method in class ProcessUtil
Daemon, detach and run in the background ProcessUtil ::dispatchSignal () — Method in class ProcessUtil
dispatch signal DataProxy — Class in namespace Toolkit\Util
Class DataProxy DataResult — Class in namespace Toolkit\Util
Class DeferredResult DeferredCallable — Class in namespace Toolkit\Util
Class DeferredCallable E
ArrayHelper ::existsAll () — Method in class ArrayHelper
******* 不区分大小写,检查 一个或多个值是否 全存在数组中 *******
有一个不存在即返回 false ArrayHelper ::existsOne () — Method in class ArrayHelper
******* 不区分大小写,检查 一个或多个值是否存在数组中 *******
有一个存在就返回 true 都不存在 return false ArrayHelper ::except () — Method in class ArrayHelper
Get all of the given array except for a specified array of items. ArrayHelper ::exists () — Method in class ArrayHelper
Determine if the given key exists in the provided array. Collection ::exists () — Method in class Collection
Container ::exists () — Method in class Container
JsonParser ::encode () — Method in class JsonParser
MsgPackParser ::encode () — Method in class MsgPackParser
ParserInterface ::encode () — Method in class ParserInterface
PhpParser ::encode () — Method in class PhpParser
SwooleParser ::encode () — Method in class SwooleParser
FileFinder ::exclude () — Method in class FileFinder
FileSystem ::exists () — Method in class FileSystem
检查文件/夹/链接是否存在 ModifyWatcher ::exclude () — Method in class ModifyWatcher
ObjectHelper ::encode () — Method in class ObjectHelper
定义一个用来序列化数据的函数 PhpEnv ::extIsLoaded () — Method in class PhpEnv
PhpHelper ::exportVar () — Method in class PhpHelper
HtmlHelper ::encode () — Method in class HtmlHelper
Encodes special characters into HTML entities. HtmlHelper ::encodeArray () — Method in class HtmlHelper
HtmlHelper ::escape () — Method in class HtmlHelper
html代码转义
htmlspecialchars 只转化这几个html [ & ' " < > ] 代码 --> [ & " ],
而 htmlentities 却会转化所有的html代码,连同里面的它无法识别的中文字符也会转化。
一般使用 htmlspecialchars 就足够了,要使用 htmlentities 时,要注意为第三个参数传递正确的编码。
htmlentities() <--> html_entity_decode() — 将特殊的 HTML 实体转换回普通字符
htmlspecialchars() <--> htmlspecialchars_decode() — 将特殊的 HTML 实体转换回普通字符
ENT_COMPAT ENT_QUOTES ENT_NOQUOTES ENT_HTML401 ENT_XML1 ENT_XHTML ENT_HTML5 JsonHelper ::encode () — Method in class JsonHelper
encode data to json $UrlHelper #entities — Property in class UrlHelper
UrlHelper ::encode () — Method in class UrlHelper
url_encode form urlencode(),但是 : / ? & = . UrlHelper ::encode2 () — Method in class UrlHelper
[urlEncode 会先转换编码]
$url="ftp://ud03:password@www.xxx.net/中文/中文.rar";
$url1 = url_encode($url);
//ftp://ud03:password@www.xxx.net/%C3%A4%C2%B8%C2%AD%C3%A6%C2%96%C2%87/%C3%A4%C2%B8%C2%AD%C3%A6%C2%96%C2%87.rar
$url2 = urldecode($url);
echo $url1.PHP_EOL.$url2; Sys ::execInBackground () — Method in class Sys
run a command in background Sys ::exec () — Method in class Sys
F
ArrayHelper ::flatten () — Method in class ArrayHelper
Flatten a multi-dimensional array into a single level. ArrayHelper ::forget () — Method in class ArrayHelper
Remove one or many array items from a given array using "dot" notation. $Collection #formats — Property in class Collection
formats $Configuration #format — Property in class Configuration
FixedArray — Class in namespace Toolkit\Collection
Class FixedArray
fixed size array implements, and support string key. Language ::findTranslationText () — Method in class Language
FileNotFoundException — Class in namespace Toolkit\FileUtil\Exception
Class FileNotFoundException FileReadException — Class in namespace Toolkit\FileUtil\Exception
Class FileReadException FileSystemException — Class in namespace Toolkit\FileUtil\Exception
Class FileSystemException File — Class in namespace Toolkit\FileUtil
Class File FileFinder — Class in namespace Toolkit\FileUtil
Class FileFinder FileFinder ::fromArray () — Method in class FileFinder
FileFinder ::files () — Method in class FileFinder
FileFinder ::followLinks () — Method in class FileFinder
FileFinder ::filter () — Method in class FileFinder
FileSystem — Class in namespace Toolkit\FileUtil
Class FileSystem Obj ::factory () — Method in class Obj
StdObjectTrait ::fullName () — Method in class StdObjectTrait
get called class full name AutoLoader ::findFile () — Method in class AutoLoader
Finds the path to the file where the class is defined. $PhpError #fatalErrors — Property in class PhpError
HtmlHelper ::findImages () — Method in class HtmlHelper
JsonHelper ::format () — Method in class JsonHelper
StringHelper ::format () — Method in class StringHelper
[format description] ProcessUtil ::forks () — Method in class ProcessUtil
fork/create multi child processes. ProcessUtil ::fork () — Method in class ProcessUtil
fork/create a child process. AopProxyAwareTrait ::findProxyCallback () — Method in class AopProxyAwareTrait
G
ArrayHelper ::gets () — Method in class ArrayHelper
Get Multi - 获取多个, 可以设置默认值 ArrayHelper ::getKeyMaxWidth () — Method in class ArrayHelper
get key Max Width ArrayHelper ::getByPath () — Method in class ArrayHelper
Get data from array or object by path. ArrayHelper ::get () — Method in class ArrayHelper
Get an item from an array using "dot" notation. AryBuffer ::getBody () — Method in class AryBuffer
AryBuffer ::getDelimiter () — Method in class AryBuffer
ActiveData ::get () — Method in class ActiveData
以点连接 快速获取子级节点的值 ActiveData ::getIterator () — Method in class ActiveData
Defined by IteratorAggregate interface
Returns an iterator for this object, for use with foreach Collection ::get () — Method in class Collection
get value by path Collection ::getSeparator () — Method in class Collection
Collection ::getFormats () — Method in class Collection
Collection ::getName () — Method in class Collection
getName Collection ::getKeys () — Method in class Collection
Collection ::getIterator () — Method in class Collection
CollectionInterface ::get () — Method in class CollectionInterface
Configuration ::get () — Method in class Configuration
get value by path Configuration ::getMode () — Method in class Configuration
get Mode Configuration ::getFormat () — Method in class Configuration
Configuration ::getFolderPath () — Method in class Configuration
FixedArray ::getSize () — Method in class FixedArray
FixedArray ::getKeyIndex () — Method in class FixedArray
FixedArray ::getKeys () — Method in class FixedArray
FixedArray ::getValues () — Method in class FixedArray
FixedArray ::getIterator () — Method in class FixedArray
Defined by IteratorAggregate interface
Returns an iterator for this object, for use with foreach Language ::getLangFile () — Method in class Language
Language ::getLang () — Method in class Language
Language ::getLangs () — Method in class Language
Language ::getBasePath () — Method in class Language
Language ::getData () — Method in class Language
Language ::getLangFiles () — Method in class Language
Language ::getDefaultFile () — Method in class Language
Language ::getFallbackLang () — Method in class Language
Language ::getFallbackData () — Method in class Language
Language ::getFormat () — Method in class Language
Language ::getSeparator () — Method in class Language
Language ::getLoadedFiles () — Method in class Language
Language ::getIterator () — Method in class Language
Retrieve an external iterator LiteCollection ::get () — Method in class LiteCollection
SimpleCollection ::get () — Method in class SimpleCollection
Get collection item for key SimpleCollection ::gets () — Method in class SimpleCollection
SimpleCollection ::getIterator () — Method in class SimpleCollection
Get collection iterator Container ::get () — Method in class Container
get 获取已注册的服务组件实例
- (单例)共享服务总是获取已存储的实例
- 其他的则总是返回新的实例 Container ::getNew () — Method in class Container
强制获取服务的新实例,针对共享服务 Container ::getIfExist () — Method in class Container
若存在服务则返回 否则返回 null Container ::getInstance () — Method in class Container
get 获取已注册的服务组件实例 Container ::getService () — Method in class Container
获取某一个服务的信息 Container ::getServices () — Method in class Container
获取全部服务信息 Container ::getIds () — Method in class Container
获取全部服务id Container ::getIterator () — Method in class Container
Defined by IteratorAggregate interface
Returns an iterator for this object, for use with foreach DIManager ::getDefault () — Method in class DIManager
DIManager ::getContainer () — Method in class DIManager
DIManager ::getDefaultGroup () — Method in class DIManager
Method to get property Profile NameAliasTrait ::getAliases () — Method in class NameAliasTrait
Service ::get () — Method in class Service
Service ::getCallback () — Method in class Service
Service ::getArguments () — Method in class Service
Service ::getInstance () — Method in class Service
DataParserAwareTrait ::getParser () — Method in class DataParserAwareTrait
$DevController #gitUrl — Property in class DevController
DevController ::genApiCommand () — Method in class DevController
Generate classes API documents by 'sami/sami' Directory ::getRecursiveIterator () — Method in class Directory
```php
$filter = function ($current, $key, $iterator) {
// \SplFileInfo $current
// Skip hidden files and directories. Directory ::getList () — Method in class Directory
只获得目录结构 Directory ::getDirs () — Method in class Directory
Directory ::getFiles () — Method in class Directory
获得目录下的文件,可选择类型、是否遍历子文件夹 Directory ::getFilesInfo () — Method in class Directory
获得目录下的文件以及详细信息,可选择类型、是否遍历子文件夹 File ::getName () — Method in class File
获得文件名称 File ::getSuffix () — Method in class File
获得文件扩展名、后缀名 File ::getExtension () — Method in class File
获得文件扩展名、后缀名 File ::getStat () — Method in class File
File ::getContents () — Method in class File
FileFinder ::getIterator () — Method in class FileFinder
Retrieve an external iterator FileFinder ::getChildren () — Method in class FileFinder
FileSystem ::getIterator () — Method in class FileSystem
ModifyWatcher ::getMd5ByIdFile () — Method in class ModifyWatcher
ModifyWatcher ::getIdFile () — Method in class ModifyWatcher
ModifyWatcher ::getWatchDir () — Method in class ModifyWatcher
ModifyWatcher ::getDirMd5 () — Method in class ModifyWatcher
ModifyWatcher ::getFileCounter () — Method in class ModifyWatcher
ReadTrait ::getLines5u3d () — Method in class ReadTrait
得到基准行数上5行下3行的内容, lines up and down GetPropertyException — Class in namespace Toolkit\ObjUtil\Exception
Class GetPropertyException ObjectHelper ::getMethodArgs () — Method in class ObjectHelper
ObjectPoolTrait ::get () — Method in class ObjectPoolTrait
ObjectPoolTrait ::getStack () — Method in class ObjectPoolTrait
AutoLoader ::getLoader () — Method in class AutoLoader
AutoLoader ::getFiles () — Method in class AutoLoader
AutoLoader ::getPsr4Map () — Method in class AutoLoader
AutoLoader ::getClassMap () — Method in class AutoLoader
AutoLoader ::getMissingClasses () — Method in class AutoLoader
PhpEnv ::getVersion () — Method in class PhpEnv
Get PHP version PhpEnv ::getLoadedExtension () — Method in class PhpEnv
返回加载的扩展 PhpHelper ::getMaxUploadSize () — Method in class PhpHelper
根据服务器设置得到文件上传大小的最大值 PhpHelper ::getUserConstants () — Method in class PhpHelper
StrBuffer ::getBody () — Method in class StrBuffer
StringHelper ::genSalt () — Method in class StringHelper
StringHelper ::genUid () — Method in class StringHelper
ProcessUtil ::getPid () — Method in class ProcessUtil
get current process id ProcessUtil ::getPidByFile () — Method in class ProcessUtil
get Pid from File ProcessUtil ::getCurrentUser () — Method in class ProcessUtil
Get unix user of current process. Sys ::getTempDir () — Method in class Sys
Sys ::getCpuUsage () — Method in class Sys
Sys ::getMemUsage () — Method in class Sys
Sys ::gitCheck () — Method in class Sys
支持查看指定目录,默认当前目录
CLI:
php test.php -d=path
php test.php --dir=path
WEB:
/test.php?dir=path SysEnv ::getHostname () — Method in class SysEnv
SysEnv ::getNullDevice () — Method in class SysEnv
DataProxy ::getProxies () — Method in class DataProxy
DataResult ::get () — Method in class DataResult
DataResult ::getValue () — Method in class DataResult
AopProxyAwareTrait ::getProxyPoints () — Method in class AopProxyAwareTrait
AopProxyAwareTrait ::getProxyTarget () — Method in class AopProxyAwareTrait
AopProxyAwareTrait ::getProxyMap () — Method in class AopProxyAwareTrait
H
ArrayHelper ::has () — Method in class ArrayHelper
Check if an item or items exist in an array using "dot" notation. Collection ::has () — Method in class Collection
CollectionInterface ::has () — Method in class CollectionInterface
Language ::has () — Method in class Language
Language ::hasLangFile () — Method in class Language
Language ::hasLangFileData () — Method in class Language
Language ::hasLang () — Method in class Language
LiteCollection ::has () — Method in class LiteCollection
SimpleCollection ::has () — Method in class SimpleCollection
Does this collection have a given key? Container ::has () — Method in class Container
是已注册的服务 NameAliasTrait ::hasAlias () — Method in class NameAliasTrait
ObjectHelper ::hash () — Method in class ObjectHelper
ObjectStorage ::has () — Method in class ObjectStorage
PhpEnv ::hasExtension () — Method in class PhpEnv
PhpEnv ::hasXDebug () — Method in class PhpEnv
Returns true when the runtime used is PHP and Xdebug is loaded. HtmlHelper — Class in namespace Toolkit\StrUtil
Class HtmlHelper Str ::has () — Method in class Str
ProcessUtil ::hasPcntl () — Method in class ProcessUtil
ProcessUtil ::hasPosix () — Method in class ProcessUtil
DataProxy ::hasName () — Method in class DataProxy
I
ArrayHelper ::isAssoc () — Method in class ArrayHelper
Determines if an array is associative. ActiveData ::isStrict () — Method in class ActiveData
Configuration ::isReadonly () — Method in class Configuration
data is Readonly JsonMessage ::isSuccess () — Method in class JsonMessage
JsonMessage ::isFailure () — Method in class JsonMessage
Language ::init () — Method in class Language
{@inheritDoc} Language ::isLang () — Method in class Language
Language ::isIgnoreError () — Method in class Language
LiteCollection ::implode () — Method in class LiteCollection
SimpleCollection ::implode () — Method in class SimpleCollection
Container ::isShared () — Method in class Container
Container ::isLocked () — Method in class Container
Service ::isLocked () — Method in class Service
Service ::isShared () — Method in class Service
JsonParser ::isAssoc () — Method in class JsonParser
Directory ::isEmpty () — Method in class Directory
判断文件夹是否为空 IOException — Class in namespace Toolkit\FileUtil\Exception
Class IOException File ::info () — Method in class File
FileFinder ::ignoreVCS () — Method in class FileFinder
FileFinder ::ignoreDotFiles () — Method in class FileFinder
FileFinder ::in () — Method in class FileFinder
FileFinder ::inDir () — Method in class FileFinder
alias of the in()
FileFinder ::isFollowLinks () — Method in class FileFinder
FileFinder ::isRewindable () — Method in class FileFinder
FileSystem ::isAbsPath () — Method in class FileSystem
FileSystem ::isAbsolutePath () — Method in class FileSystem
Returns whether the file path is an absolute path. FileSystem ::isReadable () — Method in class FileSystem
Tells whether a file exists and is readable. ModifyWatcher ::ignoreDotDirs () — Method in class ModifyWatcher
ModifyWatcher ::ignoreDotFiles () — Method in class ModifyWatcher
ModifyWatcher ::isModified () — Method in class ModifyWatcher
ModifyWatcher ::isChanged () — Method in class ModifyWatcher
Obj ::isArrayable () — Method in class Obj
ObjectHelper ::init () — Method in class ObjectHelper
给对象设置属性值
- 会先尝试用 setter 方法设置属性
- 再尝试直接设置属性 StdObjectTrait ::init () — Method in class StdObjectTrait
init PhpEnv ::isEmbed () — Method in class PhpEnv
isEmbed PhpEnv ::isCgi () — Method in class PhpEnv
PhpEnv ::isCli () — Method in class PhpEnv
is Cli PhpEnv ::isBuiltInServer () — Method in class PhpEnv
is Build In Server
run server use like: php -S 127.0.0.1:8085
PhpEnv ::isDevServer () — Method in class PhpEnv
PhpEnv ::isWeb () — Method in class PhpEnv
isWeb PhpEnv ::isHHVM () — Method in class PhpEnv
isHHVM PhpEnv ::isPHP () — Method in class PhpEnv
isPHP UrlHelper ::isRelative () — Method in class UrlHelper
UrlHelper ::isUrl () — Method in class UrlHelper
UrlHelper ::isFullUrl () — Method in class UrlHelper
Cli ::isSupportColor () — Method in class Cli
Returns true if STDOUT supports colorization. ProcessUtil ::isRunning () — Method in class ProcessUtil
ProcessUtil ::installSignal () — Method in class ProcessUtil
install signal SysEnv ::isUnix () — Method in class SysEnv
SysEnv ::isLinux () — Method in class SysEnv
SysEnv ::isWin () — Method in class SysEnv
SysEnv ::isWindows () — Method in class SysEnv
SysEnv ::isMac () — Method in class SysEnv
SysEnv ::isRoot () — Method in class SysEnv
SysEnv ::isSupportColor () — Method in class SysEnv
Returns true if STDOUT supports colorization. SysEnv ::isInteractive () — Method in class SysEnv
Returns if the file descriptor is an interactive terminal or not. J
JsonMessage — Class in namespace Toolkit\Collection
Class JsonMessage LiteCollection ::jsonSerialize () — Method in class LiteCollection
Specify data which should be serialized to JSON SimpleCollection ::jsonSerialize () — Method in class SimpleCollection
JsonParser — Class in namespace Toolkit\DataParser
Class JsonParser Json — Class in namespace Toolkit\StrUtil
Class Json JsonHelper — Class in namespace Toolkit\StrUtil
Class JsonHelper K
ArrayHelper ::keyExists () — Method in class ArrayHelper
不区分大小写检测数据键名是否存在 $FixedArray #keys — Property in class FixedArray
SimpleCollection ::keys () — Method in class SimpleCollection
Get collection keys ProcessUtil ::kill () — Method in class ProcessUtil
send kill signal to the process ProcessUtil ::killAndWait () — Method in class ProcessUtil
Do shutdown process and wait it exit. ProcessUtil ::killByName () — Method in class ProcessUtil
杀死所有进程 L
ActiveData ::load () — Method in class ActiveData
初始化,载入数据 Collection ::load () — Method in class Collection
load Collection ::loadYaml () — Method in class Collection
load data form yml file Collection ::loadArray () — Method in class Collection
load data form php file or array Collection ::loadObject () — Method in class Collection
load data form php file or array Collection ::loadIni () — Method in class Collection
load data form ini file Collection ::loadJson () — Method in class Collection
load data form json file Language — Class in namespace Toolkit\Collection
Class Language LiteCollection — Class in namespace Toolkit\Collection
Class LiteCollection Container ::lock () — Method in class Container
(注册)锁定的服务,也可在注册后锁定,防止 getNew() 强制重载 DevController ::listCommand () — Method in class DevController
List all swoft component names in the php-toolkit/toolkit Directory ::ls () — Method in class Directory
查看一个目录中的所有文件和子目录 ReadTrait ::load () — Method in class ReadTrait
ReadTrait ::loadPhp () — Method in class ReadTrait
load array data form file. ReadTrait ::loadJson () — Method in class ReadTrait
ReadTrait ::loadIni () — Method in class ReadTrait
ReadTrait ::loadYml () — Method in class ReadTrait
AutoLoader ::loadClass () — Method in class AutoLoader
Loads the given class or interface. StringHelper ::length () — Method in class StringHelper
计算字符长度 PhpDotEnv ::load () — Method in class PhpDotEnv
M
ArrayHelper ::merge () — Method in class ArrayHelper
递归合并两个多维数组,后面的值将会递归覆盖原来的值 ArrayHelper ::merge2 () — Method in class ArrayHelper
递归合并多个多维数组, Collection ::make () — Method in class Collection
$Configuration #mode — Property in class Configuration
config mode
Allow:
folder 文件夹模式,传入一个配置文件夹路径,根据文件夹中的配置名称读取配置数据
data 数据模式,可以一个配置文件的路径,将会自动读取载入;或直接传入数组数据 $JsonMessage #msg — Property in class JsonMessage
JsonMessage ::make () — Method in class JsonMessage
JsonMessage ::msg () — Method in class JsonMessage
LiteCollection ::make () — Method in class LiteCollection
LiteCollection ::map () — Method in class LiteCollection
SimpleCollection ::make () — Method in class SimpleCollection
SimpleCollection ::map () — Method in class SimpleCollection
DIManager ::make () — Method in class DIManager
MsgPackParser — Class in namespace Toolkit\DataParser
Class MsgPackParser File ::mimeType () — Method in class File
File ::move () — Method in class File
FileSystem ::mkdir () — Method in class FileSystem
Creates a directory recursively. ModifyWatcher — Class in namespace Toolkit\FileUtil
Class FilesWatcher - Check Dir's files modified by md5_file() HtmlHelper ::minify () — Method in class HtmlHelper
ProcessUtil ::multi () — Method in class ProcessUtil
N
$Collection #name — Property in class Collection
name $Container #name — Property in class Container
当前容器名称,初始时即固定 Container ::new () — Method in class Container
NotFoundException — Class in namespace Toolkit\DI\Exception
Class NotFoundException NameAliasTrait — Class in namespace Toolkit\DI
Class NameAliasTrait $DevController #name — Property in class DevController
FileFinder ::name () — Method in class FileFinder
$finder->name('*.php')
$finder->name('test.php') FileFinder ::notName () — Method in class FileFinder
FileFinder ::notPath () — Method in class FileFinder
ModifyWatcher ::name () — Method in class ModifyWatcher
ModifyWatcher ::notName () — Method in class ModifyWatcher
StringHelper ::nl2br () — Method in class StringHelper
Convert \n and \r\n and \r to StringHelper ::nameChange () — Method in class StringHelper
驼峰式 <=> 下划线式 O
ArrayHelper ::only () — Method in class ArrayHelper
Get a subset of the items from the given array. ActiveData ::offsetExists () — Method in class ActiveData
Checks whether an offset exists in the iterator. ActiveData ::offsetGet () — Method in class ActiveData
Gets an offset in the iterator. ActiveData ::offsetSet () — Method in class ActiveData
Sets an offset in the iterator. ActiveData ::offsetUnset () — Method in class ActiveData
Unset an offset in the iterator. Collection ::offsetUnset () — Method in class Collection
Unset an offset in the iterator. FixedArray ::offsetExists () — Method in class FixedArray
Checks whether an offset exists in the iterator. FixedArray ::offsetGet () — Method in class FixedArray
Gets an offset in the iterator. FixedArray ::offsetSet () — Method in class FixedArray
Sets an offset in the iterator. FixedArray ::offsetUnset () — Method in class FixedArray
Unset an offset in the iterator. Language ::offsetExists () — Method in class Language
Whether a offset exists Language ::offsetGet () — Method in class Language
Offset to retrieve Language ::offsetSet () — Method in class Language
Offset to set Language ::offsetUnset () — Method in class Language
Offset to unset SimpleCollection ::offsetExists () — Method in class SimpleCollection
Does this collection have a given key? SimpleCollection ::offsetGet () — Method in class SimpleCollection
Get collection item for key SimpleCollection ::offsetSet () — Method in class SimpleCollection
Set collection item SimpleCollection ::offsetUnset () — Method in class SimpleCollection
Remove item from collection Container ::offsetExists () — Method in class Container
Checks whether an offset exists in the iterator. Container ::offsetGet () — Method in class Container
Gets an offset in the iterator. Container ::offsetSet () — Method in class Container
Sets an offset in the iterator. Container ::offsetUnset () — Method in class Container
Unset an offset in the iterator. File ::openHandler () — Method in class File
Obj — Class in namespace Toolkit\ObjUtil
Class Obj
alias of the ObjectHelper ObjectHelper — Class in namespace Toolkit\ObjUtil
Class ObjectHelper ObjectStorage — Class in namespace Toolkit\ObjUtil
Class ObjectStorage
- 允许使用非对象作为key,会自动使用 \stdClass 转成对象 ArrayAccessByGetterSetterTrait ::offsetExists () — Method in class ArrayAccessByGetterSetterTrait
Checks whether an offset exists in the iterator. ArrayAccessByGetterSetterTrait ::offsetGet () — Method in class ArrayAccessByGetterSetterTrait
Gets an offset in the iterator. ArrayAccessByGetterSetterTrait ::offsetSet () — Method in class ArrayAccessByGetterSetterTrait
Sets an offset in the iterator. ArrayAccessByGetterSetterTrait ::offsetUnset () — Method in class ArrayAccessByGetterSetterTrait
Unset an offset in the iterator. ArrayAccessByPropertyTrait ::offsetExists () — Method in class ArrayAccessByPropertyTrait
Checks whether an offset exists in the iterator. ArrayAccessByPropertyTrait ::offsetGet () — Method in class ArrayAccessByPropertyTrait
Gets an offset in the iterator. ArrayAccessByPropertyTrait ::offsetSet () — Method in class ArrayAccessByPropertyTrait
Sets an offset in the iterator. ArrayAccessByPropertyTrait ::offsetUnset () — Method in class ArrayAccessByPropertyTrait
Unset an offset in the iterator. ObjectPoolTrait — Class in namespace Toolkit\ObjUtil\Traits
Class ObjectPoolTrait SingletonTrait ::own () — Method in class SingletonTrait
Str ::optional () — Method in class Str
P
ArrayHelper ::prepend () — Method in class ArrayHelper
Push an item onto the beginning of an array. ArrayHelper ::pull () — Method in class ArrayHelper
Get a value from the array, and remove it. AryBuffer ::prepend () — Method in class AryBuffer
Collection ::parseIni () — Method in class Collection
Collection ::parseJson () — Method in class Collection
Collection ::parseYaml () — Method in class Collection
parse YAML $Container #parent — Property in class Container
当前容器的父级容器 Container ::protect () — Method in class Container
注册受保护的服务 alias of the lock() ParserInterface — Class in namespace Toolkit\DataParser
Interface ParserInterface PhpParser — Class in namespace Toolkit\DataParser
Class PhpParser DevController ::pullCommand () — Method in class DevController
Update component directory code from git repo by 'git subtree pull' DevController ::pushCommand () — Method in class DevController
Push component[s] directory code to component's repo by 'git subtree push' FileFinder ::path () — Method in class FileFinder
$finder->path('some/special/dir') FileSystem ::pathFormat () — Method in class FileSystem
转换为标准的路径结构 FileSystem ::pathModeInfo () — Method in class FileSystem
文件或目录权限检查函数 PropertyException — Class in namespace Toolkit\ObjUtil\Exception
Class PropertyException ObjectPoolTrait ::put () — Method in class ObjectPoolTrait
PropertyAccessByGetterSetterTrait — Class in namespace Toolkit\ObjUtil\Traits
trait PropertyAccessByGetterSetterTrait Php — Class in namespace Toolkit\PhpUtil
Class Php - alias of the class PhpHelper PhpEnv — Class in namespace Toolkit\PhpUtil
Class PhpEnv PhpError — Class in namespace Toolkit\PhpUtil
Class PhpError PhpException — Class in namespace Toolkit\PhpUtil
Class PhpException PhpHelper — Class in namespace Toolkit\PhpUtil
Class PhpHelper PhpHelper ::printVars () — Method in class PhpHelper
print vars JsonHelper ::parse () — Method in class JsonHelper
JsonHelper ::parseFile () — Method in class JsonHelper
JsonHelper ::parseString () — Method in class JsonHelper
StrBuffer ::prepend () — Method in class StrBuffer
UrlHelper ::parseUrl () — Method in class UrlHelper
Cli ::parseArgv () — Method in class Cli
Parses $GLOBALS['argv'] for parameters and assigns them to an array. ProcessUtil — Class in namespace Toolkit\SysUtil
Class ProcessUtil $AopProxy #proxyMap — Property in class AopProxy
$DataProxy #proxies — Property in class DataProxy
proxy list PhpDotEnv — Class in namespace Toolkit\Util
Class PhpDotEnv - local env read Pipeline — Class in namespace Toolkit\Util
Class Pipeline $AopProxyAwareTrait #proxyMap — Property in class AopProxyAwareTrait
要经过AOP代理的方法配置
e.g:
[
'XyzClass::methodBefore' => [handler0, handler1],
'XyzClass::methodAfter' => [handler2, handler3],
] AopProxyAwareTrait ::proxy () — Method in class AopProxyAwareTrait
Q
ProcessUtil ::quit () — Method in class ProcessUtil
exit R
ArrayHelper ::remove () — Method in class ArrayHelper
remove the $key of the $arr, and return value. Collection ::reset () — Method in class Collection
Collection ::read () — Method in class Collection
CollectionInterface ::replace () — Method in class CollectionInterface
CollectionInterface ::remove () — Method in class CollectionInterface
FixedArray ::reset () — Method in class FixedArray
reset LiteCollection ::replace () — Method in class LiteCollection
LiteCollection ::reject () — Method in class LiteCollection
LiteCollection ::remove () — Method in class LiteCollection
SimpleCollection ::replace () — Method in class SimpleCollection
Add item to collection SimpleCollection ::reject () — Method in class SimpleCollection
SimpleCollection ::remove () — Method in class SimpleCollection
Remove item from collection CallableResolver ::resolve () — Method in class CallableResolver
Resolve toResolve into a closure that that the router can dispatch. CallableResolverAwareTrait ::resolveCallable () — Method in class CallableResolverAwareTrait
Resolve a string of the format 'class:method' into a closure that the
router can dispatch. Container ::registerServiceProvider () — Method in class Container
注册服务提供者(可能含有多个服务) Container ::registerServiceProviders () — Method in class Container
Container ::raw () — Method in class Container
Container ::resolveAlias () — Method in class Container
DIManager ::reset () — Method in class DIManager
reset NameAliasTrait ::resolveAlias () — Method in class NameAliasTrait
ServiceProviderInterface ::register () — Method in class ServiceProviderInterface
注册一项服务(可能含有多个服务)提供者到容器中 DevController ::runGitSubtree () — Method in class DevController
FileFinder ::rewind () — Method in class FileFinder
FileSystem ::rename () — Method in class FileSystem
Renames a file or a directory. ReadTrait — Class in namespace Toolkit\FileUtil
Class Read ReadTrait ::readAllLine () — Method in class ReadTrait
ReadTrait ::readLines () — Method in class ReadTrait
getLines 获取文件一定范围内的内容 ReadTrait ::readSymmetry () — Method in class ReadTrait
symmetry 得到当前行对称上下几($lineNum)行的内容 ReadTrait ::readRangeLines () — Method in class ReadTrait
AutoLoader ::register () — Method in class AutoLoader
Registers this instance as an autoloader. PhpHelper ::runtime () — Method in class PhpHelper
获取资源消耗 StringHelper ::regexVerify () — Method in class StringHelper
使用正则验证数据 StringHelper ::random () — Method in class StringHelper
********************** 生成一定长度的随机字符串函数 ********************** $UrlHelper #replacements — Property in class UrlHelper
Cli ::renderColor () — Method in class Cli
Cli ::read () — Method in class Cli
ProcessUtil ::run () — Method in class ProcessUtil
run a command. it is support windows ProcessUtil ::runInBackground () — Method in class ProcessUtil
run a command in background Sys ::runCommand () — Method in class Sys
Method to execute a command in the sys
Uses :
1. system
2. passthru
3. exec
4. shell_exec Pipeline ::run () — Method in class Pipeline
{@inheritdoc} AopProxyAwareTrait ::register () — Method in class AopProxyAwareTrait
S
ArrayHelper ::setByPath () — Method in class ArrayHelper
setByPath ArrayHelper ::set () — Method in class ArrayHelper
Set an array item to a given value using "dot" notation. ArrayHelper ::shuffle () — Method in class ArrayHelper
Shuffle the given array and return the result. AryBuffer ::setBody () — Method in class AryBuffer
AryBuffer ::setDelimiter () — Method in class AryBuffer
$Collection #separator — Property in class Collection
Property separator. Collection ::set () — Method in class Collection
set config value by path Collection ::setSeparator () — Method in class Collection
Collection ::setName () — Method in class Collection
setName CollectionInterface ::set () — Method in class CollectionInterface
Configuration ::set () — Method in class Configuration
set config value by path Configuration ::setMode () — Method in class Configuration
Configuration ::setReadonly () — Method in class Configuration
Configuration ::setFormat () — Method in class Configuration
Configuration ::setFolderPath () — Method in class Configuration
FixedArray ::setKeys () — Method in class FixedArray
FixedArray ::setValues () — Method in class FixedArray
Language ::set () — Method in class Language
Language ::setLang () — Method in class Language
Language ::setLangs () — Method in class Language
Language ::setBasePath () — Method in class Language
Language ::setLangFiles () — Method in class Language
Language ::setFallbackLang () — Method in class Language
Language ::setFormat () — Method in class Language
Language ::setSeparator () — Method in class Language
Language ::setIgnoreError () — Method in class Language
LiteCollection ::set () — Method in class LiteCollection
SimpleCollection — Class in namespace Toolkit\Collection
Collection
This class provides a common interface used by many other
classes in a Inhere\Library application that manage "collections"
of data that must be inspected and/or manipulated SimpleCollection ::set () — Method in class SimpleCollection
Set collection item SimpleCollection ::sets () — Method in class SimpleCollection
SimpleCollection ::serialize () — Method in class SimpleCollection
Container ::set () — Method in class Container
在容器注册服务(详细的参数信息请查看README.md) Container ::sets () — Method in class Container
通过设置配置的多维数组 注册多个服务. 服务详细设置请看{see self::set()} Container ::setParent () — Method in class Container
Method to set property parent DIManager ::setDefaultGroup () — Method in class DIManager
setProfile NameAliasTrait ::setAliases () — Method in class NameAliasTrait
Service — Class in namespace Toolkit\DI
Class Service Service ::setCallback () — Method in class Service
Service ::setArguments () — Method in class Service
给服务设置参数,在获取服务实例前 Service ::setLocked () — Method in class Service
Service ::setShared () — Method in class Service
ServiceProviderInterface — Class in namespace Toolkit\DI
Interface InterfaceServiceProvider DataParserAwareTrait ::setParser () — Method in class DataParserAwareTrait
JsonParser ::setAssoc () — Method in class JsonParser
SwooleParser — Class in namespace Toolkit\DataParser
Class SwooleParser Directory ::simpleInfo () — Method in class Directory
获得目录下的文件,可选择类型、是否遍历子文件夹 File ::save () — Method in class File
save description File ::stripPhpCode () — Method in class File
Removes whitespace from a PHP source string while preserving line numbers. ModifyWatcher ::setIdFile () — Method in class ModifyWatcher
SetPropertyException — Class in namespace Toolkit\ObjUtil\Exception
Class SetPropertyException Obj ::singleton () — Method in class Obj
ObjectHelper ::smartConfigure () — Method in class ObjectHelper
ObjectHelper ::setAttrs () — Method in class ObjectHelper
给对象设置属性值 ObjectHelper ::smartCreate () — Method in class ObjectHelper
SingletonTrait — Class in namespace Toolkit\ObjUtil\Traits
Trait SingletonTrait StdObjectTrait — Class in namespace Toolkit\ObjUtil\Traits
Class StdObjectTrait StdObjectTrait ::spaceName () — Method in class StdObjectTrait
get called class namespace AutoLoader ::setFiles () — Method in class AutoLoader
AutoLoader ::setPsr4Map () — Method in class AutoLoader
AutoLoader ::setClassMap () — Method in class AutoLoader
PhpEnv ::setStrict () — Method in class PhpEnv
setStrict PhpEnv ::setMuted () — Method in class PhpEnv
setMuted HtmlHelper ::stripImages () — Method in class HtmlHelper
Strip img-tags from string HtmlHelper ::stripIframes () — Method in class HtmlHelper
Strip iframe-tags from string HtmlHelper ::stripScript () — Method in class HtmlHelper
stripScript HtmlHelper ::stripStyle () — Method in class HtmlHelper
stripStyle JsonHelper ::saveAs () — Method in class JsonHelper
Str — Class in namespace Toolkit\StrUtil
Class Str
alias of the StringHelper StrBuffer — Class in namespace Toolkit\StrUtil
Class StrBuffer StrBuffer ::setBody () — Method in class StrBuffer
StringHelper — Class in namespace Toolkit\StrUtil
Class StringHelper StringHelper ::strlen () — Method in class StringHelper
StringHelper ::strtolower () — Method in class StringHelper
StringHelper ::strtoupper () — Method in class StringHelper
StringHelper ::substr () — Method in class StringHelper
StringHelper ::strpos () — Method in class StringHelper
StringHelper ::strrpos () — Method in class StringHelper
StringHelper ::str2array () — Method in class StringHelper
var_dump(str2array('34,56,678, 678, 89, ')); StringHelper ::split2Array () — Method in class StringHelper
Cli ::stdout () — Method in class Cli
Logs data to stdout Cli ::stderr () — Method in class Cli
Logs data to stderr $ProcessUtil #signalMap — Property in class ProcessUtil
ProcessUtil ::stopWorkers () — Method in class ProcessUtil
Stops all running children ProcessUtil ::sendSignal () — Method in class ProcessUtil
send signal to the process ProcessUtil ::setName () — Method in class ProcessUtil
Set process title. ProcessUtil ::setTitle () — Method in class ProcessUtil
Set process title. Sys — Class in namespace Toolkit\SysUtil
Class Sys SysEnv — Class in namespace Toolkit\SysUtil
Class EnvHelper DataProxy ::setProxy () — Method in class DataProxy
DataProxy ::setProxies () — Method in class DataProxy
DataResult ::setValue () — Method in class DataResult
AopProxyAwareTrait ::setProxyMap () — Method in class AopProxyAwareTrait
T
ArrayHelper ::toIterator () — Method in class ArrayHelper
ArrayHelper ::toObject () — Method in class ArrayHelper
array data to object ArrayHelper ::toString () — Method in class ArrayHelper
array 递归 转换成 字符串 ArrayHelper ::toStringNoKey () — Method in class ArrayHelper
ArrayHelper ::toFormatString () — Method in class ArrayHelper
ArrayHelper ::toLimitOut () — Method in class ArrayHelper
AryBuffer ::toString () — Method in class AryBuffer
Collection ::toObject () — Method in class Collection
$JsonMessage #time — Property in class JsonMessage
JsonMessage ::toArray () — Method in class JsonMessage
Language ::t () — Method in class Language
{@inheritdoc} Language ::tl () — Method in class Language
{@inheritdoc} Language ::trans () — Method in class Language
{@inheritdoc} Language ::translate () — Method in class Language
how to use language translate ? please see '/doc/language.md' Language ::transByFallbackLang () — Method in class Language
SimpleCollection ::toArray () — Method in class SimpleCollection
ReadTrait ::tail () — Method in class ReadTrait
读取文件的最后几行(支持大文件读取) ObjectHelper ::toArray () — Method in class ObjectHelper
php对象转换成为数组 PhpError ::toArray () — Method in class PhpError
$lastError = error_get_last(); PhpException ::toString () — Method in class PhpException
PhpException ::toHtml () — Method in class PhpException
Converts an exception into a simple string. PhpException ::toArray () — Method in class PhpException
Converts an exception into a simple array. PhpException ::toJson () — Method in class PhpException
Converts an exception into a json string. StrBuffer ::toString () — Method in class StrBuffer
StringHelper ::toArray () — Method in class StringHelper
StringHelper ::truncate () — Method in class StringHelper
StringHelper ::truncate_two () — Method in class StringHelper
字符截断输出 StringHelper ::truncateString () — Method in class StringHelper
Copied from CakePHP String utility file StringHelper ::toCamel () — Method in class StringHelper
StringHelper ::toCamelCase () — Method in class StringHelper
Translates a string with underscores into camel case (e.g. first_name -> firstName) StringHelper ::toSnake () — Method in class StringHelper
StringHelper ::toSnakeCase () — Method in class StringHelper
Transform a CamelCase string to underscore_case string U
SimpleCollection ::unserialize () — Method in class SimpleCollection
ObjectPoolTrait ::use () — Method in class ObjectPoolTrait
AutoLoader ::unRegister () — Method in class AutoLoader
Un-registers this instance as an autoloader. HtmlHelper ::unescap () — Method in class HtmlHelper
去掉html转义 StringHelper ::utf8SubStr () — Method in class StringHelper
StringHelper ::ucfirst () — Method in class StringHelper
StringHelper ::ucwords () — Method in class StringHelper
UrlHelper — Class in namespace Toolkit\StrUtil
Class UrlHelper V
ArrayHelper ::valueTrim () — Method in class ArrayHelper
清理数组值的空白 ArrayHelper ::valueToLower () — Method in class ArrayHelper
ArrayHelper ::valueToUpper () — Method in class ArrayHelper
ArrayHelper ::valueExistsAll () — Method in class ArrayHelper
******* 检查 一个或多个值是否全部存在数组中 *******
有一个不存在即返回 false ArrayHelper ::valueExistsOne () — Method in class ArrayHelper
******* 检查 一个或多个值是否存在数组中 *******
有一个存在就返回 true 都不存在 return false $FixedArray #values — Property in class FixedArray
$DataResult #value — Property in class DataResult
W
ArrayHelper ::where () — Method in class ArrayHelper
Filter the array using the given callback. ArrayHelper ::wrap () — Method in class ArrayHelper
If the given value is not an array, wrap it in one. AryBuffer ::write () — Method in class AryBuffer
File ::write () — Method in class File
File ::writeToFile () — Method in class File
Attempts to write $content to the file specified by $handler. $path is used for printing exceptions. ModifyWatcher ::watch () — Method in class ModifyWatcher
ModifyWatcher ::watchDir () — Method in class ModifyWatcher
alias of the watch() StrBuffer ::write () — Method in class StrBuffer
StringHelper ::wordFormat () — Method in class StringHelper
格式化,用空格分隔各个词组 Cli ::write () — Method in class Cli
write message to console ProcessUtil ::wait () — Method in class ProcessUtil
wait child exit. Z
StringHelper ::zhSubStr () — Method in class StringHelper
_
AryBuffer ::__construct () — Method in class AryBuffer
constructor. AryBuffer ::__toString () — Method in class AryBuffer
ActiveData ::__construct () — Method in class ActiveData
ActiveData constructor. ActiveData ::__isset () — Method in class ActiveData
ActiveData ::__set () — Method in class ActiveData
ActiveData ::__get () — Method in class ActiveData
Collection ::__construct () — Method in class Collection
__construct Collection ::__clone () — Method in class Collection
Configuration ::__construct () — Method in class Configuration
__construct FixedArray ::__construct () — Method in class FixedArray
FixedArray constructor. FixedArray ::__isset () — Method in class FixedArray
FixedArray ::__set () — Method in class FixedArray
FixedArray ::__get () — Method in class FixedArray
JsonMessage ::__construct () — Method in class JsonMessage
JsonMessage constructor. JsonMessage ::__toString () — Method in class JsonMessage
JsonMessage ::__isset () — Method in class JsonMessage
JsonMessage ::__set () — Method in class JsonMessage
JsonMessage ::__get () — Method in class JsonMessage
Language ::__get () — Method in class Language
Allow quick access default file translate by $lang->key
,
is equals to $lang->tl('key')
. Language ::__isset () — Method in class Language
Language ::__set () — Method in class Language
Language ::__call () — Method in class Language
Allow quick access default file translate by $lang->key()
,
is equals to $lang->tl('key')
. LiteCollection ::__construct () — Method in class LiteCollection
Create new collection SimpleCollection ::__construct () — Method in class SimpleCollection
Create new collection SimpleCollection ::__destruct () — Method in class SimpleCollection
SimpleCollection ::__get () — Method in class SimpleCollection
SimpleCollection ::__set () — Method in class SimpleCollection
SimpleCollection ::__isset () — Method in class SimpleCollection
CallableResolver ::__construct () — Method in class CallableResolver
Container ::__construct () — Method in class Container
Container constructor. Container ::__destruct () — Method in class Container
Container ::__isset () — Method in class Container
Container ::__set () — Method in class Container
Container ::__get () — Method in class Container
Service ::__construct () — Method in class Service
Service constructor. Service ::__destruct () — Method in class Service
__destruct JsonParser ::__construct () — Method in class JsonParser
JsonParser constructor. MsgPackParser ::__construct () — Method in class MsgPackParser
class constructor. SwooleParser ::__construct () — Method in class SwooleParser
class constructor. FileFinder ::__construct () — Method in class FileFinder
ModifyWatcher ::__construct () — Method in class ModifyWatcher
ModifyWatcher constructor. PropertyAccessByGetterSetterTrait ::__isset () — Method in class PropertyAccessByGetterSetterTrait
PropertyAccessByGetterSetterTrait ::__unset () — Method in class PropertyAccessByGetterSetterTrait
PropertyAccessByGetterSetterTrait ::__set () — Method in class PropertyAccessByGetterSetterTrait
PropertyAccessByGetterSetterTrait ::__get () — Method in class PropertyAccessByGetterSetterTrait
StdObjectTrait ::__construct () — Method in class StdObjectTrait
StdObject constructor. StdObjectTrait ::__call () — Method in class StdObjectTrait
StdObjectTrait ::__callStatic () — Method in class StdObjectTrait
StrBuffer ::__construct () — Method in class StrBuffer
StrBuffer ::__toString () — Method in class StrBuffer
AopProxy ::__construct () — Method in class AopProxy
AopProxy constructor. DataProxy ::__construct () — Method in class DataProxy
DataProxy ::__call () — Method in class DataProxy
DataResult ::__construct () — Method in class DataResult
DeferredResult constructor. DeferredCallable ::__construct () — Method in class DeferredCallable
DeferredMiddleware constructor. DeferredCallable ::__invoke () — Method in class DeferredCallable
PhpDotEnv ::__construct () — Method in class PhpDotEnv
constructor. Pipeline ::__construct () — Method in class Pipeline
Pipeline ::__invoke () — Method in class Pipeline
{@inheritdoc} AopProxyAwareTrait ::__call () — Method in class AopProxyAwareTrait
AopProxyAwareTrait ::__invoke () — Method in class AopProxyAwareTrait