From 727a2d71411f781dd9cb1286accda249fb81db72 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 23 Jul 2015 13:48:49 +0200 Subject: [PATCH] Paginator: relax requirements to Paginatable * we need no full query interface here * introduced new interface "Paginatable" fixes #9483 --- library/Icinga/Data/Paginatable.php | 9 +++++++++ library/Icinga/Data/QueryInterface.php | 4 +--- library/Icinga/Web/Widget/Paginator.php | 8 ++++---- 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 library/Icinga/Data/Paginatable.php diff --git a/library/Icinga/Data/Paginatable.php b/library/Icinga/Data/Paginatable.php new file mode 100644 index 000000000..d9a6de397 --- /dev/null +++ b/library/Icinga/Data/Paginatable.php @@ -0,0 +1,9 @@ +query = $query; return $this;