Class: I2CE BackgroundProcess: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 66: Line 66:
===getHooks()===
===getHooks()===
This public method is inherited from [[Class: I2CE_Module#getHooks() | I2CE_Module->getHooks()]]
This public method is inherited from [[Class: I2CE_Module#getHooks() | I2CE_Module->getHooks()]]
===getMethods()===
This public method is inherited from [[Class: I2CE_Module#getMethods() | I2CE_Module->getMethods()]]


===post_update()===
===post_update()===
Line 85: Line 82:
This public method is inherited from [[Class: I2CE_Fuzzy#_hasMethod() | I2CE_Fuzzy->_hasMethod()]]
This public method is inherited from [[Class: I2CE_Fuzzy#_hasMethod() | I2CE_Fuzzy->_hasMethod()]]
==Inherited Fuzzy Methods==
==Inherited Fuzzy Methods==
===launchBackgroundProcess()===
This method is inherited from [[Class: I2CE_Module#launchBackgroundProcess() | I2CE_Module->launchBackgroundProcess()]]
===launchBackgroundPHPScript()===
This method is inherited from [[Class: I2CE_Module#launchBackgroundPHPScript() | I2CE_Module->launchBackgroundPHPScript()]]
===launchBackgroundPage()===
This method is inherited from [[Class: I2CE_Module#launchBackgroundPage() | I2CE_Module->launchBackgroundPage()]]
===userMessage()===
===userMessage()===
This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]]
This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]]

Revision as of 14:08, 17 October 2009

This article desrcibes the class I2CE_BackgroundProcess.

I2CE_BackgroundProcess

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 Methods

__construct()

This public method is inherited from I2CE_Module->__construct()

action_configure()

This public method is inherited from I2CE_Module->action_configure()

action_disable()

This public method is inherited from I2CE_Module->action_disable()

action_enable()

This public method is inherited from I2CE_Module->action_enable()

action_initialize()

This public method is inherited from I2CE_Module->action_initialize()

conflict_external()

This public method is inherited from I2CE_Module->conflict_external()

getCLIHooks()

This public method is inherited from I2CE_Module->getCLIHooks()

getCLIMethods()

This public method is inherited from I2CE_Module->getCLIMethods()

getConfig()

This public method is inherited from I2CE_Module->getConfig()

getHooks()

This public method is inherited from I2CE_Module->getHooks()

post_update()

This public method is inherited from I2CE_Module->post_update()

pre_upgrade()

This public method is inherited from I2CE_Module->pre_upgrade()

requirement_external()

This public method is inherited from I2CE_Module->requirement_external()

upgrade()

This public method is inherited from I2CE_Module->upgrade()

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Fuzzy Methods

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()