OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput Class Reference

Public Member Functions

 __construct ()
 
 setOutputKey ($sOutputKey)
 
 getOutputKey ()
 
 setOutputFileName ($sOutputFileName)
 
 getOutputFileName ()
 
 storeResult ($sResult)
 
 readResultFile ($sOutputKey=null)
 
 downloadResultFile ($sOutputKey=null)
 

Protected Attributes

 $_sOutputKey = "diagnostic_tool_result"
 
 $_sOutputFileName = "diagnostic_tool_result.html"
 
 $_oUtils = null
 

Detailed Description

Diagnostic tool result outputer Performs OutputKey check of shop files and generates report file.

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::__construct ( )

Object constructor

Member Function Documentation

◆ downloadResultFile()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::downloadResultFile (   $sOutputKey = null)

Sends generated file for download

Parameters
string$sOutputKeyOutput key.

◆ getOutputFileName()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::getOutputFileName ( )

OutputKey getter

Returns
string

◆ getOutputKey()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::getOutputKey ( )

OutputKey getter

Returns
string

◆ readResultFile()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::readResultFile (   $sOutputKey = null)

Reads exported result file contents

Parameters
string$sOutputKeyOutput key.
Returns
string

◆ setOutputFileName()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::setOutputFileName (   $sOutputFileName)

OutputFileName setter

Parameters
string$sOutputFileNameOutput file name.

◆ setOutputKey()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::setOutputKey (   $sOutputKey)

OutputKey setter

Parameters
string$sOutputKeyOutput key.

◆ storeResult()

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::storeResult (   $sResult)

Stores result file in file cache

Parameters
string$sResultResult.

Member Data Documentation

◆ $_oUtils

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::$_oUtils = null
protected

◆ $_sOutputFileName

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::$_sOutputFileName = "diagnostic_tool_result.html"
protected

◆ $_sOutputKey

OxidEsales\EshopCommunity\Application\Model\DiagnosticsOutput::$_sOutputKey = "diagnostic_tool_result"
protected

The documentation for this class was generated from the following file: