Exemplo n.º 1
0
 public function testToArray()
 {
     $this->rediska->setToHash('test', array('a' => 1, 'b' => 2));
     $test = $this->hash->toArray();
     $this->assertEquals(array('a' => 1, 'b' => 2), $test);
 }
Exemplo n.º 2
0
 public function getUlist($ulistKey)
 {
     $MSet = new Rediska_Key_Hash($ulistKey);
     $MSet->setRediska($this->Rediska);
     return $MSet->toArray();
 }