diff options
author | friendica <info@friendica.com> | 2014-01-08 15:20:12 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-08 15:20:12 -0800 |
commit | 79102218324e794bb7096e682d61841b570fc411 (patch) | |
tree | a6a9918b5d4a750fff4b932ecc1066db56ed8d30 /include/ItemObject.php | |
parent | f1d6d5883238cec7384b5ac6b00b5d0321ecece5 (diff) | |
download | volse-hubzilla-79102218324e794bb7096e682d61841b570fc411.tar.gz volse-hubzilla-79102218324e794bb7096e682d61841b570fc411.tar.bz2 volse-hubzilla-79102218324e794bb7096e682d61841b570fc411.zip |
preparatory work for supporting a "list view" mode for conversations. This would be useful for forum-like channels and/or block-oriented themes.
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r-- | include/ItemObject.php | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |