\

Classes

API Class API Contains all the routes and their classes
APIPage Class APIPage Abstract class that all api functions extend
ArsfDatabase Class ArsfDatabase
DeleteFlight Class DeleteFlight Delete flight
DeleteFlightSensor Class DeleteFlightSensor Delete flight sensor
DeleteProject Class DeleteProject Delete project
DeleteSensorStatus Class DeleteSensorStatus Delete specified sensor status
GetFlightInfo Class GetFlightInfo Get flight details
GetFlightSensorInfo Class GetFlightSensorInfo Get flight sensor info
GetPiFromProject Class GetPiFromProject Get PI information using a project code
GetPiInfo Class GetPiInfo Get PI information
GetProgressFlightInfo Class GetProgressFlightInfo
GetProgressFlightSensorInfo Class GetProgressFlightSensorInfo Get progress details for flight sensor
GetProjectInfo Class GetProjectInfo Get project info
GetSensorStatuses Class GetSensorStatuses Return sensor status for a given flight sensor ID
InsertFlight Class InsertFlight Add new flight to database
InsertFlightProject Class InsertFlightProject Add new flight project link
InsertFlightSensor Class InsertFlightSensor Insert new flight sensor
InsertProject Class InsertProject Add new project to database
InsertSensorStatus Class InsertSensorStatus Insert sensor status
TemplateParser Class TemplateParser Contains a variable array, it expands the array so therefore its contents become local variables in their own right, then includes a template page and renders.
UpdateFlight Class UpdateFlight Update flight details
UpdateFlightProject Class UpdateFlightProject Update flight project linkage
UpdateFlightSensor Class UpdateFlightSensor Update flight sensor information
UpdatePi Class UpdatePi Update PI info
UpdateProject Class UpdateProject Update project info
UpdateSensorStatus Class UpdateSensorStatus Update sensor status

Functions

create_cell()

create_cell(string  $string) : string

Converts a string from the database into HTML

Parameters

string $string

Cell from database

Returns

string —

HTML

create_cell()

create_cell(string  $string) : string

Create a cell for the progress part of the table

Parameters

string $string

Cell from the database

Returns

string —

Returns the html for a cell

create_cell()

create_cell(string  $string) : string

Converts a string from the database into HTML

Parameters

string $string

Cell from database

Returns

string —

HTML

displayPage()

displayPage() 

Render the page

displayPage()

displayPage() 

Display page

displayPage()

displayPage() 

Display the page

displayPage()

displayPage() 

displayPage()

displayPage() 

Render the page

displayPage()

displayPage() 

Render the page

has_keys()

has_keys(array  $array, array  $keys) : boolean

Checks to see if the array contains the keys in the array keys.

Parameters

array $array

Array

array $keys

Keys to be in Array

Returns

boolean —

$result true if the array has all the keys, otherwise false.

has_keys()

has_keys(array  $array, array  $keys) : boolean

Checks to see if the array contains the keys in the array keys.

Parameters

array $array

Array

array $keys

Keys to be in Array

Returns

boolean —

$result true if the array has all the keys, otherwise false.

has_keys()

has_keys(array  $array, array  $keys) : boolean

Checks to see if the array contains the keys in the array keys.

Parameters

array $array

Array

array $keys

Keys to be in Array

Returns

boolean —

$result true if the array has all the keys, otherwise false.

sensors()

sensors(  $sensor_row) 

Parameters

$sensor_row

zero_pad()

zero_pad(string  $string) : string

Pad the julian day with 0 if its only 2 digits

Parameters

string $string

Julian Day with or without a sortie

Returns

string —

Padded Julian Day

zero_pad()

zero_pad(string  $string) : string

Pad the julian day with 0 if its only 2 digits

Parameters

string $string

Julian Day with or without a sortie

Returns

string —

Padded Julian Day