From 072744998c9eaf61b3743adb109270923ba962af Mon Sep 17 00:00:00 2001 From: Johannes Kantz <67144859+JohannesKantz@users.noreply.github.com> Date: Wed, 21 Dec 2022 10:59:26 +0100 Subject: [PATCH] add: comment --- BancaDati/BancaDati.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BancaDati/BancaDati.php b/BancaDati/BancaDati.php index 0a81b46..9701740 100644 --- a/BancaDati/BancaDati.php +++ b/BancaDati/BancaDati.php @@ -29,6 +29,15 @@ class BancaDati { $data[8] = chr(ord($data[8]) & 0x3f | 0x80); return vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex($data), 4)); } + + /** + * Einheitliche Update Funktion + * @param string $table + * @param string $id + * @param array $values + * @return void + * @author Malte Schulze Hobeling + */ public function update(string $table, string $id, array $values){ $value = ""; foreach ($values as $col => $v){