diff --git a/class/listview.php b/class/listview.php
index 288fd52d2d2dac77f50a01e5c67b2982f1c414c3..460908d40ea46e0930cc254d42c4999667defaa1 100644
--- a/class/listview.php
+++ b/class/listview.php
@@ -4,12 +4,13 @@ class ListView
 {
     protected $title;
     protected $objArray;
-
+    public $class;
 
     public function __construct($class, $title)
     {
         $this->title = $title;
         $this->objArray = $class::getAll();
+        $this->class = $class;
     }
 
     public function getTitle() {