/** * * @return Zing_HugeList_Service */ private function _getWriteService() { if ($this->_write != null) { return $this->_write; } if ($this->_write_options == null) { throw new Exception("No config for write instance", -2); } $this->_write = Zing_HugeList_Service::getInstance($this->_authkey, $this->_application_id, $this->_write_options); return $this->_write; }
public function addAction() { var_dump('a'); die; $zinghuglib = new Zing_HugeList_Service(); $name2ID = new Zing_Name2ID_ServiceR(); $id = $name2ID->getID('redphx'); var_dump($id); $zinghuglib->add($id); $hugeList = new Zing_HugeList_ServiceR(); $result = $hugeList->hasEntry($id); var_dump($result); die; }