This project is no longer maintained and no further public releases are planned.

No further support will be given.

Feel free to fork the git repository.

Interceptor\StdWrap

With this interceptor you can use stdWrap functions on field values.

Version added

1.5.0

TypoScript path

plugin.Tx_Formhandler.settings.initInterceptors.x copy to clipboard

Example code

plugin.Tx_Formhandler.settings.initInterceptors.1.class =Interceptor\StdWrap
plugin.Tx_Formhandler.settings.initInterceptors.1.config.fieldConf {
  name.wrap = before|after
  name.hash = md5
  email = TEXT
  #email.value is automatically set
  email.trim = 1
  company = USER
  company.userFunc = user_myClass->doSomething
}

Properties

.fieldConf

Array containing options on which fields to call stdWrap on.

Scheme:
[fieldname] {
   [options]
}

Data type

Array

Version added

1.5.0

.fieldConf.[fieldConf]

Array containing stdWrap options.

Data type

Array

Version added

1.5.0