TSRef - TypoScript Reference

3.1.3. "... /stdWrap":

When a datatype is set to "type /stdWrap" it means that the value is parsed through the stdWrap function with the properties of the value as parameters.

Example:

pixels /stdWrap:    Here the value should be set to pixels and parsed through stdWrap.

In a real application we could do like this:

  .pixels.field = imagewidth
  .pixels.intval = 1

 

This example imports the value from the field "imagewidht" of the current $cObj->data-array. But we don't trust the result to be an integer so we parse it through the the intval()-function.


Valid XHTML 1.0!