public function contactRename($contact, $firstName, $lastName)
    {
        $contact   = $this->escapePeer($contact);
        $firstName = $this->escapeStringArgument($firstName);
        $lastName  = $this->escapeStringArgument($lastName);

        return $this->exec('rename_contact ' . $contact . ' ' . $firstName . ' ' . $lastName);
    }
public function contactRename($contact, $firstName, $lastName)
    {
        $contact   = $this->escapePeer($contact);
        $firstName = $this->escapeStringArgument($firstName);
        $lastName  = $this->escapeStringArgument($lastName);

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

@param string $contact   The contact, gets escaped with escapePeer(),
so you can directly use the values from getContactList()
@param string $firstName The new first name for the contact
@param string $lastName  The new last name for the contact

@return string|boolean The renamed contact "$firstName $lastName"; false if somethings goes wrong

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