studiobonito/silverstripe-publishable
最新稳定版本:1.3.1
Composer 安装命令:
composer require studiobonito/silverstripe-publishable
包简介
Publishable is a module for Silverstripe that provides a number of extensions that make enabling and managing versioning for DataObjects much simpler.
README 文档
README
This SilverStripe module is depreciated please consider using the
silverstripe-versioneddataobjects module instead.
Publishable Module
Overview
Publishable is a module for Silverstripe that provides a number of extensions that make enabling and managing versioning for DataObjects much simpler.
Requirements
SilverStripe 3.1 or newer.
Installation Instructions
Copy the 'publishable' folder to the root of your SilverStripe installation.
Usage Overview
Add the publishing actions to ExampleObject and make it versionable
ExampleObject::add_extension('Versioned("Stage", "Live")');
ExampleObject::add_extension('Publishable');
Replace GridField with PublishableGridField on ExampleModelAdmin
ExampleModelAdmin::add_extension('PublishableModelAdmin');
Create a new PublishableGridField to display the Example components
$publishableGridField = new PublishableGridField('Example', 'Example', $this->Example());
统计信息
- 总下载量: 71
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2013-02-21