\DeleteFlightSensor

Class DeleteFlightSensor Delete flight sensor

Summary

Methods
Properties
Constants
__construct()
output()
render()
error()
No public properties found
No constants found
has_keys()
$db
$output
N/A
print_json()
No private properties found
N/A

Properties

$output

$output : array

Output array for JSON

Type

array

Methods

__construct()

__construct() 

Init the page, specify if you need a database connection

output()

output(array  $matches) 

Generates page content and prints.

Parameters

array $matches

The matches array from preg_match.

render()

render(  $regex_matches) 

Constructs the page.

Parameters

$regex_matches

error()

error(  $message) 

Sends error to the screen

Parameters

$message

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.

print_json()

print_json(integer  $flags) 

Prints the JSON to the browser

Parameters

integer $flags