tom-alexander/silverstripe-api
Composer 安装命令:
composer require tom-alexander/silverstripe-api
包简介
API controller and model serialization for silverstripe
README 文档
README
Usage
Use SerializableExtension to provide a model with the required serialization API.
FooPage:
extensions:
- SerializableExtension
FooPage extends Page
{
}
FooPage_Controller extends ApiController
{
}
You can specify the transformer or serializer for a particular model using the config:
FooPage:
transformer: MyCustomTransformer
serializer: MyCustomSerializer
Access control
Access control is implemented through the Member system
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-26