From 79102218324e794bb7096e682d61841b570fc411 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 8 Jan 2014 15:20:12 -0800 Subject: preparatory work for supporting a "list view" mode for conversations. This would be useful for forum-like channels and/or block-oriented themes. --- include/ItemObject.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/ItemObject.php') diff --git a/include/ItemObject.php b/include/ItemObject.php index 170f013a1..40f85f5ef 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -10,6 +10,7 @@ require_once('boot.php'); /** * An item */ + class Item extends BaseObject { public $data = array(); private $template = 'conv_item.tpl'; @@ -458,6 +459,11 @@ class Item extends BaseObject { return $this->template; } + + private function set_template($t) { + $this->template = $t; + } + /** * Check if this is a toplevel post */ -- cgit v1.2.3