source/Core/Dao/ApplicationServerDao.php
public function findAppServer($id)
    {
        if (!isset($this->appServer[$id])) {
            $serverData = $this->selectDataById($id);

            if ($serverData != false) {
                $appServerProperties = (array)unserialize($serverData);
            } else {
                return null;
            }

            $this->appServer[$id] = $this->createServer($appServerProperties);
        }
        return $this->appServer[$id];
    }
public function findAppServer($id)
    {
        if (!isset($this->appServer[$id])) {
            $serverData = $this->selectDataById($id);

            if ($serverData != false) {
                $appServerProperties = (array)unserialize($serverData);
            } else {
                return null;
            }

            $this->appServer[$id] = $this->createServer($appServerProperties);
        }
        return $this->appServer[$id];
    }
public function findAppServer ( $ id ) { if ( ! isset ( $ this -> appServer [ $ id ] ) ) { $ serverData = $ this -> selectDataById ( $ id ) ; if ( $ serverData != false ) { $ appServerProperties = ( array ) unserialize ( $ serverData ) ; } else { return null ; } $ this -> appServer [ $ id ] = $ this -> createServer ( $ appServerProperties ) ; } return $ this -> appServer [ $ id ] ; }
Finds an application server by given id, null if none is found.

@param string $id An id of the entity to find.

@return \OxidEsales\Eshop\Core\DataObject\ApplicationServer|null
Finds an application server by given id null if none is found .