承接 qbus/qbtools 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

qbus/qbtools

最新稳定版本:4.0.1

Composer 安装命令:

composer require qbus/qbtools

包简介

Basic tools for other qbus extensions

README 文档

README

Build Status Coverage Status Scrutinizer Code Quality

Introduction

This extension provides a set of ViewHelpers and Hooks that are used to implement TYPO3 based websites by Qbus.

Some ViewHelpers (like qbtools:fetch or qbtools:fal) are not meant to be used as preferred solution, but are rather available when a proper implementation (using repository classes) is not possible – e.g. when data needs to be retrieved from the database in a template of a generic community extension.

Usage

$ composer require qbus/qbtools:^3.0

Quick Example

{namespace qbtools=Qbus\Qbtools\ViewHelpers}

<!-- Fetch (top) blog posts of some Extbase model and display using
     a partial of some (external) extension. -->
<qbtools:fetch model="Vendor\\MyBlog\\Domain\\Model\\Post" match="{top: 1}" as="posts">
    <f:for each="{posts}" as="post">
        <qbtools:renderExternal partial="Blog/Teaser" extensionName="MyBlog" arguments="{post: post}"/>
    </f:for>
</qbtools:fetch>


<!-- Render content from page with uid 340 -->
<qbtools:renderContent pid="340"/>

<!-- Render colPos 1 content from page with uid 340 -->
<qbtools:renderContent pid="340" colpos="1" />

<!-- Render content element with uid 230 -->
<qbtools:renderContent uid="230"/>


<!-- Quick an dirty call to a PHP function -->
<qbtools:call func="str_replace" params="{0: '_', 1: ' ', 2: 'foo_bar'}" as="result">
  <!-- will print 'foo bar' -->
  {result}
</qbtools:call>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2023-11-27