\BADINPUT

BADINPUT

Display various error messages when input has gone wrong and, if necessary, redirect and close the script

If an $object and $method are provided, it is expected that that method will exit the script tidily itself and will provide a means to print $error. Otherwise, $closeType calls the CLOSExxx object to exit (this is the default).

Summary

Methods
Properties
Constants
__construct()
close()
$closeType
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$closeType

$closeType : 

string

Type

Methods

__construct()

__construct() : 

BADINPUT

Returns

close()

close(  error,   object = FALSE,   method = FALSE) : 

Close and exit the current script operation.

Parameters

error

Error message

object

Reference to object. Default is FALSE

method

If string, method in $object. If array, 1st element is method in $object followed by other messages to pass to the method. Default is FALSE

Returns