UNA
|
Public Member Functions | |
__construct ($oModule) | |
setAjaxMode ($bAjaxMode) | |
setAbsoluteActionUrl ($bAbsoluteActionUrl) | |
setContextId ($mixedContextId) | |
setDynamicMode ($bDynamicMode) | |
getObjectStorage () | |
getObjectFormAdd ($sDisplay=false) | |
getObjectFormEdit ($sDisplay=false) | |
getObjectFormView ($sDisplay=false) | |
getObjectFormDelete ($sDisplay=false) | |
viewDataEntry ($iContentId) | |
addData ($iProfile, $aValues, $sDisplay=false) | |
addDataForm ($sDisplay=false, $sCheckFunction=false) | |
redirectAfterAdd ($aContentInfo, $sUrl='') | |
editDataForm ($iContentId, $sDisplay=false, $sCheckFunction=false, $bErrorMsg=true) | |
deleteDataForm ($iContentId, $sDisplay=false, $sCheckFunction=false) | |
deleteData ($iContentId, $aContentInfo=false, $oProfile=null, $oForm=null) | |
viewDataForm ($iContentId, $sDisplay=false) | |
onDataDeleteAfter ($iContentId, $aContentInfo, $oProfile) | |
onDataEditBefore ($iContentId, $aContentInfo, &$aTrackTextFieldsChanges, &$oProfile, &$oForm) | |
onDataEditAfter ($iContentId, $aContentInfo, $aTrackTextFieldsChanges, $oProfile, $oForm) | |
onDataAddAfter ($iAccountId, $iContentId) | |
Protected Member Functions | |
redirectAfterEdit ($aContentInfo, $sUrl='') | |
redirectAfterDelete ($aContentInfo) | |
_processPermissionsCheckForViewDataForm ($aContentInfo, $oProfile) | |
prepareCustomRedirectUrl ($s, $aContentInfo) | |
prepareResponse ($mixedResponse, $bAsJson=false, $sKey='msg', $aAdditional=array()) | |
_setAbsoluteActionUrl ($sType, &$oForm) | |
Protected Member Functions inherited from BxDolProfileForms | |
__construct () | |
_redirectAndExit ($sUrl, $isPermalink=true, $aMarkers=false) | |
_replaceMarkers ($mixed, $aMarkers) | |
Protected Attributes | |
$_oModule | |
$_bIsApi | |
$_bDynamicMode | |
$_bAjaxMode | |
$_bAbsoluteActionUrl | |
$_mixedContextId | |
Entry forms helper functions
BxBaseModGeneralFormsEntryHelper::deleteData | ( | $iContentId, | |
$aContentInfo = false, | |||
$oProfile = null, | |||
$oForm = null ) |
Delete data entry
$iContentId | entry id |
$oForm | optional content info array |
$aContentInfo | optional content info array |
$oProfile | optional content author profile |
deleted
content
- [array] by ref, content info array as key&value pairs, can be overridden in hook processing
Reimplemented in BxBaseModProfileFormsEntryHelper, and BxCnvFormsEntryHelper.
BxBaseModGeneralFormsEntryHelper::redirectAfterAdd | ( | $aContentInfo, | |
$sUrl = '' ) |
redirect_after_add
ajax_mode
- [boolean] dynamic loading is used or notcontent
- [array] content info array as key&value pairsoverride_result
- [string] by ref, redirect URL, can be overridden in hook processing
|
protected |
It's equivalent to '{module_name}', 'redirect_after_add' - hook to override redirect URL which is used after content creation except markers
parameter was added to $extra_params. It allows to override an array of markers, which can be parsed in URL.
|
protected |
It's equivalent to '{module_name}', 'redirect_after_add' - hook to override redirect URL which is used after content creation except ajax_mode
parameter in $extra_params is missing
Reimplemented in BxBaseModGroupsFormsEntryHelper.
|
protected |
Use absolute Action URL in generated form object. It's needed in Ajax Mode.
|
protected |
'Ajax Mode' determines the format of response. If it's TRUE the response (a form or an error appeared during form creation) should be returned as text during initial loading, while all other responses appeared after form submit should be arrays, which are ready to path to echoJson.