Add user::objectMakeLink(), used by appData and testData objectOutputTableRow()
This commit is contained in:
committed by
WineHQ
parent
558ff17e36
commit
fa3872b256
@@ -1043,6 +1043,18 @@ class User {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function objectMakeUrl()
|
||||
{
|
||||
$sUrl = BASE."contact.php?iRecipientId=$this->iUserId";
|
||||
return $sUrl;
|
||||
}
|
||||
|
||||
function objectMakeLink()
|
||||
{
|
||||
$sLink = "<a href=\"".$this->objectMakeUrl()."\">$this->sRealname</a>";
|
||||
return $sLink;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user