aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-18 14:53:18 -0800
committerfriendica <info@friendica.com>2013-12-18 14:53:18 -0800
commit1a4c91ccf5f95d03badd57f655d4feced50d39d2 (patch)
tree2f097618c0ee6fc26002028a90a54b39c65b6a0c /boot.php
parent38fd8410eb5c66928cb24bb87ad38657f53aec3a (diff)
downloadvolse-hubzilla-1a4c91ccf5f95d03badd57f655d4feced50d39d2.tar.gz
volse-hubzilla-1a4c91ccf5f95d03badd57f655d4feced50d39d2.tar.bz2
volse-hubzilla-1a4c91ccf5f95d03badd57f655d4feced50d39d2.zip
Add App::poi to store the "person of interest" for a given page. This is so we can comanchificate the vcard_from_xchan widget -- it will pick up the target xchan from the page environment.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/boot.php b/boot.php
index 9c0fb8919..f85049bc2 100755
--- a/boot.php
+++ b/boot.php
@@ -572,11 +572,12 @@ function startup() {
class App {
- public $account = null; // account record
- public $channel = null; // channel record
- public $observer = null; // xchan record
- public $profile_uid = 0; // If applicable, the uid of the person whose stuff this is.
- public $layout = array(); // Comanche parsed template
+ public $account = null; // account record of the logged-in account
+ public $channel = null; // channel record of the current channel of the logged-in account
+ public $observer = null; // xchan record of the page observer
+ public $profile_uid = 0; // If applicable, the channel_id of the "page owner"
+ public $poi = null; // "person of interest", generally a referenced connection
+ public $layout = array(); // Comanche parsed template
private $perms = null; // observer permissions