aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-03 22:28:19 -0700
committerfriendica <info@friendica.com>2012-10-03 22:28:19 -0700
commite124c9fa5ca046d48eb927fe80706cf6d42f6bff (patch)
tree8df07cdd9a21c977bc961328cdc6a2f161a82988 /boot.php
parentd0f62d1219d035d92f3adb717d9fdbed03fa6dd5 (diff)
downloadvolse-hubzilla-e124c9fa5ca046d48eb927fe80706cf6d42f6bff.tar.gz
volse-hubzilla-e124c9fa5ca046d48eb927fe80706cf6d42f6bff.tar.bz2
volse-hubzilla-e124c9fa5ca046d48eb927fe80706cf6d42f6bff.zip
Can't see any posts currently - after the big shakeup, but we can now post top level activities and store them.
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index ff4547720..266b45914 100644
--- a/boot.php
+++ b/boot.php
@@ -368,9 +368,11 @@ if(! class_exists('App')) {
class App {
public $account = null;
+
private $channel = null;
+ private $observer = null;
private $widgets = array();
-
+
public $language;
public $module_loaded = false;
public $query_string;
@@ -612,6 +614,15 @@ if(! class_exists('App')) {
return $this->channel;
}
+
+ function set_observer($xchan) {
+ $this->observer = $xchan;
+ }
+
+ function get_observer() {
+ return $this->observer;
+ }
+
function set_widget($title,$html, $location = 'aside') {
$this->widgets[] = array('title' => $title, 'html' => $html, 'location' => $location);
}