Overview

Namespaces

  • Apptus
    • ESales
      • Connector
        • Report
        • Time
    • Util
      • Cache
  • PHP

Classes

  • Ad
  • AdConversionReport
  • AdConversionReportSection
  • AdList
  • AdListSection
  • AdOrderValueReport
  • AdOrderValueReportSection
  • AdPlacementReport
  • AdPlacementReportSection
  • Attribute
  • PanelConversionReport
  • PanelConversionReportSection
  • Placement
  • ProductSalesByAttributeReport
  • ProductSalesByAttributeReportSection
  • ProductSalesByTimeReport
  • ProductTopSellersReport
  • ProductTopSellersReportSection
  • Rate
  • Report
  • SearchConversion
  • SearchCount
  • SearchStatisticsReport
  • SessionStatistics
  • SessionStatisticsReport
  • SessionSummaryReport
  • Summary
  • Timeline
  • TimelineType
  • TimeSlot
  • TopSellingSearchesReport
  • TopSellingSearchesReportSection

Exceptions

  • FormatException
  • Overview
  • Namespace
  • Class
  • Tree

Class SessionStatisticsReport

Report for Session statistics on the site.

This report can be seen in the graphs in the Site Summary tab and in the Site Details tab on the Reports page in eSales Manager and it is described in the Session statistics section on Apptus Zone (http://zone.apptus.com).

Apptus\ESales\Connector\Report\Report
Extended by Apptus\ESales\Connector\Report\SessionStatisticsReport
Namespace: Apptus\ESales\Connector\Report
Located at Connector/Report/SessionStatisticsReport.php
Methods summary
public static Apptus\ESales\Connector\Report\AdPlacementReport
# parse( string $data, DateTimeZone $tz )

Creates an SessionStatisticsReport from an XML document.

Creates an SessionStatisticsReport from an XML document.

Parameters

$data
string with the XML document to parse.
$tz
time zone for this report.

Returns

Apptus\ESales\Connector\Report\AdPlacementReport
An AdPlacementReport.

Throws

Apptus\ESales\Connector\Report\FormatException
if the XML document does not match the expected format.
public
# __construct( SimpleXMLElement $asXml, Apptus\ESales\Connector\Report\Timeline $timeline, Apptus\ESales\Connector\Time\TimeInterval $interval, Apptus\ESales\Connector\Time\Duration $resolution, DateTimeZone $tz )

Creates a SessionStatisticsReport. Note that null is illegal for all input parameters.

Creates a SessionStatisticsReport. Note that null is illegal for all input parameters.

Parameters

$asXml
XmlTree to be used if the Apptus\ESales\Connector\Report\Report::exportToXml() method is called.
$timeline
timeline of Apptus\ESales\Connector\Report\SessionStatistics elements. Each containing common statistics data such as number of displays, clicks, payments, etc.
$interval
time range for the data in this report.
$resolution
resolution for the data in this report.
$tz
time zone for the data in this report.
public Apptus\ESales\Connector\Time\Duration
# resolution( )

Returns

Apptus\ESales\Connector\Time\Duration
The resolution used for the data in this report.
public Apptus\ESales\Connector\Report\Timeline
# timeline( )

Returns

Apptus\ESales\Connector\Report\Timeline
A timeline of session statistics.
public
# exportToExcel( string $file )

Writes the report to a file. The report is written in plain text and ';' is used as separator.

Writes the report to a file. The report is written in plain text and ';' is used as separator.

Parameters

$file
file to write the report to.
Methods inherited from Apptus\ESales\Connector\Report\Report
exportToXml(), timeInterval()
Apptus ESales Connector PHP API documentation generated by ApiGen