library/Services/ShopObjectConstructor/Constructor/oxListConstructor.php
protected function _formArrayFromList($oList)
    {
        $aData = array();
        foreach ($oList as $sKey => $object) {
            $aData[$sKey] = $this->_getObjectFieldValues($object);
        }

        return $aData;
    }
protected function _formArrayFromList($oList)
    {
        $aData = array();
        foreach ($oList as $sKey => $object) {
            $aData[$sKey] = $this->_getObjectFieldValues($object);
        }

        return $aData;
    }
protected function _formArrayFromList ( $ oList ) { $ aData = array ( ) ; foreach ( $ oList as $ sKey => $ object ) { $ aData [ $ sKey ] = $ this -> _getObjectFieldValues ( $ object ) ; } return $ aData ; }
Returns formed array with data from given list

@param \OxidEsales\Eshop\Core\Model\ListModel|Iterator $oList
@return array
Returns formed array with data from given list