mvccore/ext-view-helper-linebreaks
Composer 安装命令:
composer require mvccore/ext-view-helper-linebreaks
包简介
MvcCore - Extension - View - Helper - Line Breaks - processing any visible text content for non-line breaking spaces.
关键字:
README 文档
README
MvcCore View Helper extension for processing any visible text content for non-line breaking spaces.
Spaces between digits like 9 999 are replaced into 9 999 automatically.
Installation
composer require mvccore/ext-view-helper-linebreaks
Configuration
You can configure to not break line:
- after any custom weak word (mostly conjunctions) by language
- inside custom text shortcuts (example: U. S.) by language
- between digits and it's configured units
Example
Template code:
<p><?php // Earth diameter: 6 378 km. (or 6 378 000 m) echo $this->LineBreaks( 'Earth diameter: 6 378 km (or 6 378 000 m).' ); ?></p>
统计信息
- 总下载量: 326
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-01-27