Class TimelineType
Class for report timeline types.
Methods summary
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
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
Throws
|
public static
|
|
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
|