diff --git a/dev/ModelViewer.php b/dev/ModelViewer.php index 0cbfb395c..7068109fb 100644 --- a/dev/ModelViewer.php +++ b/dev/ModelViewer.php @@ -1,7 +1,9 @@ module = $module; + + parent::__construct(); } function graph() { @@ -158,6 +173,8 @@ class ModelViewer_Field extends ViewableData { $this->Model = $model; $this->Name = $name; $this->Type = $type; + + parent::__construct(); } } @@ -169,6 +186,8 @@ class ModelViewer_Relation extends ViewableData { $this->Name = $name; $this->RelatedClass = $relatedClass; $this->RelationType = $relationType; + + parent::__construct(); } }