Zend/Gdata/Gapps.php
public function retrieveNickname($nickname) {
        $query = $this->newNicknameQuery();
        $query->setNickname($nickname);
        try {
            $nickname = $this->getNicknameEntry($query);
        } catch (Zend_Gdata_Gapps_ServiceException $e) {
            // Set the nickname to null if not found
            if ($e->hasError(Zend_Gdata_Gapps_Error::ENTITY_DOES_NOT_EXIST)) {
                $nickname = null;
            } else {
                throw $e;
            }
        }
        return $nickname;
    }
public function retrieveNickname($nickname) {
        $query = $this->newNicknameQuery();
        $query->setNickname($nickname);
        try {
            $nickname = $this->getNicknameEntry($query);
        } catch (Zend_Gdata_Gapps_ServiceException $e) {
            // Set the nickname to null if not found
            if ($e->hasError(Zend_Gdata_Gapps_Error::ENTITY_DOES_NOT_EXIST)) {
                $nickname = null;
            } else {
                throw $e;
            }
        }
        return $nickname;
    }
public function retrieveNickname ( $ nickname ) { $ query = $ this -> newNicknameQuery ( ) ; $ query -> setNickname ( $ nickname ) ; try { $ nickname = $ this -> getNicknameEntry ( $ query ) ; } catch ( Zend_Gdata_Gapps_ServiceException $ e ) { // Set the nickname to null if not found if ( $ e -> hasError ( Zend_Gdata_Gapps_Error :: ENTITY_DOES_NOT_EXIST ) ) { $ nickname = null ; } else { throw $ e ; } } return $ nickname ; }
Retrieve the entry for a specified nickname.

@param string $nickname The nickname to be retrieved.
@return Zend_Gdata_Gapps_NicknameEntry The requested nickname entry.
@throws Zend_Gdata_App_Exception
@throws Zend_Gdata_App_HttpException
@throws Zend_Gdata_Gapps_ServiceException
Retrieve the entry for a specified nickname .