HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
MinutesField.php
Go to the documentation of this file.
1
<?php
2
8
class
MinutesField
extends
AbstractField
9
{
13
public
function
isSatisfiedBy
(DateTime $date, $value)
14
{
15
return
$this->
isSatisfied
($date->format(
'i'
), $value);
16
}
17
21
public
function
increment
(DateTime $date, $invert =
false
)
22
{
23
if
($invert) {
24
$date->sub(
new
DateInterval(
'PT1M'
));
25
}
else
{
26
$date->add(
new
DateInterval(
'PT1M'
));
27
}
28
29
return
$this;
30
}
31
35
public
function
validate
($value)
36
{
37
return
(
bool
) preg_match(
'/[\*,\/\-0-9]+/'
, $value);
38
}
39
}
app
protected
modules
job
vendors
crontab
MinutesField.php
Generated on Tue Jun 30 2015 20:12:35 for HCE Project DC service web UI by
1.8.1.2