preparatory work for supporting a "list view" mode for conversations. This would be useful for forum-like channels and/or block-oriented themes.

This commit is contained in:
friendica
2014-01-08 15:20:12 -08:00
parent f1d6d58832
commit 7910221832
7 changed files with 15 additions and 0 deletions

View File

@@ -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
*/