1 | <?php |
||
14 | class DoubleType extends Type |
||
15 | { |
||
16 | /** |
||
17 | * Parse & return the meta item value. |
||
18 | * |
||
19 | * @return int |
||
20 | */ |
||
21 | public function get() |
||
25 | |||
26 | /** |
||
27 | * Parse & set the meta item value. |
||
28 | * |
||
29 | * @param int $value |
||
30 | */ |
||
31 | public function set($value) |
||
35 | |||
36 | /** |
||
37 | * Ascertain whether we can handle the |
||
38 | * type of variable passed. |
||
39 | * |
||
40 | * @param mixed $value |
||
41 | * @return boolean |
||
42 | */ |
||
43 | public function isType($value) |
||
47 | |||
48 | /** |
||
49 | * Output value to string. |
||
50 | * |
||
51 | * @return string |
||
52 | */ |
||
53 | public function __toString() |
||
57 | } |
||
58 |