networkteam / neos-util
networkteam utils for neos
Installs: 12 788
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:neos-package
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-feature-uri-prototype
- dev-feature-entityTypeTag-caching-helper
- dev-add-quality-tools
- dev-fix-unit-tests
This package is auto-updated.
Last update: 2024-11-27 11:17:14 UTC
README
Versions
- Neos
2.*
:~1.0
(Development in1.x
Branch) - Neos
3.*
:~2.0
(Development in2.x
Branch) - Neos
4.* / 5.* / 7.*
:~5.0
(Development inmaster
Branch)
Fusion Objects
Networkteam.Neos.Util:ImageUriAndDimensions:**
Params:
- asset (required)
- width
- height
- maximumWidth
- maximumHeight
- allowCropping
- $allowUpScaling
Returns Array with Image uri, width and height (Keys: src, width, height)
Networkteam.Neos.Util:ResourceUri (not working in v 2.x)
Params:
- path
- localize
- cacheBuster
Returns Cachebusted Resource Uri
ViewHelper
SanitizedIdViewHelper
Params:
- string
Returns ID from given string (does not maintain uniqueness)
StrftimeViewHelper
Params:
- date
- format
Returns locally formatted DateTime
Eel Helper
Networkteam.Neos.Util.Caching.entityTags
Params:
- entities
- prefix
Returns array of prefixed caching entries for given entities
Networkteam.Neos.Util.String.nl2br
Params:
- string (required)
- is_xhtml
Converts line breaks to <br />
Tags