application/actionsave_run_team.php

File for the run team saving action.

Implements an action function to be called from the {@see Controller}.

Functions

action()

action(resource  $db = null) : integer

Saves a run party as a team.

Reads the POST parameters looking for the following KEYS: uid run name description Validates the data and creates the team in the database.

Parameters

resource $db

Database connection.

Returns

integer —

0 on success, negative values on error.