private function getIDByName($username) { $name2ID = new Zing_Name2ID_ServiceR(); $userID = $name2ID->getID($username); return $userID; }
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; }