Download the PHP package uniondrug/common without Composer
On this page you can find all versions of the php package uniondrug/common. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package common
uniondrug/common 框架通用功能
- 安装
- 目录结构
- 微服务用法
- 微服务客户端
- 如何使用服务端
- 单元测试
安装
目录结构
微服务用法
Helpers
Interfaces
Services
Service继承, 基于接口
RelateChildInterface
、RelateFetchInterface
、RelateWriteInterface
、SingleChildInterface
、SingleFetchInterface
、SingleWriteInterface
预定义的通用Service。
-
Phalcon\Di\Injectable{}
__get()
getDI()
getEventsManager()
setDI()
setEventsManager()
-
Pails\Services\FrameworkService{}
fetchAll()
- 按条件读取全部fetchCount()
- 按条件读取数量fetchOne()
- 按条件读取一条fetchPaging()
- 按条件读取分页getAutoIncrementColumn()
- 读取模型的流水号ID字段名称getError()
- 读取最的的错误getErrorMessage()
- 读取最近的错误原因getModel()
- 读取Service对应的ModelhasError()
- 检查是否有错误setError()
- 设置最近的错误setModel()
- 设置Service对应的Model, 若不指定则自动识别
-
Pails\Services\SingleService{}
delete()
- 批量删除deleteById()
- 按ID删除fetchAllByColumn()
- 按指定字段读取全部fetchOneByColumn()
- 按指定字段读取一条fetchOneById()
- 按ID读取一条insert()
- 添加新记录update()
- 修改记录updateById()
- 按记录ID修改
-
Pails\Services\SingleChildService{}
fetchChild()
- 读取一条下级记录fetchChildren()
- 读取下级记录列表fetchTree()
- 读取树形结构hasChild()
- 检查是否有下级记录
-
Pails\Services\RelateService{}
delete()
- 批量删除deleteById()
- 按ID删除fetchAllByColumn()
- 按指定字段读取全部fetchOneByColumn()
- 按指定字段读取一条fetchOneById()
- 按ID读取一条insert()
- 添加新记录update()
- 修改记录updateById()
- 按记录ID修改
- Pails\Services\RelateChildService{}
fetchChild()
- 读取一条下级记录fetchChildren()
- 读取下级记录列表fetchTree()
- 读取树形结构hasChild()
- 检查是否有下级记录
All versions of common with dependencies
PHP Build Version
Package Version
Requires
uniondrug/framework Version
^2.0
The package uniondrug/common contains the following files
Loading the files please wait ....