PHP Class CronLingo\Field

Class Field
Datei anzeigen Open project: ajbdev/cronlingo

Protected Properties

Property Type Description
$rangeMax integer
$rangeMin integer
$repeats integer
$specific array

Public Methods

Method Description
__toString ( ) : string Build CRON expression part based on set values
addSpecific ( $value )
fromCronValue ( $val )
getRangeMax ( ) : integer
getRangeMin ( ) : integer
getRepeats ( ) : integer
getSpecific ( ) : array
isDirty ( ) : boolean
repeatsOn ( $interval )
setRange ( $min, $max )
setRangeMax ( $rangeMax )
setRangeMin ( $rangeMin )
setSpecific ( array $value )

Method Details

__toString() public method

Build CRON expression part based on set values
public __toString ( ) : string
return string

addSpecific() public method

public addSpecific ( $value )
$value

fromCronValue() public method

public fromCronValue ( $val )
$val

getRangeMax() public method

public getRangeMax ( ) : integer
return integer

getRangeMin() public method

public getRangeMin ( ) : integer
return integer

getRepeats() public method

public getRepeats ( ) : integer
return integer

getSpecific() public method

public getSpecific ( ) : array
return array

isDirty() public method

public isDirty ( ) : boolean
return boolean

repeatsOn() public method

public repeatsOn ( $interval )
$interval

setRange() public method

public setRange ( $min, $max )
$min
$max

setRangeMax() public method

public setRangeMax ( $rangeMax )
$rangeMax

setRangeMin() public method

public setRangeMin ( $rangeMin )
$rangeMin

setSpecific() public method

public setSpecific ( array $value )
$value array

Property Details

$rangeMax protected_oe property

protected int $rangeMax
return integer

$rangeMin protected_oe property

protected int $rangeMin
return integer

$repeats protected_oe property

protected int $repeats
return integer

$specific protected_oe property

protected array $specific
return array