My Project
dbOrganization Class Reference

Static Public Member Functions

static addOrganization ($v, $id)
static getAllOrganizations (&$allIndArray)
static getOrganizationById ($id)
static editOrganization ($v)
static deleteOrganization ($id)
static getOrganizationsByName ($letterChosen)
static searchOrganizationsByName ($nameChosen)

Member Function Documentation

static addOrganization ( v,
id 
) [static]

Inserts an Organization instance in the individual table.

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

Delete's an organization with the supplied DonorID

Parameters:
OrganizationID $id The donor ID of the Organization that will be deleted
Returns:
TRUE if update was scucessful, FALSE otherwise
static editOrganization ( v) [static]

Edit's an organization with the supplied DonorID

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

Stores organization table in array $allIndArray

Parameters:
array$allIndArray
static getOrganizationById ( id) [static]

Retrieves the organization by the unique id

Parameters:
array$allIndArray
Returns:
$allIndArray returns the organization with that id
static getOrganizationsByName ( letterChosen) [static]
Author:
Scott Adie Gets the organization by name
Parameters:
$letterChosen
static searchOrganizationsByName ( nameChosen) [static]

Searches for an organization by name

Parameters:
$nameChosenthe organizations name
Returns:
$allOrgArray TRUE if update was scucessful, FALSE otherwise

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