示例#1
0
 /**
  * Loads language for article.
  *
  * @param oxArticle $oArticle
  * @param string    $sOxId
  *
  * @return oxArticle
  */
 protected function updateArticle($oArticle, $sOxId)
 {
     $oArticle->loadInLang($this->_iEditLang, $sOxId);
     return $oArticle;
 }
 /**
  * Loads language for article object.
  *
  * @param oxArticle $article
  * @param string    $oxId
  *
  * @return oxArticle
  */
 protected function updateArticle($article, $oxId)
 {
     $article->loadInLang(oxRegistry::getConfig()->getRequestParameter("editlanguage"), $oxId);
     return $article;
 }