source/Application/Controller/Admin/AdminListController.php
public function getItemList()
    {
        if ($this->_oList === null && $this->_sListClass) {
            $this->_oList = oxNew($this->_sListType);
            $this->_oList->clear();
            $this->_oList->init($this->_sListClass);

            $where = $this->buildWhere();

            $listObject = $this->_oList->getBaseObject();

            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable('tabelle', $this->_sListClass);
            $this->_aViewData['listTable'] = getViewName($listObject->getCoreTableName());
            \OxidEsales\Eshop\Core\Registry::getConfig()->setGlobalParameter('ListCoreTable', $listObject->getCoreTableName());

            if ($listObject->isMultilang()) {
                // is the object multilingual?
                /** @var \OxidEsales\Eshop\Core\Model\MultiLanguageModel $listObject */
                $listObject->setLanguage(\OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage());

                if (isset($this->_blEmployMultilanguage)) {
                    $listObject->setEnableMultilang($this->_blEmployMultilanguage);
                }
            }

            $query = $this->_buildSelectString($listObject);
            $query = $this->_prepareWhereQuery($where, $query);
            $query = $this->_prepareOrderByQuery($query);
            $query = $this->_changeselect($query);

            // calculates count of list items
            $this->_calcListItemsCount($query);

            // setting current list position (page)
            $this->_setCurrentListPosition(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('jumppage'));

            // setting addition params for list: current list size
            $this->_oList->setSqlLimit($this->_iCurrListPos, $this->_getViewListSize());

            $this->_oList->selectString($query);
        }

        return $this->_oList;
    }
public function getItemList()
    {
        if ($this->_oList === null && $this->_sListClass) {
            $this->_oList = oxNew($this->_sListType);
            $this->_oList->clear();
            $this->_oList->init($this->_sListClass);

            $where = $this->buildWhere();

            $listObject = $this->_oList->getBaseObject();

            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable('tabelle', $this->_sListClass);
            $this->_aViewData['listTable'] = getViewName($listObject->getCoreTableName());
            \OxidEsales\Eshop\Core\Registry::getConfig()->setGlobalParameter('ListCoreTable', $listObject->getCoreTableName());

            if ($listObject->isMultilang()) {
                // is the object multilingual?
                /** @var \OxidEsales\Eshop\Core\Model\MultiLanguageModel $listObject */
                $listObject->setLanguage(\OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage());

                if (isset($this->_blEmployMultilanguage)) {
                    $listObject->setEnableMultilang($this->_blEmployMultilanguage);
                }
            }

            $query = $this->_buildSelectString($listObject);
            $query = $this->_prepareWhereQuery($where, $query);
            $query = $this->_prepareOrderByQuery($query);
            $query = $this->_changeselect($query);

            // calculates count of list items
            $this->_calcListItemsCount($query);

            // setting current list position (page)
            $this->_setCurrentListPosition(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('jumppage'));

            // setting addition params for list: current list size
            $this->_oList->setSqlLimit($this->_iCurrListPos, $this->_getViewListSize());

            $this->_oList->selectString($query);
        }

        return $this->_oList;
    }
public function getItemList ( ) { if ( $ this -> _oList === null && $ this -> _sListClass ) { $ this -> _oList = oxNew ( $ this -> _sListType ) ; $ this -> _oList -> clear ( ) ; $ this -> _oList -> init ( $ this -> _sListClass ) ; $ where = $ this -> buildWhere ( ) ; $ listObject = $ this -> _oList -> getBaseObject ( ) ; \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> setVariable ( 'tabelle' , $ this -> _sListClass ) ; $ this -> _aViewData [ 'listTable' ] = getViewName ( $ listObject -> getCoreTableName ( ) ) ; \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> setGlobalParameter ( 'ListCoreTable' , $ listObject -> getCoreTableName ( ) ) ; if ( $ listObject -> isMultilang ( ) ) { // is the object multilingual? /** @var \OxidEsales\Eshop\Core\Model\MultiLanguageModel $listObject */ $ listObject -> setLanguage ( \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getBaseLanguage ( ) ) ; if ( isset ( $ this -> _blEmployMultilanguage ) ) { $ listObject -> setEnableMultilang ( $ this -> _blEmployMultilanguage ) ; } } $ query = $ this -> _buildSelectString ( $ listObject ) ; $ query = $ this -> _prepareWhereQuery ( $ where , $ query ) ; $ query = $ this -> _prepareOrderByQuery ( $ query ) ; $ query = $ this -> _changeselect ( $ query ) ; // calculates count of list items $ this -> _calcListItemsCount ( $ query ) ; // setting current list position (page) $ this -> _setCurrentListPosition ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'jumppage' ) ) ; // setting addition params for list: current list size $ this -> _oList -> setSqlLimit ( $ this -> _iCurrListPos , $ this -> _getViewListSize ( ) ) ; $ this -> _oList -> selectString ( $ query ) ; } return $ this -> _oList ; }
Returns items list

@return oxList
Returns items list