* Some bug fixes
* Better Question page
This commit is contained in:
Zach Copley
2011-04-04 23:58:35 -07:00
parent cd7ab56874
commit 6c0bb0f35b
4 changed files with 70 additions and 16 deletions

View File

@@ -155,6 +155,11 @@ class QnA_Answer extends Managed_DataObject
return Notice::staticGet('uri', $this->uri);
}
static function fromNotice($notice)
{
return QnA_Answer::staticGet('uri', $notice->uri);
}
function bestUrl()
{
return $this->getNotice()->bestUrl();