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 TimelineType

Class for report timeline types.

Namespace: Apptus\ESales\Connector\Report
Located at Connector/Report/TimelineType.php
Methods summary
public static
# hourOfDay( )
public static
# dayInWeek( )
public static
# dayOfMonth( )
public static
# weekOfYear( )
public static
# monthOfYear( )
public static Apptus\ESales\Connector\Report\TimelineType
# parse( string $timelineType )

Parse the specified timeline type string.

Parse the specified timeline type string.

Parameters

$timelineType
timeline type to return as a string.

Returns

Apptus\ESales\Connector\Report\TimelineType
The matching timeline type.

Throws

InvalidArgumentException
public static
# create( DateInterval $resolution )
public string
# slot( DateTime $dt )

Returns the slot name for a given time.

Returns the slot name for a given time.

Parameters

$dt
time to get the slot for.

Returns

string
The slot name.
public DateInterval
# resolution( )

Return the resolution for this kind of timeline.

Return the resolution for this kind of timeline.

Returns

DateInterval
A duration representing the resolution for this timeline type.
public array
# allAvailable( )

Returns

array
An indexed array of all available slot names.
public string
# __toString( )

Returns the string representation of this timeline type.

Returns the string representation of this timeline type.

Returns

string
Apptus ESales Connector PHP API documentation generated by ApiGen