public function renameContact($contact, $firstName, $lastName)
    {
        return $this->exec('rename_contact ' . $this->escapePeer($contact)
            . ' ' . $this->escapeStringArgument($firstName) . ' ' . $this->escapeStringArgument($lastName));
    }
public function renameContact($contact, $firstName, $lastName)
    {
        return $this->exec('rename_contact ' . $this->escapePeer($contact)
            . ' ' . $this->escapeStringArgument($firstName) . ' ' . $this->escapeStringArgument($lastName));
    }
public function renameContact ( $ contact , $ firstName , $ lastName ) { return $ this -> exec ( 'rename_contact ' . $ this -> escapePeer ( $ contact ) . ' ' . $ this -> escapeStringArgument ( $ firstName ) . ' ' . $ this -> escapeStringArgument ( $ lastName ) ) ; }
Renames a user in the contact list

@param string $contact The contact, gets escaped with escapePeer()
@param string $firstName The new first name for the contact
@param string $lastName The new last name for the contact

@return object|boolean The new contact-info as an object; false if somethings goes wrong

@uses exec()
@uses escapeStringArgument()
Renames a user in the contact list