Zend/Gdata/Gapps.php
public function createNickname($username, $nickname) {
        $entry = $this->newNicknameEntry();
        $nickname = $this->newNickname($nickname);
        $login = $this->newLogin($username);
        $entry->nickname = $nickname;
        $entry->login = $login;
        return $this->insertNickname($entry);
    }
public function createNickname($username, $nickname) {
        $entry = $this->newNicknameEntry();
        $nickname = $this->newNickname($nickname);
        $login = $this->newLogin($username);
        $entry->nickname = $nickname;
        $entry->login = $login;
        return $this->insertNickname($entry);
    }
public function createNickname ( $ username , $ nickname ) { $ entry = $ this -> newNicknameEntry ( ) ; $ nickname = $ this -> newNickname ( $ nickname ) ; $ login = $ this -> newLogin ( $ username ) ; $ entry -> nickname = $ nickname ; $ entry -> login = $ login ; return $ this -> insertNickname ( $ entry ) ; }
Create a nickname for a given user.

@param string $username The username to which the new nickname should
be associated.
@param string $nickname The new nickname to be created.
@return Zend_Gdata_Gapps_NicknameEntry The nickname entry which was
created by the server.
@throws Zend_Gdata_App_Exception
@throws Zend_Gdata_App_HttpException
@throws Zend_Gdata_Gapps_ServiceException
Create a nickname for a given user .