ControllingUserfunc

User functions in context with plugin controlling.

ForwardToSingleView

Returns true, if a list view should forwarded to a single view.

10 = USER
10 {
  userFunc = Netzmacher\Xblog\Userfunc\ControllingUserfunc->ForwardToSingleView
  showUid = {$plugin.tx_xblog.configuration.params.showUid}
}

Sample

10 = LOAD_REGISTER
10 {
  ForwardToSingleView {
    cObject = COA
    cObject {
      10 = USER
      10 {
        userFunc = Netzmacher\Xblog\Userfunc\ControllingUserfunc->ForwardToSingleView
        showUid < plugin.tx_xblog.lib.valueFromFlexform
        showUid {
          data = register:pi1__pi_flexform__settings_flexform_pi1_profile_showUid
          ifBlank.cObject.data = register:pi1__pi_flexform__settings_flexform_pi1_profile_showUid
          ifBlank.ifBlank = showUid
        }
      }
    }
  }
}

RemoveShowUidFromSession

Returns true, if a showUid - the id of a single view - should removed from the session.

10 = USER
10 {
  userFunc = Netzmacher\Xblog\Userfunc\ControllingUserfunc->RemoveShowUidFromSession
  showUid = {$plugin.tx_xblog.configuration.params.showUid}
}