Class jCmdlineCoordinator

Description

The command line version of jCoordinator

This allows us to handle exit code of commands properly

Located in /core/jCmdlineCoordinator.class.php (line 19)

jCoordinator
   |
   --jCmdlineCoordinator
Variable Summary
Method Summary
jCmdlineCoordinator __construct ( $configFile, [ $enableErrorHandler = true])
void handleError (string $type, integer $code, string $message, string $file, integer $line, array $trace)
void process (jRequestCmdline $request)
Variables
Methods
Constructor __construct (line 21)
jCmdlineCoordinator __construct ( $configFile, [ $enableErrorHandler = true])
  • $configFile
  • $enableErrorHandler

Redefinition of:
jCoordinator::__construct()
handleError (line 54)

Handle an error event. Called by error handler and exception handler.

  • since: 1.1
  • access: public
void handleError (string $type, integer $code, string $message, string $file, integer $line, array $trace)
  • string $type: error type : 'error', 'warning', 'notice'
  • integer $code: error code
  • string $message: error message
  • string $file: the file name where the error appear
  • integer $line: the line number where the error appear
  • array $trace: the stack trace

Redefinition of:
jCoordinator::handleError()
Handle an error event. Called by error handler and exception handler.
process (line 36)

main method : launch the execution of the action.

This method should be called in a Command line entry point.

  • access: public
void process (jRequestCmdline $request)
  • jRequestCmdline $request: the command line request object

Redefinition of:
jCoordinator::process()
main method : launch the execution of the action.

Inherited Methods

Inherited From jCoordinator

jCoordinator::__construct()
jCoordinator::errorHandler()
jCoordinator::exceptionHandler()
jCoordinator::execOriginalAction()
jCoordinator::getController()
jCoordinator::getErrorMessage()
jCoordinator::getGenericErrorMessage()
jCoordinator::getModulePath()
jCoordinator::getPlugin()
jCoordinator::handleError()
jCoordinator::initDefaultResponseOfRequest()
jCoordinator::isModuleEnabled()
jCoordinator::isPluginEnabled()
jCoordinator::process()

Documentation generated on Mon, 26 Oct 2015 21:52:00 +0100 by phpDocumentor 1.4.3