Zeile 8 | Zeile 8 |
---|
* */
|
* */
|
| /** * @param resource|PDOStatement|mysqli_result $query * @param array $max_expiration_times Will be overwritten * @param array $check_levels Will be overwritten */
|
function find_warnlevels_to_check(&$query, &$max_expiration_times, &$check_levels) { global $db;
| function find_warnlevels_to_check(&$query, &$max_expiration_times, &$check_levels) { global $db;
|
Zeile 53 | Zeile 58 |
---|
/** * Returns a friendly expiration time of a suspension/warning *
|
/** * Returns a friendly expiration time of a suspension/warning *
|
* @param int The time period of the suspension/warning
| * @param int $time The time period of the suspension/warning
|
* @return array An array of the time/period remaining */ function fetch_friendly_expiration($time)
| * @return array An array of the time/period remaining */ function fetch_friendly_expiration($time)
|
Zeile 83 | Zeile 88 |
---|
/** * Figures out the length of a suspension/warning *
|
/** * 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
| * @param int $time The amount of time to calculate the length of suspension/warning * @param string $period The period of time to calculate the length of suspension/warning
|
* @return int Length of the suspension/warning (in seconds) */ function fetch_time_length($time, $period)
| * @return int Length of the suspension/warning (in seconds) */ function fetch_time_length($time, $period)
|