Class: I2CE Module FormWorm: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 3: Line 3:
*Definition in [[#modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php|modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php]]
*Definition in [[#modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php|modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php]]
=modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php=
=modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php=
This article desrcibes the class '''I2CE_Module_FormWorm''' which extends the class [[Class: I2CE_Module | I2CE_Module]]
This article desrcibes the class '''I2CE_Module_FormWorm'''.
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
It is contained in the module [[iHRIS Module List#MooTools|MooTools]] in the package [https://launchpad.net/i2ce I2CE]
It is contained in the module [[iHRIS Module List#MooTools|MooTools]] in the package [https://launchpad.net/i2ce I2CE]


Line 23: Line 24:
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()===
Line 48: Line 49:
This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]]
This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]]
=modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php=
=modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php=
This article desrcibes the class '''I2CE_Module_FormWorm''' which extends the class [[Class: I2CE_Module | I2CE_Module]]
This article desrcibes the class '''I2CE_Module_FormWorm'''.
*Extends the class: [[Class: I2CE_Module | I2CE_Module]].
It is contained in the module [[iHRIS Module List#MooTools|MooTools]] in the package [https://launchpad.net/i2ce I2CE]
It is contained in the module [[iHRIS Module List#MooTools|MooTools]] in the package [https://launchpad.net/i2ce I2CE]


Line 68: Line 70:
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()===

Revision as of 21:25, 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.

It is contained in the module MooTools in the package I2CE

The class is defined in the file: modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php

I2CE_Module_FormWorm @subpackage Core

  • Author: Carl Leitner <litlfred@ibiblio.org>

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.

It is contained in the module MooTools in the package I2CE

The class is defined in the file: modules/MooTools/modules/FormWorm/I2CE_Module_FormWorm.php

I2CE_Module_FormWorm @subpackage Core

  • Author: Carl Leitner <litlfred@ibiblio.org>

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