[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/inc/ -> class_timers.php (summary)

(no description)

File Size: 133 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.8
Copyright 2014 MyBB Group, All Rights Reserved

Website: http://www.mybb.com
License: http://www.mybb.com/about/license
__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.
return: string The formatted time string.
param: string $string The time string.



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref