thirdparty/Zend/Feed/Builder/Header.php
public function setEmail($email)
    {
        /**
         * @see Zend_Validate_EmailAddress
         */
        require_once 'Zend/Validate/EmailAddress.php';
        $validate = new Zend_Validate_EmailAddress();
        if (!$validate->isValid($email)) {
            /**
             * @see Zend_Feed_Builder_Exception
             */
            require_once 'Zend/Feed/Builder/Exception.php';
            throw new Zend_Feed_Builder_Exception("you have to set a valid email address into the email property");
        }
        $this->offsetSet('email', $email);
        return $this;
    }
public function setEmail($email)
    {
        /**
         * @see Zend_Validate_EmailAddress
         */
        require_once 'Zend/Validate/EmailAddress.php';
        $validate = new Zend_Validate_EmailAddress();
        if (!$validate->isValid($email)) {
            /**
             * @see Zend_Feed_Builder_Exception
             */
            require_once 'Zend/Feed/Builder/Exception.php';
            throw new Zend_Feed_Builder_Exception("you have to set a valid email address into the email property");
        }
        $this->offsetSet('email', $email);
        return $this;
    }
public function setEmail ( $ email ) { /**
         * @see Zend_Validate_EmailAddress
         */ require_once 'Zend/Validate/EmailAddress.php' ; $ validate = new Zend_Validate_EmailAddress ( ) ; if ( ! $ validate -> isValid ( $ email ) ) { /**
             * @see Zend_Feed_Builder_Exception
             */ require_once 'Zend/Feed/Builder/Exception.php' ; throw new Zend_Feed_Builder_Exception ( "you have to set a valid email address into the email property" ) ; } $ this -> offsetSet ( 'email' , $ email ) ; return $ this ; }
Sets the author's email

@param  string $email
@return Zend_Feed_Builder_Header
@throws Zend_Feed_Builder_Exception
Sets the author s email