Lines Matching refs:userid
321 * @param string $userid The userid of the creating user
325 public function setCalendarNameForPage($name, $description, $id = null, $userid = null) argument
332 if(is_null($userid))
336 $userid = $_SERVER['REMOTE_USER'];
340 $userid = uniqid('davcal-');
345 return $this->createCalendarForPage($name, $description, $id, $userid);
430 * @param string $userid (optional) The userid to store
434 public function savePersonalSettings($settings, $userid = null) argument
436 if(is_null($userid))
440 $userid = $_SERVER['REMOTE_USER'];
453 $sqlite->query($query, $userid);
458 $res = $sqlite->query($query, $userid, $key, $value);
463 $this->cachedValues['settings'][$userid] = $settings;
475 * @param string $userid (optional) The user id to retrieve
479 public function getPersonalSettings($userid = null) argument
489 if(is_null($userid))
493 $userid = $_SERVER['REMOTE_USER'];
504 if(isset($this->cachedValues['settings'][$userid]))
505 return $this->cachedValues['settings'][$userid];
507 $res = $sqlite->query($query, $userid);
513 $this->cachedValues['settings'][$userid] = $settings;
614 * @param string $userid (optional) The user ID that created the calendar
618 public function createCalendarForPage($name, $description, $id = null, $userid = null) argument
625 if(is_null($userid))
629 $userid = $_SERVER['REMOTE_USER'];
633 $userid = uniqid('davcal-');
636 $values = array('principals/'.$userid,
1531 if(is_null($userid))
1535 $userid = $_SERVER['REMOTE_USER'];