source/Core/Dao/ApplicationServerDao.php
protected function createServer($data)
    {
        /** @var \OxidEsales\Eshop\Core\DataObject\ApplicationServer $appServer */
        $appServer = oxNew(\OxidEsales\Eshop\Core\DataObject\ApplicationServer::class);

        $appServer->setId($this->getServerParameter($data, 'id'));
        $appServer->setTimestamp($this->getServerParameter($data, 'timestamp'));
        $appServer->setIp($this->getServerParameter($data, 'ip'));
        $appServer->setLastFrontendUsage($this->getServerParameter($data, 'lastFrontendUsage'));
        $appServer->setLastAdminUsage($this->getServerParameter($data, 'lastAdminUsage'));

        return $appServer;
    }
protected function createServer($data)
    {
        /** @var \OxidEsales\Eshop\Core\DataObject\ApplicationServer $appServer */
        $appServer = oxNew(\OxidEsales\Eshop\Core\DataObject\ApplicationServer::class);

        $appServer->setId($this->getServerParameter($data, 'id'));
        $appServer->setTimestamp($this->getServerParameter($data, 'timestamp'));
        $appServer->setIp($this->getServerParameter($data, 'ip'));
        $appServer->setLastFrontendUsage($this->getServerParameter($data, 'lastFrontendUsage'));
        $appServer->setLastAdminUsage($this->getServerParameter($data, 'lastAdminUsage'));

        return $appServer;
    }
protected function createServer ( $ data ) { /** @var \OxidEsales\Eshop\Core\DataObject\ApplicationServer $appServer */ $ appServer = oxNew ( \ OxidEsales \ Eshop \ Core \ DataObject \ ApplicationServer :: class ) ; $ appServer -> setId ( $ this -> getServerParameter ( $ data , 'id' ) ) ; $ appServer -> setTimestamp ( $ this -> getServerParameter ( $ data , 'timestamp' ) ) ; $ appServer -> setIp ( $ this -> getServerParameter ( $ data , 'ip' ) ) ; $ appServer -> setLastFrontendUsage ( $ this -> getServerParameter ( $ data , 'lastFrontendUsage' ) ) ; $ appServer -> setLastAdminUsage ( $ this -> getServerParameter ( $ data , 'lastAdminUsage' ) ) ; return $ appServer ; }
Creates ApplicationServer from given server id and data.

@param array $data The array of server data.

@return \OxidEsales\Eshop\Core\DataObject\ApplicationServer
Creates ApplicationServer from given server id and data .