Zend/Gdata/YouTube/UserProfileEntry.php
public function setFirstName($firstName = null)
    {
        if (($this->getMajorProtocolVersion() == null) ||
           ($this->getMajorProtocolVersion() == 1)) {
            require_once 'Zend/Gdata/App/VersionException.php';
            throw new Zend_Gdata_App_VersionException('The setFirstName ' .
                ' method is only supported as of version 2 of the YouTube ' .
                'API.');
        } else {
            $this->_firstName = $firstName;
            return $this;
        }
    }
public function setFirstName($firstName = null)
    {
        if (($this->getMajorProtocolVersion() == null) ||
           ($this->getMajorProtocolVersion() == 1)) {
            require_once 'Zend/Gdata/App/VersionException.php';
            throw new Zend_Gdata_App_VersionException('The setFirstName ' .
                ' method is only supported as of version 2 of the YouTube ' .
                'API.');
        } else {
            $this->_firstName = $firstName;
            return $this;
        }
    }
public function setFirstName ( $ firstName = null ) { if ( ( $ this -> getMajorProtocolVersion ( ) == null ) || ( $ this -> getMajorProtocolVersion ( ) == 1 ) ) { require_once 'Zend/Gdata/App/VersionException.php' ; throw new Zend_Gdata_App_VersionException ( 'The setFirstName ' . ' method is only supported as of version 2 of the YouTube ' . 'API.' ) ; } else { $ this -> _firstName = $ firstName ; return $ this ; } }
Sets the content of the 'first name' field.

@param Zend_Gdata_YouTube_Extension_FirstName $firstName The first name
@throws Zend_Gdata_App_VersionException
@return Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
Sets the content of the first name field .