22 if ( $soxId !=
"-1" && isset( $soxId)) {
24 $oNewsletter =
oxNew(
"oxnewsletter" );
25 $oNewsletter->load( $soxId);
26 $this->_aViewData[
"edit"] = $oNewsletter;
30 $this->_aViewData[
"editor"] = $this->
_generateTextEditor(
"100%", 255, $oNewsletter,
"oxnewsletter__oxtemplate");
32 return "newsletter_main.tpl";
48 $aParams[
'oxnewsletter__oxshopid'] = $sShopID;
50 $oNewsletter =
oxNew(
"oxnewsletter" );
52 $oNewsletter->load( $soxId);
54 $aParams[
'oxnewsletter__oxid'] = null;
56 $oNewsletter->assign( $aParams);