displayMerits

(/rs/public/functions.php)

displayMerits -- Echo out a merit table for a fleet.

Description

void displayMerits ($fleet)

This function echos out a merit table for the fleet with id $fleet. If $fleet is invalid, then an empty merit table will be generated.

It is recommended for this function that the page the table is being displayed on contains the style class "scoresShaded" so that alternating rows in the table can be a different color.

This function does not return anything.

Examples

displayMerits () /* Empty table is displayed */

displayMerits (1) /* Merits table is displayed for fleet with id 1 */

Related Functions

None.

Dependencies

returnMember

Function Index