Returns formatted owner names of a ticket.
public static getOwners ( integer $ticket, $showemail = true, boolean $showname = true, array $owners = null ) : string | ||
$ticket | integer | A ticket id. Only used if $owners is null. |
$showname | boolean | Should we include the name in the output? |
$owners | array | An array of owners as returned from Whups_Driver::getOwners() to be formatted. If this is provided, they are used instead of the owners from $ticket. |
return | string | The formatted owner string. |