[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> functions_warnings.php (summary)

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license

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

Defines 2 functions

  fetch_friendly_expiration()
  fetch_time_length()

Functions
Functions that are not part of a class:

fetch_friendly_expiration($time)   X-Ref
Returns a friendly expiration time of a suspension/warning

param: int The time period of the suspension/warning
return: array An array of the time/period remaining

fetch_time_length($time, $period)   X-Ref
Figures out the length of a suspension/warning

param: int The amount of time to calculate the length of suspension/warning
param: string The period of time to calculate the length of suspension/warning
return: int Length of the suspension/warning (in seconds)



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