]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticelistitemadapter.php
HTTPClient would return null instead of exception
[quix0rs-gnu-social.git] / lib / noticelistitemadapter.php
index 48530a9c1a85b5def2d8a0dafab6e143be1fb2d3..a80b63088ce61488fe124afb39ffe9af55df34bc 100644 (file)
@@ -4,7 +4,7 @@
  * 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
@@ -44,7 +44,6 @@ if (!defined('STATUSNET')) {
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
  * @link      http://status.net/
  */
-
 class NoticeListItemAdapter
 {
     protected $nli;
@@ -54,7 +53,6 @@ class NoticeListItemAdapter
      *
      * @param NoticeListItem $nli item to wrap
      */
-
     function __construct($nli)
     {
         $this->nli = $nli;
@@ -72,4 +70,9 @@ class NoticeListItemAdapter
     {
         return call_user_func_array(array($this->nli, $name), $arguments);
     }
+
+    function __get($name)
+    {
+        return $this->nli->$name;
+    }
 }