AdminPageFramework_FieldType_submit::_checkConfirmationDisplayed PHP Méthode

_checkConfirmationDisplayed() private méthode

private _checkConfirmationDisplayed ( $aField, $sFlatFieldName, $sType = 'reset' )
    private function _checkConfirmationDisplayed($aField, $sFlatFieldName, $sType = 'reset')
    {
        switch ($sType) {
            default:
            case 'reset':
                $_sTransientKey = 'apf_rc_' . md5($sFlatFieldName . get_current_user_id());
                break;
            case 'email':
                $_sTransientKey = 'apf_ec_' . md5($sFlatFieldName . get_current_user_id());
                break;
        }
        $_bConfirmed = false === $this->getTransient($_sTransientKey) && !$aField['skip_confirmation'] ? false : true;
        if ($_bConfirmed) {
            $this->deleteTransient($_sTransientKey);
        }
        return $_bConfirmed;
    }