PHP Class CronLingo\Cron

Class Cron
Datei anzeigen Open project: ajbdev/cronlingo Class Usage Examples

Public Properties

Property Type Description
$dayOfMonth Field
$dayOfWeek Field
$hour Field
$minute Field
$month Field

Protected Properties

Property Type Description
$whitespace string

Public Methods

Method Description
__construct ( $string = null )
__toString ( ) : string
fromString ( $string ) Create CRON object from a crontab string
ordered ( ) : array Get CRON expression field order in structured format
setWhitespace ( string $whitespace )

Method Details

__construct() public method

public __construct ( $string = null )

__toString() public method

public __toString ( ) : string
return string

fromString() public method

Create CRON object from a crontab string
public fromString ( $string )
$string

ordered() public method

Get CRON expression field order in structured format
public ordered ( ) : array
return array

setWhitespace() public method

public setWhitespace ( string $whitespace )
$whitespace string

Property Details

$dayOfMonth public_oe property

public Field,cronlingo $dayOfMonth
return Field

$dayOfWeek public_oe property

public Field,cronlingo $dayOfWeek
return Field

$hour public_oe property

public Field,cronlingo $hour
return Field

$minute public_oe property

public Field,cronlingo $minute
return Field

$month public_oe property

public Field,cronlingo $month
return Field

$whitespace protected_oe property

protected string $whitespace
return string