API Documentation
Table of Contents
Namespaces
Constants
- VERSION = "0.8"
- Version
Functions
- isPregValid() : mixed
- displayVersion() : mixed
- displays version
- displayHelp() : mixed
- displays help text.
- displayHelpAndExit() : mixed
- displays help text and exits.
- displayError() : mixed
- displays help text and error string
- displayHelpAndError() : mixed
- displays help text and error string
- filterPort() : mixed
Constants
VERSION
Version
public
mixed
VERSION
= "0.8"
Functions
isPregValid()
isPregValid(mixed $regexp) : mixed
Parameters
- $regexp : mixed
displayVersion()
displays version
displayVersion() : mixed
displayHelp()
displays help text.
displayHelp() : mixed
displayHelpAndExit()
displays help text and exits.
displayHelpAndExit() : mixed
displayError()
displays help text and error string
displayError(mixed $error) : mixed
Parameters
- $error : mixed
-
string
displayHelpAndError()
displays help text and error string
displayHelpAndError(mixed $error) : mixed
Parameters
- $error : mixed
-
string
filterPort()
filterPort(mixed $type) : mixed
Parameters
- $type : mixed