My Project
dbIndividual Class Reference

Static Public Member Functions

static addIndividual ($v, $id)
static getAllIndividuals (&$allIndArray)
static getIndividualById ($id)
static getIndividualsByLastName ($letterChosen)
static editIndividual ($v)
static deleteIndividual ($id)
static searchIndividualsByLastName ($nameChosen)

Member Function Documentation

static addIndividual ( v,
id 
) [static]

Inserts an individual instance in the individual table.

Parameters:
Individual$vThe individual instance that's inserted.
Returns:
TRUE if insertion succeeds. FALSE otherwise.
static deleteIndividual ( id) [static]

Delete's an individual with the supplied DonorID

Parameters:
Individual$idThe donor ID of the individual that will be edited
Returns:
TRUE if update was scucessful, FALSE otherwise
static editIndividual ( v) [static]

Edit's an individual with the supplied DonorID

Parameters:
Individual$vThe donor ID of the individual that will be edited
Returns:
TRUE if update was scucessful, FALSE otherwise
static getAllIndividuals ( &$  allIndArray) [static]

Stores individual table in array $allIndArray

Parameters:
array$allIndArray
static getIndividualById ( id) [static]
Author:
Matt V
Parameters:
array$allIndArray
Returns:
$allIndArray returns individuals given id
static getIndividualsByLastName ( letterChosen) [static]
Author:
Matt Vartanian Gets individuals by last name
Parameters:
$chosenLetter
static searchIndividualsByLastName ( nameChosen) [static]

Searches for an individual by last name

Parameters:
$nameChosenThe name of theindividual that will be searched for
Returns:
TRUE if update was scucessful, FALSE otherwise

The documentation for this class was generated from the following file:
 All Data Structures Files Functions