networkteam / neos-util
此软件包最新版本(8.0.5)没有提供许可证信息。
neos 的 networkteam 工具
8.0.5
2024-08-27 10:38 UTC
Requires
- neos/flow: *
- neos/media: *
- neos/neos: ^5.0 || ^7.0 || ^8.0
- dev-master
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.0.0
- 5.0.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.0
- 2.x-dev
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.0
- dev-htmlspecialchars-decode-helper
- dev-feature-uri-prototype
- dev-feature-entityTypeTag-caching-helper
- dev-add-quality-tools
- dev-fix-unit-tests
This package is auto-updated.
Last update: 2024-08-27 10:45:49 UTC
README
版本
- Neos
2.*
:~1.0
(在1.x
分支中开发) - Neos
3.*
:~2.0
(在2.x
分支中开发) - Neos
4.* / 5.* / 7.*
:~5.0
(在master
分支中开发)
融合对象
Networkteam.Neos.Util:ImageUriAndDimensions:**
参数
- asset (必需)
- width
- height
- maximumWidth
- maximumHeight
- allowCropping
- $allowUpScaling
返回包含图像 uri、宽度和高度的数组(键:src、width、height)
Networkteam.Neos.Util:ResourceUri (在 v 2.x 中不可用)
参数
- path
- localize
- cacheBuster
返回缓存破坏的资源 uri
视图助手
SanitizedIdViewHelper
参数
- string
从给定的字符串中返回 ID(不保持唯一性)
StrftimeViewHelper
参数
- date
- format
返回本地格式化的日期时间
Eel 助手
Networkteam.Neos.Util.Caching.entityTags
参数
- entities
- prefix
返回给定实体前缀的缓存条目数组
Networkteam.Neos.Util.String.nl2br
参数
- string (必需)
- is_xhtml
将换行符转换为 <br />
标签