Class: I2CE BackgroundProcess: Difference between revisions

From IHRIS Wiki
(Created page with 'This article desrcibes the class '''I2CE_BackgroundProcess'''which extends the class I2CE_Module It is contained in the module [[Module List#BackgroundPr…')
 
No edit summary
Line 1: Line 1:
This article desrcibes the class '''I2CE_BackgroundProcess'''which extends the class [[Class: I2CE_Module | I2CE_Module]]
This article desrcibes the class '''I2CE_BackgroundProcess'''which extends the class [[Class: I2CE_Module | I2CE_Module]]
It is contained in the module [[Module List#BackgroundProcess|BackgroundProcess]] in the package [https://launchpad.net/i2ce I2CE]
It is contained in the module [[iHRIS Module List#BackgroundProcess|BackgroundProcess]] in the package [https://launchpad.net/i2ce I2CE]
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:modules/BackgroundProcess/I2CE_BackgroundProcess.php modules/BackgroundProcess/I2CE_BackgroundProcess.php]
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:modules/BackgroundProcess/I2CE_BackgroundProcess.php modules/BackgroundProcess/I2CE_BackgroundProcess.php]
I2CE_BackgroundProcess
I2CE_BackgroundProcess

Revision as of 16:00, 16 October 2009

This article desrcibes the class I2CE_BackgroundProcesswhich extends the class I2CE_Module It is contained in the module BackgroundProcess in the package I2CE The class is defined in the file: modules/BackgroundProcess/I2CE_BackgroundProcess.php I2CE_BackgroundProcess @package I2CE @subpackage Core @author Carl Leitner <litlfred@ibiblio.org> @version 2.1 @access public

Methods

getLogDir()

Returns the log directory for background process. It will attempt to create it if it is not there. @returnn mixed string the logDirectory or false on failure/inaccessable

  • Signature: static public function getLogDir()

getMethods()

  • Signature: static public function getMethods()

launchBackgroundPHPScript()

  • Signature: static public function launchBackgroundPHPScript($obj,$script,$cl_args,$wd)

Parameters:

  • mixed $obj
    The calling object
  • string $script
    The php script
  • mixed $cl_args
    String or array of string, the command line arguments. Defualts to empty arra.
    • Default Value: array()
  • string $wd
    Workking directory. Default to null
    • Default Value: null

launchBackgroundPage()

  • Signature: static public function launchBackgroundPage($obj,$page,$cl_args)

Parameters:

  • mixed $obj
    Calling object
  • string $page
    the name of the page to launch
  • mixed $cl_args
    String or array of string, the command line arguments. Defualts to empty arra.
    • Default Value: array()

launchBackgroundProcess()

  • Signature: static public function launchBackgroundProcess($obj,$cmd,$cl_args,$wd)

Parameters:

  • mixed $obj
    The calling object
  • string $cmd
    The command
  • mixed $cl_args
    String or array of string, the command line arguments. Defualts to empty arra.
    • Default Value: array()
  • string $wd
    Workking directory. Default to null
    • Default Value: null

Inherited Fuzzy Methods

launchBackgroundProcess()

This method is inherited from I2CE_Module->launchBackgroundProcess()

launchBackgroundPHPScript()

This method is inherited from I2CE_Module->launchBackgroundPHPScript()

launchBackgroundPage()

This method is inherited from I2CE_Module->launchBackgroundPage()

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()