21 $this->_aViewData[
'edit'] = $oCategory =
oxNew(
'oxcategory');
24 if ($soxId !=
"-1" && isset($soxId)) {
28 if (!isset($iCatLang)) {
32 $this->_aViewData[
"catlang"] = $iCatLang;
34 $oCategory->loadInLang($iCatLang, $soxId);
38 $oLang =
new stdClass();
39 $oLang->sLangDesc = $language;
41 $this->_aViewData[
"otherlang"][$id] = clone $oLang;
45 $this->_aViewData[
"editor"] = $this->
_generateTextEditor(
"100%", 300, $oCategory,
"oxcategories__oxlongdesc",
"list.tpl.css");
47 return "category_text.tpl";
64 $oCategory =
oxNew(
"oxcategory");
66 $iCatLang = $iCatLang ? $iCatLang : 0;
69 $oCategory->loadInLang($iCatLang, $soxId);
71 $aParams[
'oxcategories__oxid'] = null;
75 $oCategory->setLanguage(0);
76 $oCategory->assign($aParams);
77 $oCategory->setLanguage($iCatLang);