Class: I2CE Module FormWorm: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 19: Line 19:
Adds a form worm
Adds a form worm
*Signature: public function addFormWorm($obj,$wormname,$options)
*Signature: public function addFormWorm($obj,$wormname,$options)
Parameters:
*Parameters:
*$obj  
*$obj  
* [http://www.php.net/manual/en/language.types.string.php string ] $wormname<br/>The id of the form we wish to add a form worm to
** [http://www.php.net/manual/en/language.types.string.php string ] $wormname <br/>The id of the form we wish to add a form worm to
* [http://www.php.net/manual/en/language.types.array.php array ] $options<br/>Defaults to empty array.  Passed to the javascript formwork constructor.
** [http://www.php.net/manual/en/language.types.array.php array ] $options <br/>Defaults to empty array.  Passed to the javascript formwork constructor.
**Default Value: array()
***Default Value: array()
===getHooks()===
===getHooks()===
*Signature: static public function getHooks()
*Signature: static public function getHooks()
Line 30: Line 30:
===writeOutJS()===
===writeOutJS()===
*Signature: public function writeOutJS($page)
*Signature: public function writeOutJS($page)
Parameters:
*Parameters:
*$page  
*$page  


Line 62: Line 62:
Adds a form worm
Adds a form worm
*Signature: public function addFormWorm($obj,$wormname,$options)
*Signature: public function addFormWorm($obj,$wormname,$options)
Parameters:
*Parameters:
*$obj  
*$obj  
* [http://www.php.net/manual/en/language.types.string.php string ] $wormname<br/>The id of the form we wish to add a form worm to
** [http://www.php.net/manual/en/language.types.string.php string ] $wormname <br/>The id of the form we wish to add a form worm to
* [http://www.php.net/manual/en/language.types.array.php array ] $options<br/>Defaults to empty array.  Passed to the javascript formwork constructor.
** [http://www.php.net/manual/en/language.types.array.php array ] $options <br/>Defaults to empty array.  Passed to the javascript formwork constructor.
**Default Value: array()
***Default Value: array()
===getHooks()===
===getHooks()===
*Signature: static public function getHooks()
*Signature: static public function getHooks()
Line 73: Line 73:
===writeOutJS()===
===writeOutJS()===
*Signature: public function writeOutJS($page)
*Signature: public function writeOutJS($page)
Parameters:
*Parameters:
*$page  
*$page  



Revision as of 22:40, 16 October 2009

The class I2CE_Module_FormWorm contains 2 definitions:

modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php

This article desrcibes the class I2CE_Module_FormWorm.

I2CE_Module_FormWorm

Variables

$formworms

  • Type: protected $formworms

Methods

__construct()

  • Signature: public function __construct()

addFormWorm()

Adds a form worm

  • Signature: public function addFormWorm($obj,$wormname,$options)
  • Parameters:
  • $obj
    • string $wormname
      The id of the form we wish to add a form worm to
    • array $options
      Defaults to empty array. Passed to the javascript formwork constructor.
      • Default Value: array()

getHooks()

  • Signature: static public function getHooks()

getMethods()

  • Signature: static public function getMethods()

writeOutJS()

  • Signature: public function writeOutJS($page)
  • Parameters:
  • $page

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

modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php

This article desrcibes the class I2CE_Module_FormWorm.

I2CE_Module_FormWorm

Variables

$formworms

  • Type: protected $formworms

Methods

__construct()

  • Signature: public function __construct()

addFormWorm()

Adds a form worm

  • Signature: public function addFormWorm($obj,$wormname,$options)
  • Parameters:
  • $obj
    • string $wormname
      The id of the form we wish to add a form worm to
    • array $options
      Defaults to empty array. Passed to the javascript formwork constructor.
      • Default Value: array()

getHooks()

  • Signature: static public function getHooks()

getMethods()

  • Signature: static public function getMethods()

writeOutJS()

  • Signature: public function writeOutJS($page)
  • Parameters:
  • $page

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