i-lateral/silverstripe-middleman 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

i-lateral/silverstripe-middleman

Composer 安装命令:

composer require i-lateral/silverstripe-middleman

包简介

Provide CMS functionality to Framework modules

README 文档

README

Module that acts as a connector for framework only modules, allowing them to benefit from CMS Code (such as $SiteConfig, $Menu etc).

This is intended to help with framework only modules that might be added to a CMS installed site.

Usage

Currently this module is designed to allow you to provide additional functionality to your controllers by providing Content Controller methods via an extension class.

You can add these methods by extending your controller, either in _config.php

Your_Controller::add_extension("Middleman_Controller");

Or in your config.yml

Your_Controller:
  extensions:
    - Middleman_Controller

统计信息

  • 总下载量: 755
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 6

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-01-29