Skip to content

Commit 5ce9451

Browse files
authored
Update PortletPage.php
1 parent 2dc42d2 commit 5ce9451

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/PortletPage.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ function setTemplate($template)
102102
$this->ptTemplate = $template;
103103
}
104104

105+
/* function */
106+
function getPage()
107+
{
108+
return get_object_vars($this);
109+
}
110+
105111
/* function */
106112
function generatePage($extra = array())
107113
{
@@ -128,4 +134,4 @@ function generatePage($extra = array())
128134

129135
return $portlet;
130136
}
131-
}
137+
}

0 commit comments

Comments
 (0)