Lines Matching refs:tthlp

21     var $tthlp = null;  variable in action_plugin_timetrack
27 $this->tthlp = plugin_load('helper', 'timetrack');
49 …if(p_get_metadata($cache->page,'plugin_timetrack update_time') < $this->tthlp->getMaxUpdateTime($c…
63 if(!$this->tthlp->isPageTracked($ID) && !$this->tthlp->isUserInDb()) return true;
73 if(!$this->tthlp->isPageTracked($ID) && !$this->tthlp->isUserInDb()) return true;
122 …if($cmd === 'current' && (auth_quickaclcheck($pageid) < AUTH_READ || !$this->tthlp->isPageTracked(…
133 $daterange = $this->tthlp->getDateRangeByYearWeek($yearweek);
136 $project_ids = $this->tthlp->getProjectIdsByPageId($pageid);
137 …$dbUserValues = $this->tthlp->getUserTimeData($this->tthlp->getCurrentUser(),$daterange,$project_i…
149 $dbTasks = $this->tthlp->getTasks($project_ids);
151 $dialogHtml .= $this->tthlp->html_week(
159 'dialog' => $this->tthlp->html_prepareDialog('current',
167 …'dialog' => $this->tthlp->html_prepareDialog('overview',$this->tthlp->html_overview($this->tthlp->…
172 $dbUserValues = $this->tthlp->getUserTimeData($this->tthlp->getCurrentUser(), $daterange);
183 $dbUserTasks = $this->tthlp->getRecentTasks($this->tthlp->getCurrentUser(), $daterange);
185 … $dialogHtml .= $this->tthlp->html_week($dbUserValues,$daterange,$dbUserTasks,'recent',$pageid);
187 'dialog' => $this->tthlp->html_prepareDialog('recent',
221 …if($datevalue + $this->tthlp->getHoursNotInTasksOnDate($this->tthlp->getCurrentUser(),$date,$task_…
233 if(!$this->tthlp->canAccessProject($project_id)) continue;
235 $projectDetails = $this->tthlp->getProjectDetails($project_id);
248 … $res = $this->tthlp->updateUserTime($dbUserValues[$project_id][$task_id][$date]['id'], $value);
252 … $res = $this->tthlp->insertUserTime($this->tthlp->getCurrentUser(), $task_id, $date, $value);