aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 63c7325ea..5dddb6404 100644
--- a/boot.php
+++ b/boot.php
@@ -454,7 +454,7 @@ if(! class_exists('App')) {
private $widgets = array(); // widgets for this page
-
+ public $groups;
public $language;
public $module_loaded = false;
public $query_string;
@@ -749,6 +749,13 @@ if(! class_exists('App')) {
$this->apps = $arr;
}
+ function set_groups($g) {
+ $this->groups = $g;
+ }
+
+ function get_groups() {
+ return $this->groups;
+ }
function set_widget($title,$html, $location = 'aside') {
$this->widgets[] = array('title' => $title, 'html' => $html, 'location' => $location);