Skip to content

networkteam/Networkteam.Neos.Util

Repository files navigation

Networkteam.Neos.Util

Versions

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

About

Common utilities for Neos projects [Read-only mirror]

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages