require_once(INSTALLDIR.'/classes/Notice.php');
-class NoticeWrapper extends Notice {
+class NoticeWrapper extends Notice
+{
public $id; // int(4) primary_key not_null
public $profile_id; // int(4) not_null
var $notices = null;
var $i = -1;
- function __construct($arr) {
+ function __construct($arr)
+ {
$this->notices = $arr;
}
- function fetch() {
+ function fetch()
+ {
static $fields = array('id', 'profile_id', 'uri', 'content', 'rendered',
'url', 'created', 'modified', 'reply_to', 'is_local', 'source');
$this->i++;