.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../../Includes.txt .. _developers_userfunc_controlling: ControllingUserfunc =================== User functions in context with plugin controlling. ForwardToSingleView ------------------- Returns true, if a list view should forwarded to a single view. .. code:: php 10 = USER 10 { userFunc = Netzmacher\Xblog\UserFunc\ControllingUserfunc->ForwardToSingleView showUid = {$plugin.tx_xblog.configuration.params.showUid} } Sample '''''' .. code:: php 10 = LOAD_REGISTER 10 { ForwardToSingleView { cObject = COA cObject { 10 = USER 10 { userFunc = Netzmacher\Xblog\UserFunc\ControllingUserfunc->ForwardToSingleView showUid = {$plugin.tx_xblog.configuration.params.showUid} } } } } RemoveShowUidFromSession ------------------------ Returns true, if a showUid - the id of a single view - should removed from the session. .. code:: php 10 = USER 10 { userFunc = Netzmacher\Xblog\UserFunc\ControllingUserfunc->RemoveShowUidFromSession showUid = {$plugin.tx_xblog.configuration.params.showUid} }