Lines Matching refs:namespace
180 private function loadAttributes($namespace, $user) argument
182 $key = rawurlencode($namespace) . '.' . rawurlencode($user);
236 private function saveAttributes($namespace, $user, $data) argument
238 $key = rawurlencode($namespace) . '.' . rawurlencode($user);
257 * @param string $namespace
261 public function enumerateUsers($namespace) argument
270 $key = rawurlencode($namespace) . '.';
293 * @param string $namespace
300 public function set($namespace, $attribute, $value, $user = null) argument
310 $lock= $namespace . '.' . $user;
313 $data = $this->loadAttributes($namespace, $user);
320 $result = $this->saveAttributes($namespace, $user, $data);
332 * @param string $namespace
337 public function enumerateAttributes($namespace, $user = null) argument
348 $lock = $namespace . '.' . $user;
351 $data = $this->loadAttributes($namespace, $user);
368 * @param string $namespace
374 public function exists($namespace, $attribute, $user = null) argument
385 $lock = $namespace . '.' . $user;
388 $data = $this->loadAttributes($namespace, $user);
404 * @param string $namespace
410 public function del($namespace, $attribute, $user = null) argument
421 $lock = $namespace . '.' . $user;
424 $data = $this->loadAttributes($namespace, $user);
430 $result = $this->saveAttributes($namespace, $user, $data);
447 * @param string $namespace
452 public function purge($namespace, $user) argument
462 $lock = $namespace . '.' . $user;
465 $key = rawurlencode($namespace) . '.' . rawurlencode($user);
488 * @param string $namespace
495 public function get($namespace, $attribute, &$success = false, $user = null) argument
510 $lock = $namespace . '.' . $user;
513 $data = $this->loadAttributes($namespace, $user);