Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait PropertyRecordTrait |
||
12 | { |
||
13 | /** |
||
14 | * @return Generic |
||
15 | */ |
||
16 | public function getStatus() |
||
17 | { |
||
18 | return $this->getSmartProperty('Status'); |
||
|
|||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @param $value |
||
23 | */ |
||
24 | public function setStatus($value) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param $status |
||
32 | * @return Generic |
||
33 | */ |
||
34 | public function getNewStatus($status) |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param bool $status |
||
42 | * @return bool|void |
||
43 | */ |
||
44 | public function updateStatus($status = false) |
||
48 | } |
||
49 | } |