Total Complexity | 4 |
Total Lines | 92 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class ChangeDAO { |
||
11 | private $mysqli; |
||
12 | |||
13 | public function __construct($mysqli) { |
||
14 | $this->mysqli = $mysqli; |
||
15 | } |
||
16 | |||
17 | |||
18 | /** |
||
19 | * Get a single change from it's update ID (NOT the automatically incremented |
||
20 | * id from the database) |
||
21 | * @param number $id Update ID of the change to retrieve |
||
22 | * @return \AL\Common\Model\Database\Change The change |
||
23 | */ |
||
24 | public function getChangeByUpdateId($update_id) { |
||
68 | } |
||
69 | |||
70 | /** |
||
71 | * Insert a new change |
||
72 | * |
||
73 | * @param \AL\Common\Model\Database\Change Change to insert |
||
74 | * @return integer ID of the inserted change |
||
75 | */ |
||
76 | public function insertChange($change) { |
||
102 | } |
||
103 | } |
||
104 |