networkteam/neos-util

Last activity on 11 November 2019
  • 1843
composer require networkteam/neos-util

networkteam utils for neos

5.0.0

networkteam utils for neos

Version
5.0.0
Type
neos-package
Release Date
Nov 29, 2019 2:50:47 p.m.
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
ef24efdfd9c71dc22278c4cf87d20dff7ece283c

Networkteam.Neos.Util

Versions

  • Neos 3.*: ~2.0 (Development in master Branch)
  • Neos 2.*: ~1.0 (Development in 1.x 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

The content of the readme is provided by Github
The same vendor provides 13 package(s).