PHP Class Elcodi\Admin\MetricBundle\Model\IntervalContainer

Show file Open project: elcodi/bamboo Class Usage Examples

Public Methods

Method Description
__construct ( ) Construct
addElement ( string $element ) Sets Element
addPartialInterval ( PartialInterval $partialInterval ) Add Partial Interval
create ( ) : self Static creation
getChartElementsSeparation ( ) : integer Get ChartElementsSeparation
getChartLegendFormat ( ) : string Get ChartLegendFormat
getElements ( ) : array Get Elements
getElementsFormat ( ) : string Get ElementsFormat
getElementsGrouping ( ) : integer Get ElementsGrouping
getElementsIntervalFormat ( ) : array Get ElementsIntervalFormat
getIterations ( ) : integer Get Iterations
getPartialIntervals ( ) : PartialInterval[] Get PartialElements
getStartDay ( ) : DateTime Get StartDay
resetHourStartDay ( ) Resets the start day hour
setChartElementsSeparation ( integer $chartElementsSeparation ) Sets ChartElementsSeparation
setChartLegendFormat ( string $chartLegendFormat ) Sets ChartLegendFormat
setElementsFormat ( string $elementsFormat ) Sets ElementsFormat
setElementsGrouping ( integer $elementsGrouping ) Sets ElementsGrouping
setElementsIntervalFormat ( array $elementsIntervalFormat ) Sets ElementsIntervalFormat
setIterations ( integer $iterations ) Sets Iterations
setStartDay ( DateTime $startDay ) Sets StartDay

Method Details

__construct() public method

Construct
public __construct ( )

addElement() public method

Sets Element
public addElement ( string $element )
$element string Element

addPartialInterval() public method

Add Partial Interval
public addPartialInterval ( PartialInterval $partialInterval )
$partialInterval PartialInterval Partial Interval

create() public static method

Static creation
public static create ( ) : self
return self New instance

getChartElementsSeparation() public method

Get ChartElementsSeparation
public getChartElementsSeparation ( ) : integer
return integer ChartElementsSeparation

getChartLegendFormat() public method

Get ChartLegendFormat
public getChartLegendFormat ( ) : string
return string ChartLegendFormat

getElements() public method

Get Elements
public getElements ( ) : array
return array Elements

getElementsFormat() public method

Get ElementsFormat
public getElementsFormat ( ) : string
return string ElementsFormat

getElementsGrouping() public method

Get ElementsGrouping
public getElementsGrouping ( ) : integer
return integer ElementsGrouping

getElementsIntervalFormat() public method

Get ElementsIntervalFormat
public getElementsIntervalFormat ( ) : array
return array ElementsIntervalFormat

getIterations() public method

Get Iterations
public getIterations ( ) : integer
return integer Iterations

getPartialIntervals() public method

Get PartialElements
public getPartialIntervals ( ) : PartialInterval[]
return PartialInterval[] PartialElements

getStartDay() public method

Get StartDay
public getStartDay ( ) : DateTime
return DateTime StartDay

resetHourStartDay() public method

Resets the start day hour
public resetHourStartDay ( )

setChartElementsSeparation() public method

Sets ChartElementsSeparation
public setChartElementsSeparation ( integer $chartElementsSeparation )
$chartElementsSeparation integer ChartElementsSeparation

setChartLegendFormat() public method

Sets ChartLegendFormat
public setChartLegendFormat ( string $chartLegendFormat )
$chartLegendFormat string ChartLegendFormat

setElementsFormat() public method

Sets ElementsFormat
public setElementsFormat ( string $elementsFormat )
$elementsFormat string ElementsFormat

setElementsGrouping() public method

Sets ElementsGrouping
public setElementsGrouping ( integer $elementsGrouping )
$elementsGrouping integer ElementsGrouping

setElementsIntervalFormat() public method

Sets ElementsIntervalFormat
public setElementsIntervalFormat ( array $elementsIntervalFormat )
$elementsIntervalFormat array ElementsIntervalFormat

setIterations() public method

Sets Iterations
public setIterations ( integer $iterations )
$iterations integer Iterations

setStartDay() public method

Sets StartDay
public setStartDay ( DateTime $startDay )
$startDay DateTime StartDay