| @@ 144-155 (lines=12) @@ | ||
| 141 | * @param int ID/s of record |
|
| 142 | * @return boolean |
|
| 143 | */ |
|
| 144 | public function delete($ids) |
|
| 145 | { |
|
| 146 | $data = [ |
|
| 147 | 'deleted' => '1', |
|
| 148 | ]; |
|
| 149 | $result = $this->getDatabase() |
|
| 150 | ->table($this->getTable()) |
|
| 151 | ->where('id', $ids) |
|
| 152 | ->update($data); |
|
| 153 | ||
| 154 | return $result; |
|
| 155 | } |
|
| 156 | ||
| 157 | /** |
|
| 158 | * @param integer $meetingId |
|
| @@ 132-138 (lines=7) @@ | ||
| 129 | * @param int ID/s of record |
|
| 130 | * @return boolean |
|
| 131 | */ |
|
| 132 | public function delete($ids) |
|
| 133 | { |
|
| 134 | $data = array('deleted' => '1'); |
|
| 135 | $result = $this->getDatabase()->table($this->getTable())->where('id', $ids)->update($data); |
|
| 136 | ||
| 137 | return $result; |
|
| 138 | } |
|
| 139 | ||
| 140 | /** |
|
| 141 | * Return meeting data |
|