|
UNA
|
Public Member Functions | |
| __construct ($oModule) | |
| setAjaxMode ($bAjaxMode) | |
| setValidMode ($bValidMode) | |
| 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) | |
| editData ($iContentId, $aValues, $sDisplay=false) | |
| 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()) | |
| prepareResponseAPI ($sType, $mixedData, $aParams=[]) | |
| _setAbsoluteActionUrl ($sType, &$oForm) | |
| _getRedirectFromContext ($sAction, $aContentInfo) | |
| Protected Member Functions inherited from BxDolProfileForms | |
| __construct () | |
| _redirectAndExit ($sUrl, $isPermalink=true, $aMarkers=false) | |
| _replaceMarkers ($mixed, $aMarkers) | |
Protected Attributes | |
| $_oModule | |
| $_bIsApi | |
| $_bDynamicMode | |
| $_bAjaxMode | |
| $_bValidMode | |
| $_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 |
Reimplemented in BxBaseModProfileFormsEntryHelper, and BxCnvFormsEntryHelper.
| BxBaseModGeneralFormsEntryHelper::editData | ( | $iContentId, | |
| $aValues, | |||
| $sDisplay = false ) |
| BxBaseModGeneralFormsEntryHelper::redirectAfterAdd | ( | $aContentInfo, | |
| $sUrl = '' ) |
|
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.
|
protected |
'Valid Mode' allows to create content even if some fields values didn't pass checking. It's needed when content was created with a service call. For example, automatic profile creation after join.