| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class T3Datetime implements \Aimeos\Base\Criteria\Plugin\Iface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Translates ISO dates into seconds relative to the epoch. |
||
| 25 | * |
||
| 26 | * @param string $value ISO date string (YYYY-MM-DD HH:mm:ss) |
||
| 27 | * @return integer Seconds relative to the epoch |
||
| 28 | */ |
||
| 29 | public function translate( $value ) |
||
| 32 | } |
||
| 33 | |||
| 34 | |||
| 35 | /** |
||
| 36 | * Reverses the translation from seconds relative to the epoch to the ISO date string (YYYY-MM-DD HH:mm:ss). |
||
| 37 | * |
||
| 38 | * @param integer $value Seconds relative to the epoch |
||
| 39 | * @return string ISO date string (YYYY-MM-DD HH:mm:ss) |
||
| 40 | */ |
||
| 41 | public function reverse( $value ) |
||
| 46 |