Class: I2CE Timer: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article desrcibes the class '''I2CE_Timer''' | This article desrcibes the class '''I2CE_Timer'''. | ||
*Extends the class: [[Class: I2CE_Module | I2CE_Module]]. | |||
It is contained in the module [[iHRIS Module List#Timer|Timer]] in the package [https://launchpad.net/i2ce I2CE] | It is contained in the module [[iHRIS Module List#Timer|Timer]] in the package [https://launchpad.net/i2ce I2CE] | ||
Line 33: | Line 34: | ||
*Signature: static public function startProcess($timer) | *Signature: static public function startProcess($timer) | ||
Parameters: | Parameters: | ||
* [http://www.php.net/manual/en/language.types.string.php string] $timer<br/>The name of a timing process. Default to 'default' | * [http://www.php.net/manual/en/language.types.string.php string ] $timer<br/>The name of a timing process. Default to 'default' | ||
**Default Value: 'default' | **Default Value: 'default' | ||
===startTimer()=== | ===startTimer()=== |
Revision as of 21:25, 16 October 2009
This article desrcibes the class I2CE_Timer.
- Extends the class: I2CE_Module.
It is contained in the module Timer in the package I2CE
The class is defined in the file: modules/Timer/I2CE_Timer.php
@subpackage Core I2CE_Timer @todo Better Documentation
- Author: Carl Leitner <litlfred@ibiblio.org>
Variables
$starttime
- Type: static public $starttime
Methods
getMicroTime()
gets the current time
- Signature: static public function getMicroTime()
processTime()
- Signature: static public function processTime($timer)
Parameters:
- $timer
- Default Value: 'default'
setTime()
- Signature: public function setTime($args)
Parameters:
- $args
showTimes()
- Signature: public function showTimes($args)
Parameters:
- $args
startProcess()
Starts the process timer
- Signature: static public function startProcess($timer)
Parameters:
- string $timer
The name of a timing process. Default to 'default'- Default Value: 'default'
startTimer()
- Signature: public function startTimer()
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()