Lines Matching refs:time
27 foreach((array) confToHash($this->configfile) as $usergroup => $time) {
28 $conf[rawurldecode($usergroup)] = (int) $time;
38 * @param $time
40 public function add_entry($usergroup, $time) {
41 $time = (int) $time;
46 if($time !== 0 && $time < 2) {
48 $time = 2;
52 io_saveFile($this->configfile, "$usergroup\t$time\n", true);
68 * Returns the configured time for the current user (in minutes)
87 foreach($config as $usergroup => $time) {
89 if($time == 0) return 0;
90 if($time > $maxtime) $maxtime = $time;