source/Application/Controller/Admin/ArticleExtend.php
public function getUnitsArray()
    {
        if ($this->_aUnitsArray === null) {
            $this->_aUnitsArray = \OxidEsales\Eshop\Core\Registry::getLang()->getSimilarByKey("_UNIT_", $this->_iEditLang, false);
        }

        return $this->_aUnitsArray;
    }
public function getUnitsArray()
    {
        if ($this->_aUnitsArray === null) {
            $this->_aUnitsArray = \OxidEsales\Eshop\Core\Registry::getLang()->getSimilarByKey("_UNIT_", $this->_iEditLang, false);
        }

        return $this->_aUnitsArray;
    }
public function getUnitsArray ( ) { if ( $ this -> _aUnitsArray === null ) { $ this -> _aUnitsArray = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getSimilarByKey ( "_UNIT_" , $ this -> _iEditLang , false ) ; } return $ this -> _aUnitsArray ; }
Returns array of possible unit combination and its translation for edit language

@return array
Returns array of possible unit combination and its translation for edit language