Exemple #1
0
 public function __construct($namespace)
 {
     $normalNamespace = Key::normalKey($namespace);
     //get normal key
     $regexNamespace = str_replace('\\', '\\\\', $normalNamespace);
     //for regex, since \ is special char
     //find all where names starts with namespace
     parent::__construct('user', "/^{$regexNamespace}/");
 }
Exemple #2
0
 public function __construct($search = null, $format = APC_ITER_ALL, $chunk_size = 100, $list = APC_LIST_ACTIVE)
 {
     parent::__construct('user', $search, $format, $chunk_size, $list);
 }