定制 weboftalent/prevnextsibling 二次开发

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

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

weboftalent/prevnextsibling

Composer 安装命令:

composer require weboftalent/prevnextsibling

包简介

Helper method and template to allow previous and next sibling integration easily

README 文档

README

Module CIScrutinizer Code Quality Code Coverage Build Status codecov.io

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads

codecov.io

Maintainers

Introduction

This module provides convenience methods for previous and next siblings of a common parent. It is used for paging through a list of children items.

Installation

composer require "weboftalent/prev-next-sibling"

Usage

Previous Sibling

In a template call $PreviousSibling

<% with $PreviousSibling %><a href="$Link">$Title</a><% end_with %>

If there is no previous sibling the result will be blank and nothing will render.

NextSibling

In a template call $NextSibling

<% with $NextSibling %><a href="$Link">$Title</a><% end_with %>

If there is no next sibling the result will be blank and nothing will render.

##Requirements

  • SilverStripe 4

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-01-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固