Zend/Gdata/Gapps.php
public function insertNickname($nickname, $uri = null)
    {
        if ($uri === null) {
            $uri = $this->getBaseUrl() . self::APPS_NICKNAME_PATH;
        }
        $newEntry = $this->insertEntry($nickname, $uri, 'Zend_Gdata_Gapps_NicknameEntry');
        return $newEntry;
    }
public function insertNickname($nickname, $uri = null)
    {
        if ($uri === null) {
            $uri = $this->getBaseUrl() . self::APPS_NICKNAME_PATH;
        }
        $newEntry = $this->insertEntry($nickname, $uri, 'Zend_Gdata_Gapps_NicknameEntry');
        return $newEntry;
    }
public function insertNickname ( $ nickname , $ uri = null ) { if ( $ uri === null ) { $ uri = $ this -> getBaseUrl ( ) . self :: APPS_NICKNAME_PATH ; } $ newEntry = $ this -> insertEntry ( $ nickname , $ uri , 'Zend_Gdata_Gapps_NicknameEntry' ) ; return $ newEntry ; }
Create a new nickname from a NicknameEntry.

@param Zend_Gdata_Gapps_NicknameEntry $nickname The nickname entry to
insert.
@param string $uri (optional) The URI where the nickname should be
uploaded to. If null, the default nickname creation URI for
this domain will be used.
@return Zend_Gdata_Gapps_NicknameEntry The inserted nickname entry as
returned by the server.
@throws Zend_Gdata_App_Exception
@throws Zend_Gdata_App_HttpException
@throws Zend_Gdata_Gapps_ServiceException
Create a new nickname from a NicknameEntry .