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

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

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