* Copyright (C) 2011, StatusNet, Inc.
*
* For use by microapps to customize notice list item output
- *
+ *
* PHP version 5
*
* This program is free software: you can redistribute it and/or modify
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/
*/
-
class NoticeListItemAdapter
{
protected $nli;
*
* @param NoticeListItem $nli item to wrap
*/
-
function __construct($nli)
{
$this->nli = $nli;
{
return call_user_func_array(array($this->nli, $name), $arguments);
}
+
+ function __get($name)
+ {
+ return $this->nli->$name;
+ }
}