定制 studiobonito/silverstripe-publishable 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2013-02-21