source/Application/Model/ManufacturerList.php
public function loadManufacturerList()
    {
        $oBaseObject = $this->getBaseObject();

        $sFieldList = $oBaseObject->getSelectFields();
        $sViewName = $oBaseObject->getViewName();
        $this->getBaseObject()->setShowArticleCnt($this->_blShowManufacturerArticleCnt);

        $sWhere = '';
        if (!$this->isAdmin()) {
            $sWhere = $oBaseObject->getSqlActiveSnippet();
            $sWhere = $sWhere ? " where $sWhere and " : ' where ';
            $sWhere .= "{$sViewName}.oxtitle != '' ";
        }

        $sSelect = "select {$sFieldList} from {$sViewName} {$sWhere} order by {$sViewName}.oxtitle";
        $this->selectString($sSelect);
    }
public function loadManufacturerList()
    {
        $oBaseObject = $this->getBaseObject();

        $sFieldList = $oBaseObject->getSelectFields();
        $sViewName = $oBaseObject->getViewName();
        $this->getBaseObject()->setShowArticleCnt($this->_blShowManufacturerArticleCnt);

        $sWhere = '';
        if (!$this->isAdmin()) {
            $sWhere = $oBaseObject->getSqlActiveSnippet();
            $sWhere = $sWhere ? " where $sWhere and " : ' where ';
            $sWhere .= "{$sViewName}.oxtitle != '' ";
        }

        $sSelect = "select {$sFieldList} from {$sViewName} {$sWhere} order by {$sViewName}.oxtitle";
        $this->selectString($sSelect);
    }
public function loadManufacturerList ( ) { $ oBaseObject = $ this -> getBaseObject ( ) ; $ sFieldList = $ oBaseObject -> getSelectFields ( ) ; $ sViewName = $ oBaseObject -> getViewName ( ) ; $ this -> getBaseObject ( ) -> setShowArticleCnt ( $ this -> _blShowManufacturerArticleCnt ) ; $ sWhere = '' ; if ( ! $ this -> isAdmin ( ) ) { $ sWhere = $ oBaseObject -> getSqlActiveSnippet ( ) ; $ sWhere = $ sWhere ? " where $sWhere and " : ' where ' ; $ sWhere .= "{$sViewName}.oxtitle != '' " ; } $ sSelect = "select {$sFieldList} from {$sViewName} {$sWhere} order by {$sViewName}.oxtitle" ; $ this -> selectString ( $ sSelect ) ; }
Loads simple manufacturer list
Loads simple manufacturer list