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).

version 1
package wikindx4\core\navigation
author Mark Grimshaw

 Methods

BADINPUT

__construct() 

Close and exit the current script operation.

close(string $error, object $object, string $method) 

Parameters

$error

string

Error message

$object

object

Reference to object. Default is FALSE

$method

string

Method in $object. Default is FALSE

Load the CLOSExxx object

loadClose() 

 Properties

 

$closeType