/** * Returns a unique entry with informations about the current process * * @access public * @return array */ public static function GetProcessEntry() { if (!isset(self::$processentry)) { self::$processentry = array(); self::$processentry['id'] = self::GetProcessIdentifier(); self::$processentry['pid'] = self::$pid; self::$processentry['time'] = self::$start; self::$processentry['cc'] = Request::GetCommandCode(); } return self::$processentry; }
/** * Returns loop detection data of a user & device * * @param string $user * @param string $devid * * @return array/boolean returns false if data is not available * @access public */ public static function GetLoopDetectionData($user, $devid) { $loopdetection = new LoopDetection(); return $loopdetection->GetCachedData($user, $devid); }