public static function getStatusStrength($constant)
public static function getStatusStrength($constant)
Returns the relative strength of a status, used to pick a winner when a transaction group makes several status changes to a particular reviewer.
For example, if you accept a revision and leave a comment, the transactions will attempt to update you to both "commented" and "accepted". We want "accepted" to win, because it's the stronger of the two.
Parameters
const | $constant | Reviewer status constant. |
Return
int | Relative strength (higher is stronger). |