From 0ff9d57504c1251a723b5c1b70483c1c0161e945 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 16 Nov 2014 18:36:13 +0100 Subject: [PATCH] Livestatus\Connection: just a comment --- library/Icinga/Protocol/Livestatus/Connection.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/library/Icinga/Protocol/Livestatus/Connection.php b/library/Icinga/Protocol/Livestatus/Connection.php index c24b8ed76..d54c9d991 100644 --- a/library/Icinga/Protocol/Livestatus/Connection.php +++ b/library/Icinga/Protocol/Livestatus/Connection.php @@ -76,6 +76,13 @@ class Connection protected $socket_type; protected $connection; + /** + * Whether the given table name is valid + * + * @param string $name table name + * + * @return bool + */ public function hasTable($name) { return in_array($name, $this->available_tables);