Class: I2CE Module Jumper: Difference between revisions

From IHRIS Wiki
(Created page with 'This article desrcibes the class '''I2CE_Module_Jumper'''which extends the class I2CE_Module It is contained in the module [[iHRIS Module List#jumper|jum…')
 
(Redirected page to Class: I2CE Module Jumper (4.1.7))
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article desrcibes the class '''I2CE_Module_Jumper'''which extends the class [[Class: I2CE_Module | I2CE_Module]]
#REDIRECT [[Class: I2CE_Module_Jumper (4.1.7)]]
It is contained in the module [[iHRIS Module List#jumper|jumper]] 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/Jumper/I2CE_Module_Jumper.php modules/Jumper/I2CE_Module_Jumper.php]
I2CE_Module_Jumper
@package I2CE
@subpackage Core
@author Carl Leitner <litlfred@ibiblio.org>
@version 2.1
@access public
==Methods==
===getMethods()===
*Signature: static public function getMethods()
===makeJumper()===
Shows the jumper. This jumper works for pages that process a get request.  The page must put the all results in
the node with id "{$id_base}_results".  The jumper is placed in the node with id "{$id_base}_pager_display".  It
is expected that the node with id "{$id_base}_pager_display" is a sub-node of the node with id "{$id_base}_results".
Note:  there will be several nodes created with id's of the form "{$id_base}_pager_$something" so with the exception
of $something='display' you should not use id's of this form.
 
This fuzzy method can be called either from an I2CE_Page or an I2CE_Template.
 
@param associatibe array $query_fields  keys are the query variables needed for the get request.  values are the _unencoded_ values that
the variable should have.
@param string $pageVaraiable the get variable to store the requested page number in.  Defaults to 'page'
*Signature: public function makeJumper($template,$id_base,$page,$total_pages,$pageURL,$query_fields,$pageVariable)
Parameters:
*$template
* [http://www.php.net/manual/en/language.types.string.php string] $id_base<br/>the base id that should be used in identifying the node to update (e.g. 'report')
* [http://www.php.net/manual/en/language.types.integer.php int] $page<br/>the current page number
* [http://www.php.net/manual/en/language.types.integer.php int] $total_pages<br/>the total numnber pf pages
* [http://www.php.net/manual/en/language.types.string.php string] $pageURL<br/>the url of the page we will make the request from
*$query_fields
*$pageVariable
**Default Value: 'page'
==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()===
This method is inherited from [[Class: I2CE_Fuzzy#userMessage() | I2CE_Fuzzy->userMessage()]]
 
 
[[Category:Class Documentation]]

Latest revision as of 08:43, 23 August 2013