public function update($listId, Contact $contact, $action=Contact::ACTION_ADDNOFORCE)
    {
        $contact->setAction($action);
        $response = $this->_exec($listId, $contact);
        if (!$response->success()) {
            $this->throwError("ContactsListManager:update() failed", $response);
        }

        return $response->getData();
    }
public function update($listId, Contact $contact, $action=Contact::ACTION_ADDNOFORCE)
    {
        $contact->setAction($action);
        $response = $this->_exec($listId, $contact);
        if (!$response->success()) {
            $this->throwError("ContactsListManager:update() failed", $response);
        }

        return $response->getData();
    }
public function update ( $ listId , Contact $ contact , $ action = Contact :: ACTION_ADDNOFORCE ) { $ contact -> setAction ( $ action ) ; $ response = $ this -> _exec ( $ listId , $ contact ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "ContactsListManager:update() failed" , $ response ) ; } return $ response -> getData ( ) ; }
update a Contact to listId
@param string $listId
@param Contact $contact
@param string $action
update a Contact to listId