returnMemberFleets

(/rs/public/functions.php)

returnMemberFleets -- Array of fleet id's a member belongs to.

Description

array returnMemberFleets ($pin)

This function returns an array containing any fleets a member is in. Fleet CS, Wing CS, and all squadron positions are checked. Positions not checked include IO positions, and the TCO and TXO positions.

This function returns an empty array on failure.

Examples

returnMemberFleets (1) /* Returns an array containing any fleets that the member with id 1 is currently on the roster for. */

returnMemberFleets () /* Returns an empty array */

Related Functions

getCommandPositions

Dependencies

not_zero, getCommandPositions

Function Index