[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> class_timers.php (summary)

(no description)

File Size: 134 lines (2 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

timer:: (6 methods):
  __construct()
  add()
  getTime()
  stop()
  remove()
  format()


Class: timer  - X-Ref

MyBB 1.6
Copyright 2010 MyBB Group, All Rights Reserved

Website: http://mybb.com
License: http://mybb.com/about/license

$Id: class_timers.php 5828 2012-05-08 16:06:16Z Tomm $
__construct()   X-Ref
Constructor of class.


add()   X-Ref
Starts the timer.


getTime()   X-Ref
Gets the time for which the timer has run up until this point.

return: string|boolean The formatted time up until now or false when timer is no longer running.

stop()   X-Ref
Stops the timer.

return: string The formatted total time.

remove()   X-Ref
Removes the timer.


format($string)   X-Ref
Formats the timer time in a pretty way.

param: string The time string.
return: The formatted time string.



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1