From 9485b1bf1a83fb2cbbb7cd506d8c5cc89a1eeaea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Wed, 13 Nov 2019 21:04:57 +0100 Subject: dodal fetchvsasporocila --- main.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.php b/main.php index 5ae6cb2..43c187b 100644 --- a/main.php +++ b/main.php @@ -786,5 +786,12 @@ Errors: } return $ocene; } + public function fetchvsasporocila($katera = 0) { + $msgs = null; + foreach($this->fetchsporocilaseznam($katera) as $mesidz) { + $msgs[] = $this->fetchsporocilo($mesidz['id']); + } + return $msgs; + } } ?> -- cgit v1.2.3