20 $this->_aViewData[
'edit'] = $oCategory =
oxNew(
'oxcategory' );
23 if ( $soxId !=
"-1" && isset( $soxId)) {
27 if (!isset($iCatLang))
30 $this->_aViewData[
"catlang"] = $iCatLang;
32 $oCategory->loadInLang( $iCatLang, $soxId );
36 $oLang=
new stdClass();
37 $oLang->sLangDesc = $language;
39 $this->_aViewData[
"otherlang"][$id] = clone $oLang;
43 $this->_aViewData[
"editor"] = $this->
_generateTextEditor(
"100%", 300, $oCategory,
"oxcategories__oxlongdesc",
"list.tpl.css");
45 return "category_text.tpl";
62 $oCategory =
oxNew(
"oxcategory" );
64 $iCatLang = $iCatLang ? $iCatLang : 0;
66 if ( $soxId !=
"-1" ) {
67 $oCategory->loadInLang( $iCatLang, $soxId );
69 $aParams[
'oxcategories__oxid'] = null;
73 $oCategory->setLanguage(0);
74 $oCategory->assign( $aParams );
75 $oCategory->setLanguage( $iCatLang );