Commit 12921d6b authored by Evan Prodromou's avatar Evan Prodromou

accessor for NoticeListItem's Notice

parent 6e01db2c
......@@ -720,4 +720,17 @@ class NoticeListItem extends Widget
Event::handle('EndCloseNoticeListItemElement', array($this));
}
}
/**
* Get the notice in question
*
* For hooks, etc., this may be useful
*
* @return Notice The notice we're showing
*/
function getNotice()
{
return $this->notice;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment