HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
MinutesField Class Reference
Inheritance diagram for MinutesField:
Collaboration diagram for MinutesField:

Public Member Functions

 isSatisfiedBy (DateTime $date, $value)
 increment (DateTime $date, $invert=false)
 validate ($value)
- Public Member Functions inherited from AbstractField
 isSatisfied ($dateValue, $value)
 isRange ($value)
 isIncrementsOfRanges ($value)
 isInRange ($dateValue, $value)
 isInIncrementsOfRanges ($dateValue, $value)

Detailed Description

Minutes field. Allows: * , / -.

Author
Michael Dowling mtdow.nosp@m.ling.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition at line 8 of file MinutesField.php.

Member Function Documentation

MinutesField::increment ( DateTime  $date,
  $invert = false 
)

{When a CRON expression is not satisfied, this method is used to increment or decrement a DateTime object by the unit of the cron field.

Parameters
DateTime$dateDateTime object to change
bool$invert(optional) Set to TRUE to decrement
Returns
FieldInterface
}

Implements FieldInterface.

Definition at line 21 of file MinutesField.php.

MinutesField::isSatisfiedBy ( DateTime  $date,
  $value 
)

{Check if the respective value of a DateTime field satisfies a CRON exp.

Parameters
DateTime$dateDateTime object to check
string$valueCRON expression to test against
Returns
bool Returns TRUE if satisfied, FALSE otherwise
}

Implements FieldInterface.

Definition at line 13 of file MinutesField.php.

Here is the call graph for this function:

MinutesField::validate (   $value)

{Validates a CRON expression for a given field.

Parameters
string$valueCRON expression value to validate
Returns
bool Returns TRUE if valid, FALSE otherwise
}

Implements FieldInterface.

Definition at line 35 of file MinutesField.php.


The documentation for this class was generated from the following file: