00001 <?php
00002
00009 class Article_Main extends oxAdminDetails
00010 {
00016 protected $_sSavedId = null;
00017
00024 public function render()
00025 {
00026 $myConfig = $this->getConfig();
00027 parent::render();
00028
00029 $this->_aViewData['edit'] = $oArticle = oxNew( 'oxarticle' );
00030
00031 $soxId = oxConfig::getParameter( "oxid" );
00032 $svoxId = oxConfig::getParameter( "voxid" );
00033 $soxparentId = oxConfig::getParameter( "oxparentid" );
00034
00035
00036 if ( isset( $svoxId ) && $svoxId == "-1" && isset($soxparentId) && $soxparentId && $soxparentId != "-1") {
00037 $oParentArticle = oxNew( "oxarticle");
00038 $oParentArticle->load( $soxparentId);
00039 $this->_aViewData["parentarticle"] = $oParentArticle;
00040 $this->_aViewData["oxparentid"] = $soxparentId;
00041
00042 $this->_aViewData["oxid"] = $soxId = "-1";
00043 }
00044
00045
00046 if ( $this->_sSavedId ) {
00047 $this->_aViewData["oxid"] = $soxId = $this->_sSavedId;;
00048
00049
00050 $this->_aViewData["updatelist"] = "1";
00051 }
00052
00053 if ( $soxId && $soxId != "-1") {
00054
00055
00056 $oArticle->loadInLang( $this->_iEditLang, $soxId );
00057
00058
00059
00060 $oOtherLang = $oArticle->getAvailableInLangs();
00061 if (!isset($oOtherLang[$this->_iEditLang])) {
00062
00063 $oArticle->loadInLang( key($oOtherLang), $soxId );
00064 }
00065
00066
00067 if ( $oArticle->oxarticles__oxparentid->value) {
00068 $oParentArticle = oxNew( "oxarticle");
00069 $oParentArticle->load( $oArticle->oxarticles__oxparentid->value);
00070 $this->_aViewData["parentarticle"] = $oParentArticle;
00071 $this->_aViewData["oxparentid"] = $oArticle->oxarticles__oxparentid->value;
00072 $this->_aViewData["issubvariant"] = 1;
00073 }
00074
00075
00076 $this->_formJumpList($oArticle, $oParentArticle );
00077
00078
00079 $oArticle->tags = $oArticle->getTags();
00080
00081 $aLang = array_diff (oxLang::getInstance()->getLanguageNames(), $oOtherLang);
00082 if ( count( $aLang))
00083 $this->_aViewData["posslang"] = $aLang;
00084
00085 foreach ( $oOtherLang as $id => $language) {
00086 $oLang= new oxStdClass();
00087 $oLang->sLangDesc = $language;
00088 $oLang->selected = ($id == $this->_iEditLang);
00089 $this->_aViewData["otherlang"][$id] = clone $oLang;
00090 }
00091 }
00092
00093 $this->_aViewData["editor"] = $this->_generateTextEditor( "100%", 300, $oArticle, "oxarticles__oxlongdesc", "details.tpl.css");
00094 $this->_aViewData["blUseTimeCheck"] = $myConfig->getConfigParam( 'blUseTimeCheck' );
00095
00096 return "article_main.tpl";
00097 }
00098
00104 public function save()
00105 {
00106 $myConfig = $this->getConfig();
00107 $myUtilsCount = oxUtilsCount::getInstance();
00108
00109 $soxId = oxConfig::getParameter( "oxid" );
00110 $aParams = oxConfig::getParameter( "editval" );
00111
00112
00113
00114 if ( !isset( $aParams['oxarticles__oxactive']))
00115 $aParams['oxarticles__oxactive'] = 0;
00116
00117
00118 $aParams = $this->addDefaultValues( $aParams);
00119
00120
00121 if ($aParams['oxarticles__oxvat'] === '')
00122 $aParams['oxarticles__oxvat'] = null;
00123
00124
00125 $soxparentId = oxConfig::getParameter( "oxparentid");
00126 if ( isset( $soxparentId) && $soxparentId && $soxparentId != "-1")
00127 $aParams['oxarticles__oxparentid'] = $soxparentId;
00128 else
00129 unset( $aParams['oxarticles__oxparentid']);
00130
00131 $oArticle = oxNew( "oxarticle");
00132
00133 $oArticle->setLanguage($this->_iEditLang);
00134 if ( $soxId != "-1")
00135 $oArticle->loadInLang( $this->_iEditLang, $soxId);
00136 else {
00137 $aParams['oxarticles__oxid'] = null;
00138 $aParams['oxarticles__oxissearch'] = 1;
00139 $aParams['oxarticles__oxstockflag'] = 1;
00140
00141 $sShopID = oxSession::getVar( "actshop");
00142 $aParams['oxarticles__oxshopid'] = $sShopID;
00143 }
00144
00145
00146 if ( isset( $aParams['oxarticles__oxartnum']) && strlen($aParams['oxarticles__oxartnum']) > 0 &&
00147 $myConfig->getConfigParam( 'blWarnOnSameArtNums' ) &&
00148 $oArticle->oxarticles__oxartnum->value != $aParams['oxarticles__oxartnum']
00149 ) {
00150 $sSelect = "select oxid from ".$oArticle->getCoreTableName();
00151 $sSelect .= " where oxartnum = '".$aParams['oxarticles__oxartnum']."'";
00152 $sSelect .= " and oxid != '".$aParams['oxarticles__oxid']."'";
00153 if ($oArticle->assignRecord( $sSelect ))
00154 $this->_aViewData["errorsavingatricle"] = 1;
00155 }
00156
00157
00158 if ( isset($aParams["oxarticles__oxprice"]) && $aParams["oxarticles__oxprice"] != $oArticle->oxarticles__oxprice->value) {
00159 $this->resetCounter( "priceCatArticle", $oArticle->oxarticles__oxprice->value );
00160 }
00161
00162 $aResetIds = array();
00163 if ( $aParams['oxarticles__oxactive'] != $oArticle->oxarticles__oxactive->value) {
00164
00165 $oDb = oxDb::getDb();
00166 $sQ = "select oxcatnid from oxobject2category where oxobjectid = ".$oDb->quote( $oArticle->oxarticles__oxid->value );
00167 $rs = $oDb->execute($sQ);
00168 if ( $rs !== false && $rs->recordCount() > 0 ) {
00169 while (!$rs->EOF) {
00170 $this->resetCounter( "catArticle", $rs->fields[0] );
00171 $rs->moveNext();
00172 }
00173 }
00174
00175
00176 $aResetIds['vendor'][$oArticle->oxarticles__oxvendorid->value] = 1;
00177 $aResetIds['manufacturer'][$oArticle->oxarticles__oxmanufacturerid->value] = 1;
00178 }
00179
00180
00181 if ( isset( $aParams["oxarticles__oxvendorid"] ) && $aParams["oxarticles__oxvendorid"] != $oArticle->oxarticles__oxvendorid->value ) {
00182 $aResetIds['vendor'][$aParams['oxarticles__oxvendorid']] = 1;
00183 $aResetIds['vendor'][$oArticle->oxarticles__oxvendorid->value] = 1;
00184 }
00185
00186
00187 if ( isset($aParams["oxarticles__oxmanufacturerid"]) && $aParams["oxarticles__oxmanufacturerid"] != $oArticle->oxarticles__oxmanufacturerid->value) {
00188 $aResetIds['manufacturer'][$aParams['oxarticles__oxmanufacturerid']] = 1;
00189 $aResetIds['manufacturer'][$oArticle->oxarticles__oxmanufacturerid->value] = 1;
00190 }
00191
00192
00193 $this->_resetCounts( $aResetIds );
00194
00195 $oArticle->setLanguage(0);
00196
00197
00198 $aParams['oxarticles__oxtitle'] = trim( $aParams['oxarticles__oxtitle'] );
00199
00200 $oArticle->assign( $aParams );
00201 $oArticle->setLanguage($this->_iEditLang);
00202
00203 $oArticle = oxUtilsFile::getInstance()->processFiles( $oArticle );
00204
00205 $oArticle->save();
00206
00207
00208 if ( $soxId == "-1") {
00209 $this->_sSavedId = $oArticle->getId();
00210
00211 $sFastCat = oxConfig::getParameter( "art_category");
00212
00213 if ( $sFastCat != "-1") {
00214 $oNew = oxNew( "oxbase");
00215 $oNew->init( "oxobject2category" );
00216 $oNew->oxobject2category__oxtime = new oxField(time());
00217 $oNew->oxobject2category__oxobjectid = new oxField($oArticle->getId());
00218 $oNew->oxobject2category__oxcatnid = new oxField($sFastCat);
00219
00220 $oNew->save();
00221
00222
00223 $this->resetCounter( "catArticle", $sFastCat );
00224 }
00225 }
00226
00227
00228 $this->_aViewData["updatelist"] = "1";
00229
00230
00231 $sTags = $aParams['tags'];
00232 if (!trim($sTags))
00233 $sTags = $oArticle->oxarticles__oxsearchkeys->value;
00234 $oArticle->saveTags($sTags);
00235 }
00236
00247 public function copyArticle( $sOldId = null, $sNewId = null, $sParentId = null )
00248 {
00249 $myConfig = $this->getConfig();
00250
00251 $sOldId = $sOldId?$sOldId:oxConfig::getParameter( 'oxid' );
00252 $sNewId = $sNewId?$sNewId:oxUtilsObject::getInstance()->generateUID();
00253
00254 $oArticle = oxNew( 'oxbase' );
00255 $oArticle->init( 'oxarticles' );
00256 if ( $oArticle->load( $sOldId ) ) {
00257
00258 if ( $myConfig->getConfigParam( 'blDisableDublArtOnCopy' ) ) {
00259 $oArticle->oxarticles__oxactive->setValue(0);
00260 $oArticle->oxarticles__oxactivefrom->setValue(0);
00261 $oArticle->oxarticles__oxactiveto->setValue(0);
00262 }
00263
00264
00265 if ( $sParentId ) {
00266 $oArticle->oxarticles__oxparentid->setValue($sParentId);
00267 }
00268
00269 $oArticle->setId( $sNewId );
00270 $oArticle->save();
00271
00272
00273 $this->_copyCategories( $sOldId, $sNewId );
00274
00275
00276 $this->_copyAttributes( $sOldId, $sNewId );
00277
00278
00279 $this->_copySelectlists( $sOldId, $sNewId );
00280
00281
00282 $this->_copyCrossseling( $sOldId, $sNewId );
00283
00284
00285 $this->_copyAccessoires( $sOldId, $sNewId );
00286
00287
00288 $this->_copyStaffelpreis( $sOldId, $sNewId );
00289
00290
00291 $this->_copyArtExtends( $sOldId, $sNewId);
00292
00293
00294 $aResetIds['vendor'][$oArticle->oxarticles__oxvendorid->value] = 1;
00295 $aResetIds['manufacturer'][$oArticle->oxarticles__oxmanufacturerid->value] = 1;
00296 $this->_resetCounts( $aResetIds );
00297
00298
00299 $myUtilsObject = oxUtilsObject::getInstance();
00300 $oDb = oxDb::getDb();
00301
00302
00303 $sQ = "select oxid from oxarticles where oxparentid = ".$oDb->quote( $sOldId );
00304 $rs = $oDb->execute($sQ);
00305 if ( $rs !== false && $rs->recordCount() > 0) {
00306 while ( !$rs->EOF ) {
00307 $this->copyArticle( $rs->fields[0], $myUtilsObject->generateUID(), $sNewId );
00308 $rs->moveNext();
00309 }
00310 }
00311
00312
00313 if ( !$sParentId ) {
00314
00315 $this->_sSavedId = $oArticle->getId();
00316
00317
00318 if ( $myConfig->getConfigParam( 'blWarnOnSameArtNums' ) &&
00319 $oArticle->oxarticles__oxartnum->value && oxConfig::getParameter( 'fnc' ) == 'copyArticle' ) {
00320 $sSelect = "select oxid from ".$oArticle->getCoreTableName()."
00321 where oxartnum = ".$oDb->quote( $oArticle->oxarticles__oxartnum->value )." and oxid != ".$oDb->quote( $sNewId );
00322
00323 if ( $oArticle->assignRecord( $sSelect ) ) {
00324 $this->_aViewData["errorsavingatricle"] = 1;
00325 }
00326 }
00327 }
00328 }
00329 }
00330
00339 protected function _copyCategories( $sOldID, $sNewID )
00340 {
00341 $myConfig = $this->getConfig();
00342 $myUtils = oxUtils::getInstance();
00343 $oActShop = $myConfig->getActiveShop();
00344 $myUtilsCount = oxUtilsCount::getInstance();
00345 $myUtilsObject = oxUtilsObject::getInstance();
00346 $oDb = oxDb::getDb();
00347
00348 $sO2CView = getViewName('oxobject2category');
00349 $sQ = "select oxcatnid, oxtime from $sO2CView where oxobjectid = ".$oDb->quote( $sOldID );
00350 $rs = $oDb->execute($sQ);
00351 if ($rs !== false && $rs->recordCount() > 0) {
00352 while (!$rs->EOF) {
00353 $sUID = $myUtilsObject->generateUID();
00354 $sCatID = $rs->fields[0];
00355 $sTime = $rs->fields[1];
00356
00357 $oDb->execute("insert into oxobject2category (oxid, oxobjectid, oxcatnid, oxtime) VALUES (".$oDb->quote( $sUID ).", ".$oDb->quote( $sNewID ).", ".$oDb->quote( $sCatID ).", ".$oDb->quote( $sTime ).") ");
00358 $rs->moveNext();
00359
00360
00361 $this->resetCounter( "catArticle", $sCatID );
00362 }
00363 }
00364 }
00365
00374 protected function _copyAttributes( $sOldID, $sNewID )
00375 {
00376 $myUtilsObject = oxUtilsObject::getInstance();
00377 $oDb = oxDb::getDb();
00378
00379 $sQ = "select oxid from oxobject2attribute where oxobjectid = ".$oDb->quote( $sOldID );
00380 $rs = $oDb->Execute($sQ);
00381 if ($rs !== false && $rs->recordCount() > 0) {
00382 while (!$rs->EOF) {
00383
00384 $oAttr = oxNew( "oxbase");
00385 $oAttr->init( "oxobject2attribute" );
00386 $oAttr->load( $rs->fields[0]);
00387 $oAttr->setId( $myUtilsObject->generateUID() );
00388 $oAttr->oxobject2attribute__oxobjectid->setValue($sNewID);
00389 $oAttr->save();
00390 $rs->moveNext();
00391 }
00392 }
00393 }
00394
00403 protected function _copySelectlists( $sOldID, $sNewID)
00404 {
00405 $myUtilsObject = oxUtilsObject::getInstance();
00406 $oDb = oxDb::getDb();
00407
00408 $sQ = "select oxselnid from oxobject2selectlist where oxobjectid = ".$oDb->quote( $sOldID );
00409 $rs = $oDb->Execute($sQ);
00410
00411 if ($rs !== false && $rs->recordCount() > 0) {
00412 while (!$rs->EOF) {
00413 $sUID = $myUtilsObject->generateUID();
00414 $sID = $rs->fields[0];
00415 $oDb->Execute("insert into oxobject2selectlist (oxid, oxobjectid, oxselnid) VALUES (".$oDb->quote( $sUID ).", ".$oDb->quote( $sNewID ).", ".$oDb->quote( $sID ).") ");
00416 $rs->moveNext();
00417 }
00418 }
00419 }
00420
00429 protected function _copyCrossseling( $sOldID, $sNewID )
00430 {
00431 $myUtilsObject = oxUtilsObject::getInstance();
00432 $oDb = oxDb::getDb();
00433
00434 $sQ = "select oxobjectid from oxobject2article where oxarticlenid = ".$oDb->quote( $sOldID );
00435 $rs = $oDb->Execute($sQ);
00436 if ($rs !== false && $rs->recordCount() > 0) {
00437 while (!$rs->EOF) {
00438 $sUID = $myUtilsObject->generateUID();
00439 $sID = $rs->fields[0];
00440 $oDb->Execute("insert into oxobject2article (oxid, oxobjectid, oxarticlenid) VALUES (".$oDb->quote( $sUID ).", ".$oDb->quote( $sID ).", ".$oDb->quote( $sNewID )." ) ");
00441 $rs->moveNext();
00442 }
00443 }
00444 }
00445
00454 protected function _copyAccessoires( $sOldID, $sNewID )
00455 {
00456 $myUtilsObject = oxUtilsObject::getInstance();
00457 $oDb = oxDb::getDb();
00458
00459 $sQ = "select oxobjectid from oxaccessoire2article where oxarticlenid= ".$oDb->quote( $sOldID );
00460 $rs = $oDb->Execute($sQ);
00461 if ($rs !== false && $rs->recordCount() > 0) {
00462 while (!$rs->EOF) {
00463 $sUID = $myUtilsObject->generateUID();
00464 $sID = $rs->fields[0];
00465 $oDb->Execute("insert into oxaccessoire2article (oxid, oxobjectid, oxarticlenid) VALUES (".$oDb->quote( $sUID ).", ".$oDb->quote( $sID ).", ".$oDb->quote( $sNewID ).") ");
00466 $rs->moveNext();
00467 }
00468 }
00469 }
00470
00479 protected function _copyStaffelpreis( $sOldID, $sNewID )
00480 {
00481 $myConfig = $this->getConfig();
00482 $sShopID = $myConfig->getShopID();
00483 $oPriceList = oxNew("oxlist");
00484 $oPriceList->init( "oxbase", "oxprice2article");
00485 $sQ = "select * from oxprice2article where oxartid = '$sOldID' and oxshopid = '$sShopID' and (oxamount > 0 or oxamountto > 0) order by oxamount ";
00486 $oPriceList->selectString($sQ);
00487 if ($oPriceList->count()) {
00488 foreach ($oPriceList as $oItem) {
00489 $oItem->oxprice2article__oxid->setValue($oItem->setId());
00490 $oItem->oxprice2article__oxartid->setValue($sNewID);
00491 $oItem->save();
00492 }
00493 }
00494 }
00495
00504 protected function _copyArtExtends( $sOldID, $sNewID)
00505 {
00506 $oExt = oxNew( "oxbase");
00507 $oExt->init( "oxartextends" );
00508 $oExt->load( $sOldID);
00509 $oExt->setId( $sNewID );
00510 $oExt->save();
00511 }
00512
00513
00519 public function saveinnlang()
00520 {
00521 $myConfig = $this->getConfig();
00522 $myUtilsCount = oxUtilsCount::getInstance();
00523
00524 $soxId = oxConfig::getParameter( "oxid" );
00525 $aParams = oxConfig::getParameter( "editval" );
00526
00527
00528 if ( !isset( $aParams['oxarticles__oxactive'] ) ) {
00529 $aParams['oxarticles__oxactive'] = 0;
00530 }
00531
00532
00533 $aParams = $this->addDefaultValues( $aParams);
00534
00535
00536 if ($aParams['oxarticles__oxvat'] === '')
00537 $aParams['oxarticles__oxvat'] = null;
00538
00539
00540 $soxparentId = oxConfig::getParameter( "oxparentid");
00541 if ( isset( $soxparentId) && $soxparentId && $soxparentId != "-1")
00542 $aParams['oxarticles__oxparentid'] = $soxparentId;
00543
00544 $oArticle = oxNew( "oxarticle");
00545 $oArticle->setLanguage($this->_iEditLang);
00546
00547 if ( $soxId != "-1")
00548 $oArticle->load( $soxId);
00549 else {
00550 $aParams['oxarticles__oxid'] = null;
00551
00552 $sShopID = oxSession::getVar( "actshop");
00553 $aParams['oxarticles__oxshopid'] = $sShopID;
00554 }
00555
00556
00557 if ( isset($aParams["oxarticles__oxprice"]) && $aParams["oxarticles__oxprice"] != $oArticle->oxarticles__oxprice->value) {
00558 $this->resetCounter( "priceCatArticle", $oArticle->oxarticles__oxprice->value );
00559 }
00560
00561 $aResetIds = array();
00562
00563 if ( $aParams['oxarticles__oxactive'] != $oArticle->oxarticles__oxactive->value) {
00564 $oDb = oxDb::getDb();
00565
00566 $sQ = "select oxcatnid from oxobject2category where oxobjectid = ".$oDb->quote( $oArticle->oxarticles__oxid->value );
00567 $rs = $oDb->Execute($sQ);
00568 if ($rs !== false && $rs->recordCount() > 0)
00569 while (!$rs->EOF) {
00570 $this->resetCounter( "catArticle", $rs->fields[0] );
00571 $rs->moveNext();
00572 }
00573
00574 $aResetIds['vendor'][$oArticle->oxarticles__oxvendorid->value] = 1;
00575 $aResetIds['manufacturer'][$oArticle->oxarticles__oxmanufacturerid->value] = 1;
00576 }
00577
00578
00579 if ( isset($aParams['oxarticles__oxvendorid']) && $aParams['oxarticles__oxvendorid'] != $oArticle->oxarticles__oxvendorid->value) {
00580 $aResetIds['vendor'][$aParams['oxarticles__oxvendorid']] = 1;
00581 $aResetIds['vendor'][$oArticle->oxarticles__oxvendorid->value] = 1;
00582 }
00583
00584
00585 if ( isset($aParams['oxarticles__oxmanufacturerid']) && $aParams['oxarticles__oxmanufacturerid'] != $oArticle->oxarticles__oxmanufacturerid->value ) {
00586 $aResetIds['manufacturer'][$aParams['oxarticles__oxmanufacturerid']] = 1;
00587 $aResetIds['manufacturer'][$oArticle->oxarticles__oxmanufacturerid->value] = 1;
00588 }
00589
00590 $this->_resetCounts( $aResetIds );
00591
00592
00593
00594
00595 $oArticle->setLanguage(0);
00596 $oArticle->assign( $aParams);
00597
00598
00599 $sNewLanguage = oxConfig::getParameter( "new_lang");
00600 $oArticle->setLanguage( $sNewLanguage);
00601 $oArticle->save();
00602
00603
00604 oxSession::setVar( "new_lang", $sNewLanguage );
00605
00606
00607 if ( $soxId == "-1" )
00608 $this->_sSavedId = $oArticle->getId();
00609 }
00610
00619 public function addDefaultValues( $aParams )
00620 {
00621 return $aParams;
00622 }
00623
00632 protected function _formJumpList( $oArticle, $oParentArticle )
00633 {
00634 $aJumpList = array();
00635
00636 if ( isset( $oParentArticle ) ) {
00637 $aJumpList[] = array( $oParentArticle->oxarticles__oxid->value, $this->_getTitle( $oParentArticle ) );
00638 $oParentVariants = $oParentArticle->getAdminVariants( oxConfig::getParameter( "editlanguage" ) );
00639 if ( $oParentVariants->count()) {
00640 foreach ( $oParentVariants as $oVar) {
00641 $aJumpList[] = array( $oVar->oxarticles__oxid->value, " - ".$this->_getTitle( $oVar ) );
00642 if ( $oVar->oxarticles__oxid->value == $oArticle->oxarticles__oxid->value ) {
00643 $oVariants = $oArticle->getAdminVariants(oxConfig::getParameter( "editlanguage"));
00644 if ( $oVariants->count() ) {
00645 foreach ( $oVariants as $oVVar) {
00646 $aJumpList[] = array( $oVVar->oxarticles__oxid->value, " -- ".$this->_getTitle( $oVVar));
00647 }
00648 }
00649 }
00650 }
00651 }
00652 } else {
00653 $aJumpList[] = array( $oArticle->oxarticles__oxid->value, $this->_getTitle( $oArticle));
00654
00655 $oVariants = $oArticle->getAdminVariants(oxConfig::getParameter( "editlanguage"));
00656 if ( $oVariants && $oVariants->count())
00657 foreach ($oVariants as $oVar) {
00658 $aJumpList[] = array( $oVar->oxarticles__oxid->value, " - ".$this->_getTitle( $oVar));
00659 }
00660 }
00661 if ( count($aJumpList) > 1)
00662 $this->_aViewData["thisvariantlist"] = $aJumpList;
00663 }
00664
00672 protected function _getTitle( $oObj )
00673 {
00674 $sTitle = $oObj->oxarticles__oxtitle->value;
00675 if ( !strlen( $sTitle ) ) {
00676 $sTitle = $oObj->oxarticles__oxvarselect->value;
00677 }
00678
00679 return $sTitle;
00680 }
00681
00687 public function getCategoryList()
00688 {
00689 $oCatTree = oxNew( "oxCategoryList");
00690 $oCatTree->buildList( $this->getConfig()->getConfigParam( 'bl_perfLoadCatTree' ) );
00691 return $oCatTree;
00692 }
00693
00699 public function getVendorList()
00700 {
00701 $oVendorlist = oxNew( "oxvendorlist" );
00702 $oVendorlist->loadVendorList();
00703
00704 return $oVendorlist;
00705 }
00706
00712 public function getManufacturerList()
00713 {
00714 $oManufacturerList = oxNew( "oxmanufacturerlist" );
00715 $oManufacturerList->loadManufacturerList();
00716
00717 return $oManufacturerList;
00718 }
00719 }