]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17091 Removing superfluous Zend framework files
authornicolasconnault <nicolasconnault>
Fri, 31 Oct 2008 21:36:57 +0000 (21:36 +0000)
committernicolasconnault <nicolasconnault>
Fri, 31 Oct 2008 21:36:57 +0000 (21:36 +0000)
70 files changed:
lib/zend/Zend/Gdata/App/AuthException.php [deleted file]
lib/zend/Zend/Gdata/App/BadMethodCallException.php [deleted file]
lib/zend/Zend/Gdata/App/CaptchaRequiredException.php [deleted file]
lib/zend/Zend/Gdata/App/Exception.php [deleted file]
lib/zend/Zend/Gdata/App/HttpException.php [deleted file]
lib/zend/Zend/Gdata/App/IOException.php [deleted file]
lib/zend/Zend/Gdata/App/InvalidArgumentException.php [deleted file]
lib/zend/Zend/Gdata/App/LoggingHttpClientAdapterSocket.php [deleted file]
lib/zend/Zend/Gdata/App/Util.php [deleted file]
lib/zend/Zend/Gdata/Docs/Query.php [deleted file]
lib/zend/Zend/Gdata/Extension/AttendeeStatus.php [deleted file]
lib/zend/Zend/Gdata/Extension/AttendeeType.php [deleted file]
lib/zend/Zend/Gdata/Extension/Comments.php [deleted file]
lib/zend/Zend/Gdata/Extension/EntryLink.php [deleted file]
lib/zend/Zend/Gdata/Extension/EventStatus.php [deleted file]
lib/zend/Zend/Gdata/Extension/ExtendedProperty.php [deleted file]
lib/zend/Zend/Gdata/Extension/FeedLink.php [deleted file]
lib/zend/Zend/Gdata/Extension/OriginalEvent.php [deleted file]
lib/zend/Zend/Gdata/Extension/Rating.php [deleted file]
lib/zend/Zend/Gdata/Extension/Recurrence.php [deleted file]
lib/zend/Zend/Gdata/Extension/RecurrenceException.php [deleted file]
lib/zend/Zend/Gdata/Extension/Reminder.php [deleted file]
lib/zend/Zend/Gdata/Extension/Transparency.php [deleted file]
lib/zend/Zend/Gdata/Extension/Visibility.php [deleted file]
lib/zend/Zend/Gdata/Extension/When.php [deleted file]
lib/zend/Zend/Gdata/Extension/Where.php [deleted file]
lib/zend/Zend/Gdata/Extension/Who.php [deleted file]
lib/zend/Zend/Gdata/Gbase.php [deleted file]
lib/zend/Zend/Gdata/Gbase/Entry.php [deleted file]
lib/zend/Zend/Gdata/Gbase/Extension/BaseAttribute.php [deleted file]
lib/zend/Zend/Gdata/Gbase/Feed.php [deleted file]
lib/zend/Zend/Gdata/Gbase/ItemEntry.php [deleted file]
lib/zend/Zend/Gdata/Gbase/ItemFeed.php [deleted file]
lib/zend/Zend/Gdata/Gbase/ItemQuery.php [deleted file]
lib/zend/Zend/Gdata/Gbase/Query.php [deleted file]
lib/zend/Zend/Gdata/Gbase/SnippetEntry.php [deleted file]
lib/zend/Zend/Gdata/Gbase/SnippetFeed.php [deleted file]
lib/zend/Zend/Gdata/Gbase/SnippetQuery.php [deleted file]
lib/zend/Zend/Gdata/Media.php [deleted file]
lib/zend/Zend/Gdata/Media/Entry.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaCategory.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaContent.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaCopyright.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaCredit.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaDescription.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaGroup.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaHash.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaKeywords.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaPlayer.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaRating.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaRestriction.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaText.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaThumbnail.php [deleted file]
lib/zend/Zend/Gdata/Media/Extension/MediaTitle.php [deleted file]
lib/zend/Zend/Gdata/Media/Feed.php [deleted file]
lib/zend/Zend/Gdata/Query.php [deleted file]
lib/zend/Zend/Http/Client/Adapter/Exception.php [deleted file]
lib/zend/Zend/Http/Client/Adapter/Proxy.php [deleted file]
lib/zend/Zend/Http/Client/Adapter/Test.php [deleted file]
lib/zend/Zend/Mime/Decode.php [deleted file]
lib/zend/Zend/Uri/Exception.php [deleted file]
lib/zend/Zend/Validate/Hostname/At.php [deleted file]
lib/zend/Zend/Validate/Hostname/Ch.php [deleted file]
lib/zend/Zend/Validate/Hostname/De.php [deleted file]
lib/zend/Zend/Validate/Hostname/Fi.php [deleted file]
lib/zend/Zend/Validate/Hostname/Hu.php [deleted file]
lib/zend/Zend/Validate/Hostname/Interface.php [deleted file]
lib/zend/Zend/Validate/Hostname/Li.php [deleted file]
lib/zend/Zend/Validate/Hostname/No.php [deleted file]
lib/zend/Zend/Validate/Hostname/Se.php [deleted file]

diff --git a/lib/zend/Zend/Gdata/App/AuthException.php b/lib/zend/Zend/Gdata/App/AuthException.php
deleted file mode 100644 (file)
index ac19d52..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @subpackage Zend_Gdata_App
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Exception
- */
-require_once 'Zend/Gdata/App/Exception.php';
-
-/**
- * Gdata exceptions
- *
- * Class to represent exceptions that occur during Gdata operations.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @subpackage Zend_Gdata_App
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_AuthException extends Zend_Gdata_App_Exception
-{
-}
diff --git a/lib/zend/Zend/Gdata/App/BadMethodCallException.php b/lib/zend/Zend/Gdata/App/BadMethodCallException.php
deleted file mode 100644 (file)
index 8aa9792..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * Zend_Gdata_App_Exception
- */
-require_once 'Zend/Gdata/App/Exception.php';
-
-/**
- * Gdata APP exceptions
- *
- * Class to represent exceptions that occur during Gdata APP operations.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_BadMethodCallException extends Zend_Gdata_App_Exception
-{
-}
diff --git a/lib/zend/Zend/Gdata/App/CaptchaRequiredException.php b/lib/zend/Zend/Gdata/App/CaptchaRequiredException.php
deleted file mode 100644 (file)
index 02b8147..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_CaptchaRequiredException
- */
-require_once 'Zend/Gdata/App/AuthException.php';
-
-/**
- * Gdata exceptions
- *
- * Class to represent an exception that occurs during the use of ClientLogin.
- * This particular exception happens when a CAPTCHA challenge is issued. This
- * challenge is a visual puzzle presented to the user to prove that they are
- * not an automated system.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_CaptchaRequiredException extends Zend_Gdata_App_AuthException
-{
-    /**
-     * The Google Accounts URL prefix.
-     */
-    const ACCOUNTS_URL = 'https://www.google.com/accounts/';
-    
-    /**
-     * The token identifier from the server.
-     * 
-     * @var string
-     */
-    private $captchaToken;
-    
-    /**
-     * The URL of the CAPTCHA image.
-     * 
-     * @var string
-     */
-    private $captchaUrl;
-    
-    /**
-     * Constructs the exception to handle a CAPTCHA required response.
-     * 
-     * @param string $captchaToken The CAPTCHA token ID provided by the server.
-     * @param string $captchaUrl The URL to the CAPTCHA challenge image.
-     */
-    public function __construct($captchaToken, $captchaUrl) {
-        $this->captchaToken = $captchaToken;
-        $this->captchaUrl = Zend_Gdata_App_CaptchaRequiredException::ACCOUNTS_URL . $captchaUrl;
-        parent::__construct('CAPTCHA challenge issued by server');
-    }
-    
-    /**
-     * Retrieves the token identifier as provided by the server.
-     * 
-     * @return string
-     */
-    public function getCaptchaToken() {
-        return $this->captchaToken;
-    }
-    
-    /**
-     * Retrieves the URL CAPTCHA image as provided by the server.
-     * 
-     * @return string
-     */
-    public function getCaptchaUrl() {
-        return $this->captchaUrl;
-    }
-    
-}
diff --git a/lib/zend/Zend/Gdata/App/Exception.php b/lib/zend/Zend/Gdata/App/Exception.php
deleted file mode 100644 (file)
index 01f3591..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-
-/**
- * Zend_Exception
- */
-require_once 'Zend/Exception.php';
-
-/**
- * Gdata App exceptions
- *
- * Class to represent exceptions that occur during Gdata App operations.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_Exception extends Zend_Exception
-{
-}
diff --git a/lib/zend/Zend/Gdata/App/HttpException.php b/lib/zend/Zend/Gdata/App/HttpException.php
deleted file mode 100644 (file)
index c585e46..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * Zend_Gdata_App_Exception
- */
-require_once 'Zend/Gdata/App/Exception.php';
-
-/**
- * Zend_Http_Client_Exception
- */
-require_once 'Zend/Http/Client/Exception.php';
-
-/**
- * Gdata exceptions
- *
- * Class to represent exceptions that occur during Gdata operations.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_HttpException extends Zend_Gdata_App_Exception
-{
-
-    protected $_httpClientException = null;
-    protected $_response = null;
-
-    /**
-     * Create a new Zend_Gdata_App_HttpException
-     *
-     * @param  string $message Optionally set a message
-     * @param Zend_Http_Client_Exception Optionally pass in a Zend_Http_Client_Exception
-     * @param Zend_Http_Response Optionally pass in a Zend_Http_Response
-     */
-    public function __construct($message = null, $e = null, $response = null)
-    {
-        $this->_httpClientException = $e;
-        $this->_response = $response;
-        parent::__construct($message);
-    }
-
-    /**
-     * Get the Zend_Http_Client_Exception.
-     *
-     * @return Zend_Http_Client_Exception
-     */
-    public function getHttpClientException()
-    {
-        return $this->_httpClientException;
-    }
-
-    /**
-     * Set the Zend_Http_Client_Exception.
-     *
-     * @param Zend_Http_Client_Exception $value
-     */
-    public function setHttpClientException($value)
-    {
-        $this->_httpClientException = $value;
-        return $this;
-    }
-
-    /**
-     * Set the Zend_Http_Response.
-     *
-     * @param Zend_Http_Response $response
-     */
-    public function setResponse($response)
-    {
-        $this->_response = $response;
-        return $this;
-    }
-
-    /**
-     * Get the Zend_Http_Response.
-     *
-     * @return Zend_Http_Response
-     */
-    public function getResponse()
-    {
-        return $this->_response;
-    }
-
-    /**
-     * Get the body of the Zend_Http_Response
-     *
-     * @return string
-     */
-    public function getRawResponseBody()
-    {
-        if ($this->getResponse()) {
-            $response = $this->getResponse();
-            return $response->getRawBody();
-        }
-        return null;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/App/IOException.php b/lib/zend/Zend/Gdata/App/IOException.php
deleted file mode 100644 (file)
index d78aa53..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-
-/**
- * Zend_Gdata_App_Exception
- */
-require_once 'Zend/Gdata/App/Exception.php';
-
-/**
- * Gdata App IO exceptions.
- *
- * Class to represent IO exceptions that occur during Gdata App operations.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_IOException extends Zend_Gdata_App_Exception
-{
-}
diff --git a/lib/zend/Zend/Gdata/App/InvalidArgumentException.php b/lib/zend/Zend/Gdata/App/InvalidArgumentException.php
deleted file mode 100644 (file)
index 562c66c..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * Zend_Gdata_App_Exception
- */
-require_once 'Zend/Gdata/App/Exception.php';
-
-/**
- * Gdata exceptions
- *
- * Class to represent exceptions that occur during Gdata operations.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_InvalidArgumentException extends Zend_Gdata_App_Exception
-{
-}
diff --git a/lib/zend/Zend/Gdata/App/LoggingHttpClientAdapterSocket.php b/lib/zend/Zend/Gdata/App/LoggingHttpClientAdapterSocket.php
deleted file mode 100644 (file)
index 9abe313..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Http
- * @subpackage Client_Adapter
- * @version    $Id$
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-require_once 'Zend/Http/Client/Adapter/Socket.php';
-
-/**
- * Overrides the traditional socket-based adapter class for Zend_Http_Client to 
- * enable logging of requests.  All requests are logged to a location specified
- * in the config as $config['logfile'].  Requests and responses are logged after
- * they are sent and received/processed, thus an error could prevent logging.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @subpackage App
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_LoggingHttpClientAdapterSocket extends Zend_Http_Client_Adapter_Socket
-{
-
-    /**
-     * The file handle for writing logs
-     *
-     * @var resource|null
-     */
-    protected $log_handle = null;
-
-    /**
-     * Log the given message to the log file.  The log file is configured
-     * as the config param 'logfile'.  This method opens the file for
-     * writing if necessary.
-     *
-     * @param string $message The message to log
-     */
-    protected function log($message)
-    {
-        if ($this->log_handle == null) {
-            $this->log_handle = fopen($this->config['logfile'], 'a');
-        }
-        fwrite($this->log_handle, $message);
-    }
-
-    /**
-     * Connect to the remote server
-     *
-     * @param string  $host
-     * @param int     $port
-     * @param boolean $secure
-     * @param int     $timeout
-     */
-    public function connect($host, $port = 80, $secure = false)
-    {
-        $this->log("Connecting to: ${host}:${port}");
-        return parent::connect($host, $port, $secure);
-    }
-
-    /**
-     * Send request to the remote server
-     *
-     * @param string        $method
-     * @param Zend_Uri_Http $uri
-     * @param string        $http_ver
-     * @param array         $headers
-     * @param string        $body
-     * @return string Request as string
-     */
-    public function write($method, $uri, $http_ver = '1.1', $headers = array(), $body = '')
-    {
-        $request = parent::write($method, $uri, $http_ver, $headers, $body);
-        $this->log("\n\n" . $request);
-        return $request;
-    }
-
-    /**
-     * Read response from server
-     *
-     * @return string
-     */
-    public function read()
-    {
-        $response = parent::read();
-        $this->log("${response}\n\n");
-        return $response;
-    }
-
-    /**
-     * Close the connection to the server
-     *
-     */
-    public function close()
-    {
-        $this->log("Closing socket\n\n");
-        parent::close();
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/App/Util.php b/lib/zend/Zend/Gdata/App/Util.php
deleted file mode 100644 (file)
index 074fdc0..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * Utility class for static functions needed by Zend_Gdata_App
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_App_Util
-{
-
-    /**
-     *  Convert timestamp into RFC 3339 date string.
-     *  2005-04-19T15:30:00
-     *
-     * @param int $timestamp
-     * @throws Zend_Gdata_App_InvalidArgumentException
-     */
-    public static function formatTimestamp($timestamp)
-    {
-        $rfc3339 = '/^(\d{4})\-?(\d{2})\-?(\d{2})((T|t)(\d{2})\:?(\d{2})' .
-                   '\:?(\d{2})(\.\d{1,})?((Z|z)|([\+\-])(\d{2})\:?(\d{2})))?$/';
-
-        if (ctype_digit($timestamp)) {
-            return gmdate('Y-m-d\TH:i:sP', $timestamp);
-        } elseif (preg_match($rfc3339, $timestamp) > 0) {
-            // timestamp is already properly formatted
-            return $timestamp;
-        } else {
-            $ts = strtotime($timestamp);
-            if ($ts === false) {
-                require_once 'Zend/Gdata/App/InvalidArgumentException.php';
-                throw new Zend_Gdata_App_InvalidArgumentException("Invalid timestamp: $timestamp.");
-            }
-            return date('Y-m-d\TH:i:s', $ts);
-        }
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Docs/Query.php b/lib/zend/Zend/Gdata/Docs/Query.php
deleted file mode 100755 (executable)
index 3d6d9fd..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * Zend_Gdata_Query
- */
-require_once('Zend/Gdata/Query.php');
-
-/**
- * Assists in constructing queries for Google Document List documents
- *
- * @link http://code.google.com/apis/gdata/spreadsheets/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Docs_Query extends Zend_Gdata_Query
-{
-
-    /**
-     * The base URL for retrieving a document list
-     *
-     * @var string
-     */
-    const DOCUMENTS_LIST_FEED_URI = 'http://docs.google.com/feeds/documents';
-
-    /**
-     * The generic base URL used by some inherited methods
-     *
-     * @var string
-     */
-    protected $_defaultFeedUri = self::DOCUMENTS_LIST_FEED_URI;
-
-    /**
-     * The visibility to be used when querying for the feed. A request for a 
-     * feed with private visbility requires the user to be authenricated. 
-     * Private is the only avilable visibility for the documents list.
-     *
-     * @var string
-     */
-    protected $_visibility = 'private';
-
-    /**
-     * The projection determines how much detail should be given in the
-     * result of the query. Full is the only valid projection for the
-     * documents list.
-     *
-     * @var string
-     */
-    protected $_projection = 'full';
-
-    /**
-     * Constructs a new instance of a Zend_Gdata_Docs_Query object.
-     */
-    public function __construct()
-    {
-        parent::__construct();
-    }
-
-    /**
-     * Sets the projection for this query. Common values for projection 
-     * include 'full'.
-     *
-     * @param string $value
-     * @return Zend_Gdata_Docs_Query Provides a fluent interface
-     */
-    public function setProjection($value)
-    {
-        $this->_projection = $value;
-        return $this;
-    }
-
-    /**
-     * Sets the visibility for this query. Common values for visibility
-     * include 'private'.
-     *
-     * @return Zend_Gdata_Docs_Query Provides a fluent interface
-     */
-    public function setVisibility($value)
-    {
-        $this->_visibility = $value;
-        return $this;
-    }
-
-    /**
-     * Gets the projection for this query.
-     *
-     * @return string projection
-     */
-    public function getProjection()
-    {
-        return $this->_projection;
-    }
-
-    /**
-     * Gets the visibility for this query.
-     *
-     * @return string visibility
-     */
-    public function getVisibility()
-    {
-        return $this->_visibility;
-    }
-
-    /**
-     * Sets the title attribute for this query. The title parameter is used
-     * to restrict the results to documents whose titles either contain or 
-     * completely match the title.
-     *
-     * @param string $value
-     * @return Zend_Gdata_Docs_Query Provides a fluent interface
-     */
-    public function setTitle($value)
-    {
-        if ($value !== null) {
-            $this->_params['title'] = $value;
-        } else {
-            unset($this->_params['title']);
-        }
-        return $this;
-    }
-
-    /**
-     * Gets the title attribute for this query.
-     *
-     * @return string title
-     */
-    public function getTitle()
-    {
-        if (array_key_exists('title', $this->_params)) {
-            return $this->_params['title'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * Sets the title-exact attribute for this query.
-     * If title-exact is set to true, the title query parameter will be used
-     * in an exact match. Only documents with a title identical to the
-     * title parameter will be returned.
-     *
-     * @param boolean $value Use either true or false
-     * @return Zend_Gdata_Docs_Query Provides a fluent interface
-     */
-    public function setTitleExact($value)
-    {
-        if ($value) {
-            $this->_params['title-exact'] = $value;
-        } else {
-            unset($this->_params['title-exact']);
-        }
-        return $this;
-    }
-
-    /**
-     * Gets the title-exact attribute for this query.
-     *
-     * @return string title-exact
-     */
-    public function getTitleExact()
-    {
-        if (array_key_exists('title-exact', $this->_params)) {
-            return $this->_params['title-exact'];
-        } else {
-            return false;
-        }
-    }
-
-    /**
-     * Gets the full query URL for this query.
-     *
-     * @return string url
-     */
-    public function getQueryUrl()
-    {
-        $uri = $this->_defaultFeedUri;
-
-        if ($this->_visibility !== null) {
-            $uri .= '/' . $this->_visibility;
-        } else {
-            require_once 'Zend/Gdata/App/Exception.php';
-            throw new Zend_Gdata_App_Exception(
-                'A visibility must be provided for cell queries.');
-        }
-
-        if ($this->_projection !== null) {
-            $uri .= '/' . $this->_projection;
-        } else {
-            require_once 'Zend/Gdata/App/Exception.php';
-            throw new Zend_Gdata_App_Exception(
-                'A projection must be provided for cell queries.');
-        }
-
-        $uri .= $this->getQueryString();
-        return $uri;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/AttendeeStatus.php b/lib/zend/Zend/Gdata/Extension/AttendeeStatus.php
deleted file mode 100644 (file)
index 8617ddf..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Data model class to represent an attendee's status (gd:attendeeStatus)
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_AttendeeStatus extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'attendeeStatus';
-    protected $_value = null;
-
-    /**
-     * Constructs a new Zend_Gdata_Extension_AttendeeStatus object.
-     * @param string $value (optional) Visibility value as URI.
-     */
-    public function __construct($value = null)
-    {
-        parent::__construct();
-        $this->_value = $value;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_value !== null) {
-            $element->setAttribute('value', $this->_value);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'value':
-            $this->_value = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Get the value for this element's Value attribute.
-     *
-     * @return string The requested attribute.
-     */
-    public function getValue()
-    {
-        return $this->_value;
-    }
-
-    /**
-     * Set the value for this element's Value attribute.
-     *
-     * @param string $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Visibility The element being modified.
-     */
-    public function setValue($value)
-    {
-        $this->_value = $value;
-        return $this;
-    }
-
-    /**
-     * Magic toString method allows using this directly via echo
-     * Works best in PHP >= 4.2.0
-     */
-    public function __toString()
-    {
-        return $this->getValue();
-    }
-
-}
-
diff --git a/lib/zend/Zend/Gdata/Extension/AttendeeType.php b/lib/zend/Zend/Gdata/Extension/AttendeeType.php
deleted file mode 100644 (file)
index 7c6b6a0..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Data model class to represent an attendee's type (gd:attendeeType)
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_AttendeeType extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'attendeeType';
-    protected $_value = null;
-
-    /**
-     * Constructs a new Zend_Gdata_Extension_AttendeeType object.
-     * @param string $value (optional) This entry's 'value' attribute.
-     */
-    public function __construct($value = null)
-    {
-        parent::__construct();
-    $this->_value = $value;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_value != null) {
-            $element->setAttribute('value', $this->_value);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'value':
-            $this->_value = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Get the value for this element's Value attribute.
-     *
-     * @return string The requested attribute.
-     */
-    public function getValue()
-    {
-        return $this->_value;
-    }
-
-    /**
-     * Set the value for this element's Value attribute.
-     *
-     * @param string $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Visibility The element being modified.
-     */
-    public function setValue($value)
-    {
-        $this->_value = $value;
-        return $this;
-    }
-
-    /**
-     * Magic toString method allows using this directly via echo
-     * Works best in PHP >= 4.2.0
-     */
-    public function __toString()
-    {
-        return $this->getValue();
-    }
-
-}
-
diff --git a/lib/zend/Zend/Gdata/Extension/Comments.php b/lib/zend/Zend/Gdata/Extension/Comments.php
deleted file mode 100644 (file)
index 69ed62c..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * @see Zend_Gdata_Extension_FeedLink
- */
-require_once 'Zend/Gdata/Extension/FeedLink.php';
-
-/**
- * Represents the gd:comments element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Comments extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'comments';
-    protected $_rel = null;
-    protected $_feedLink = null;
-
-    public function __construct($rel = null, $feedLink = null)
-    {
-        parent::__construct();
-        $this->_rel = $rel;
-        $this->_feedLink = $feedLink;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_rel != null) {
-            $element->setAttribute('rel', $this->_rel);
-        }
-        if ($this->_feedLink != null) {
-            $element->appendChild($this->_feedLink->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-            case $this->lookupNamespace('gd') . ':' . 'feedLink';
-                $feedLink = new Zend_Gdata_Extension_FeedLink();
-                $feedLink->transferFromDOM($child);
-                $this->_feedLink = $feedLink;
-                break;
-            default:
-                parent::takeChildFromDOM($child);
-                break;
-        }
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'rel':
-            $this->_rel = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    public function getRel()
-    {
-        return $this->_rel;
-    }
-
-    public function setRel($value)
-    {
-        $this->_rel = $value;
-        return $this;
-    }
-
-    public function getFeedLink()
-    {
-        return $this->_feedLink;
-    }
-
-    public function setFeedLink($value)
-    {
-        $this->_feedLink = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/EntryLink.php b/lib/zend/Zend/Gdata/Extension/EntryLink.php
deleted file mode 100644 (file)
index c00291f..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * @see Zend_Gdata_Entry
- */
-require_once 'Zend/Gdata/Entry.php';
-
-/**
- * Represents the gd:entryLink element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_EntryLink extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'entryLink';
-    protected $_href = null;
-    protected $_readOnly = null;
-    protected $_rel = null;
-    protected $_entry = null;
-
-    public function __construct($href = null, $rel = null,
-            $readOnly = null, $entry = null)
-    {
-        parent::__construct();
-        $this->_href = $href;
-        $this->_readOnly = $readOnly;
-        $this->_rel = $rel;
-        $this->_entry = $entry;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_href != null) {
-            $element->setAttribute('href', $this->_href);
-        }
-        if ($this->_readOnly != null) {
-            $element->setAttribute('readOnly', ($this->_readOnly ? "true" : "false"));
-        }
-        if ($this->_rel != null) {
-            $element->setAttribute('rel', $this->_rel);
-        }
-        if ($this->_entry != null) {
-            $element->appendChild($this->_entry->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-            case $this->lookupNamespace('atom') . ':' . 'entry';
-                $entry = new Zend_Gdata_Entry();
-                $entry->transferFromDOM($child);
-                $this->_entry = $entry;
-                break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'href':
-            $this->_href = $attribute->nodeValue;
-            break;
-        case 'readOnly':
-            if ($attribute->nodeValue == "true") {
-                $this->_readOnly = true;
-            }
-            else if ($attribute->nodeValue == "false") {
-                $this->_readOnly = false;
-            }
-            else {
-                throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
-            }
-            break;
-        case 'rel':
-            $this->_rel = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getHref()
-    {
-        return $this->_href;
-    }
-
-    public function setHref($value)
-    {
-        $this->_href = $value;
-        return $this;
-    }
-
-    public function getReadOnly()
-    {
-        return $this->_readOnly;
-    }
-
-    public function setReadOnly($value)
-    {
-        $this->_readOnly = $value;
-        return $this;
-    }
-
-    public function getRel()
-    {
-        return $this->_rel;
-    }
-
-    public function setRel($value)
-    {
-        $this->_rel = $value;
-        return $this;
-    }
-
-    public function getEntry()
-    {
-        return $this->_entry;
-    }
-
-    public function setEntry($value)
-    {
-        $this->_entry = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/EventStatus.php b/lib/zend/Zend/Gdata/Extension/EventStatus.php
deleted file mode 100644 (file)
index 579efc2..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Represents the gd:eventStatus element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_EventStatus extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'eventStatus';
-    protected $_value = null;
-
-    public function __construct($value = null)
-    {
-        parent::__construct();
-        $this->_value = $value;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_value != null) {
-            $element->setAttribute('value', $this->_value);
-        }
-        return $element;
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'value':
-            $this->_value = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Get the value for this element's Value attribute.
-     *
-     * @return string The requested attribute.
-     */
-    public function getValue()
-    {
-        return $this->_value;
-    }
-
-    /**
-     * Set the value for this element's Value attribute.
-     *
-     * @param string $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Visibility The element being modified.
-     */
-    public function setValue($value)
-    {
-        $this->_value = $value;
-        return $this;
-    }
-
-    /**
-     * Magic toString method allows using this directly via echo
-     * Works best in PHP >= 4.2.0
-     */
-    public function __toString()
-    {
-        return $this->getValue();
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/ExtendedProperty.php b/lib/zend/Zend/Gdata/Extension/ExtendedProperty.php
deleted file mode 100644 (file)
index 05fa95c..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Data model for gd:extendedProperty element, used by some GData
- * services to implement arbitrary name/value pair storage
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_ExtendedProperty extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'extendedProperty';
-    protected $_name = null;
-    protected $_value = null;
-
-    public function __construct($name = null, $value = null)
-    {
-        parent::__construct();
-        $this->_name = $name;
-        $this->_value = $value;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_name != null) {
-            $element->setAttribute('name', $this->_name);
-        }
-        if ($this->_value != null) {
-            $element->setAttribute('value', $this->_value);
-        }
-        return $element;
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'name':
-            $this->_name = $attribute->nodeValue;
-            break;
-        case 'value':
-            $this->_value = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    public function __toString()
-    {
-        return $this->getName() . '=' . $this->getValue();
-    }
-
-    public function getName()
-    {
-        return $this->_name;
-    }
-
-    public function setName($value)
-    {
-        $this->_name = $value;
-        return $this;
-    }
-
-    public function getValue()
-    {
-        return $this->_value;
-    }
-
-    public function setValue($value)
-    {
-        $this->_value = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/FeedLink.php b/lib/zend/Zend/Gdata/Extension/FeedLink.php
deleted file mode 100644 (file)
index b307f41..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * @see Zend_Gdata_Feed
- */
-require_once 'Zend/Gdata/Feed.php';
-
-/**
- * Represents the gd:feedLink element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_FeedLink extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'feedLink';
-    protected $_countHint = null;
-    protected $_href = null;
-    protected $_readOnly = null;
-    protected $_rel = null;
-    protected $_feed = null;
-
-    public function __construct($href = null, $rel = null,
-            $countHint = null, $readOnly = null, $feed = null)
-    {
-        parent::__construct();
-        $this->_countHint = $countHint;
-        $this->_href = $href;
-        $this->_readOnly = $readOnly;
-        $this->_rel = $rel;
-        $this->_feed = $feed;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_countHint != null) {
-            $element->setAttribute('countHint', $this->_countHint);
-        }
-        if ($this->_href != null) {
-            $element->setAttribute('href', $this->_href);
-        }
-        if ($this->_readOnly != null) {
-            $element->setAttribute('readOnly', ($this->_readOnly ? "true" : "false"));
-        }
-        if ($this->_rel != null) {
-            $element->setAttribute('rel', $this->_rel);
-        }
-        if ($this->_feed != null) {
-            $element->appendChild($this->_feed->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-            case $this->lookupNamespace('atom') . ':' . 'feed';
-                $feed = new Zend_Gdata_Feed();
-                $feed->transferFromDOM($child);
-                $this->_feed = $feed;
-                break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'countHint':
-            $this->_countHint = $attribute->nodeValue;
-            break;
-        case 'href':
-            $this->_href = $attribute->nodeValue;
-            break;
-        case 'readOnly':
-            if ($attribute->nodeValue == "true") {
-                $this->_readOnly = true;
-            }
-            else if ($attribute->nodeValue == "false") {
-                $this->_readOnly = false;
-            }
-            else {
-                throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
-            }
-            break;
-        case 'rel':
-            $this->_rel = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getHref()
-    {
-        return $this->_href;
-    }
-
-    public function setHref($value)
-    {
-        $this->_href = $value;
-        return $this;
-    }
-
-    public function getReadOnly()
-    {
-        return $this->_readOnly;
-    }
-
-    public function setReadOnly($value)
-    {
-        $this->_readOnly = $value;
-        return $this;
-    }
-
-    public function getRel()
-    {
-        return $this->_rel;
-    }
-
-    public function setRel($value)
-    {
-        $this->_rel = $value;
-        return $this;
-    }
-
-    public function getFeed()
-    {
-        return $this->_feed;
-    }
-
-    public function setFeed($value)
-    {
-        $this->_feed = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/OriginalEvent.php b/lib/zend/Zend/Gdata/Extension/OriginalEvent.php
deleted file mode 100644 (file)
index bea57ac..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * @see Zend_Gdata_Feed
- */
-require_once 'Zend/Gdata/Feed.php';
-
-/**
- * @see Zend_Gdata_When
- */
-require_once 'Zend/Gdata/Extension/When.php';
-
-/**
- * Represents the gd:originalEvent element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_OriginalEvent extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'originalEvent';
-    protected $_id = null;
-    protected $_href = null;
-    protected $_when = null;
-
-    public function __construct($id = null, $href = null, $when = null)
-    {
-        parent::__construct();
-        $this->_id = $id;
-        $this->_href = $href;
-        $this->_when = $when;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_id != null) {
-            $element->setAttribute('id', $this->_id);
-        }
-        if ($this->_href != null) {
-            $element->setAttribute('href', $this->_href);
-        }
-        if ($this->_when != null) {
-            $element->appendChild($this->_when->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'id':
-            $this->_id = $attribute->nodeValue;
-            break;
-        case 'href':
-            $this->_href = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-            case $this->lookupNamespace('gd') . ':' . 'when';
-                $when = new Zend_Gdata_Extension_When();
-                $when->transferFromDOM($child);
-                $this->_when = $when;
-                break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    public function getId()
-    {
-        return $this->_id;
-    }
-
-    public function setId($value)
-    {
-        $this->_id = $value;
-        return $this;
-    }
-
-    public function getHref()
-    {
-        return $this->_href;
-    }
-
-    public function setHref($value)
-    {
-        $this->_href = $value;
-        return $this;
-    }
-
-    public function getWhen()
-    {
-        return $this->_when;
-    }
-
-    public function setWhen($value)
-    {
-        $this->_when = $value;
-        return $this;
-    }
-
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/Rating.php b/lib/zend/Zend/Gdata/Extension/Rating.php
deleted file mode 100644 (file)
index 2e86725..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Implements the gd:rating element
- * 
- * TODO: Add comments for these methods
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Rating extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'rating';
-    protected $_min = null;
-    protected $_max = null;
-    protected $_numRaters = null;
-    protected $_average = null;
-
-    public function __construct($average = null, $min = null, 
-            $max = null, $numRaters = null)
-    {
-        parent::__construct();
-        $this->_average = $average;
-        $this->_min = $min; 
-        $this->_max = $max;
-        $this->_numRaters = $numRaters;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_min != null) {
-            $element->setAttribute('min', $this->_min);
-        }
-        if ($this->_max != null) {
-            $element->setAttribute('max', $this->_max);
-        }
-        if ($this->_numRaters != null) {
-            $element->setAttribute('numRaters', $this->_numRaters);
-        }
-        if ($this->_average != null) {
-            $element->setAttribute('average', $this->_average);
-        }
-        return $element;
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-            case 'min':
-                $this->_min = $attribute->nodeValue;
-                break;
-            case 'max':
-                $this->_max = $attribute->nodeValue;
-                break;
-            case 'numRaters':
-                $this->_numRaters = $attribute->nodeValue;
-                break;
-            case 'average':
-                $this->_average = $attribute->nodeValue;
-                break;
-            default:
-                parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    public function __toString() 
-    {   
-        return $this->_average;
-    }
-
-    public function getMin()
-    {
-        return $this->_min;
-    }
-
-    public function setMin($value)
-    {
-        $this->_min = $value;
-        return $this;
-    }
-
-    public function getNumRaters()
-    {
-        return $this->_numRaters;
-    }
-
-    public function setNumRaters($value)
-    {
-        $this->_numRaters = $value;
-        return $this;
-    }
-    public function getAverage()
-    {
-        return $this->_average;
-    }
-
-    public function setAverage($value)
-    {
-        $this->_average = $value;
-        return $this;
-    }
-
-    public function getMax()
-    {
-        return $this->_max;
-    }
-
-    public function setMax($value)
-    {
-        $this->_max = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/Recurrence.php b/lib/zend/Zend/Gdata/Extension/Recurrence.php
deleted file mode 100644 (file)
index 4bb7760..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Represents the gd:recurrence element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Recurrence extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'recurrence';
-
-    public function __construct($text = null)
-    {
-        parent::__construct();
-        $this->_text = $text;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/RecurrenceException.php b/lib/zend/Zend/Gdata/Extension/RecurrenceException.php
deleted file mode 100644 (file)
index 0d9d939..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Data model class to represent an entry's recurrenceException
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_RecurrenceException extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'recurrenceException';
-    protected $_specialized = null;
-    protected $_entryLink = null;
-    protected $_originalEvent = null;
-
-    /**
-     * Constructs a new Zend_Gdata_Extension_RecurrenceException object.
-     * @param bool $specialized (optional) Whether this is a specialized exception or not.
-     * @param Zend_Gdata_EntryLink (optional) An Event entry with details about the exception.
-     * @param Zend_Gdata_OriginalEvent (optional) The origianl recurrent event this is an exeption to.
-     */
-    public function __construct($specialized = null, $entryLink = null,
-            $originalEvent = null)
-    {
-        parent::__construct();
-        $this->_specialized = $specialized;
-        $this->_entryLink = $entryLink;
-        $this->_originalEvent = $originalEvent;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_specialized != null) {
-            $element->setAttribute('specialized', ($this->_specialized ? "true" : "false"));
-        }
-        if ($this->_entryLink != null) {
-            $element->appendChild($this->_entryLink->getDOM($element->ownerDocument));
-        }
-        if ($this->_originalEvent != null) {
-            $element->appendChild($this->_originalEvent->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'specialized':
-            if ($attribute->nodeValue == "true") {
-                $this->_specialized = true;
-            }
-            else if ($attribute->nodeValue == "false") {
-                $this->_specialized = false;
-            }
-            else {
-                throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
-            }
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Creates individual Entry objects of the appropriate type and
-     * stores them as members of this entry based upon DOM data.
-     *
-     * @param DOMNode $child The DOMNode to process
-     */
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-        case $this->lookupNamespace('gd') . ':' . 'entryLink':
-            $entryLink = new Zend_Gdata_Extension_EntryLink();
-            $entryLink->transferFromDOM($child);
-            $this->_entryLink = $entryLink;
-            break;
-        case $this->lookupNamespace('gd') . ':' . 'originalEvent':
-            $originalEvent = new Zend_Gdata_Extension_OriginalEvent();
-            $originalEvent->transferFromDOM($child);
-            $this->_originalEvent = $originalEvent;
-            break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    /**
-     * Get the value for this element's Specialized attribute.
-     *
-     * @return bool The requested attribute.
-     */
-    public function getSpecialized()
-    {
-        return $this->_specialized;
-    }
-
-    /**
-     * Set the value for this element's Specialized attribute.
-     *
-     * @param bool $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_RecurrenceException The element being modified.
-     */
-    public function setSpecialized($value)
-    {
-        $this->_specialized = $value;
-        return $this;
-    }
-
-    /**
-     * Get the value for this element's EntryLink attribute.
-     *
-     * @return Zend_Gdata_Extension_EntryLink The requested attribute.
-     */
-    public function getEntryLink()
-    {
-        return $this->_entryLink;
-    }
-
-    /**
-     * Set the value for this element's EntryLink attribute.
-     *
-     * @param Zend_Gdata_Extension_EntryLink $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_RecurrenceException The element being modified.
-     */
-    public function setEntryLink($value)
-    {
-        $this->_entryLink = $value;
-        return $this;
-    }
-
-    /**
-     * Get the value for this element's Specialized attribute.
-     *
-     * @return Zend_Gdata_Extension_OriginalEvent The requested attribute.
-     */
-    public function getOriginalEvent()
-    {
-        return $this->_originalEvent;
-    }
-
-    /**
-     * Set the value for this element's Specialized attribute.
-     *
-     * @param Zend_Gdata_Extension_OriginalEvent $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_RecurrenceException The element being modified.
-     */
-    public function setOriginalEvent($value)
-    {
-        $this->_originalEvent = $value;
-        return $this;
-    }
-
-}
-
diff --git a/lib/zend/Zend/Gdata/Extension/Reminder.php b/lib/zend/Zend/Gdata/Extension/Reminder.php
deleted file mode 100644 (file)
index 50639d6..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Implements the gd:reminder element used to set/retrieve notifications
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Reminder extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'reminder';
-    protected $_absoluteTime = null;
-    protected $_method = null;
-    protected $_days = null;
-    protected $_hours = null;
-    protected $_minutes = null;
-
-    public function __construct($absoluteTime = null, $method = null, $days = null,
-            $hours = null, $minutes = null)
-    {
-        parent::__construct();
-        $this->_absoluteTime = $absoluteTime;
-        $this->_method = $method;
-        $this->_days = $days;
-        $this->_hours = $hours;
-        $this->_minutes = $minutes;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_absoluteTime != null) {
-            $element->setAttribute('absoluteTime', $this->_absoluteTime);
-        }
-        if ($this->_method != null) {
-            $element->setAttribute('method', $this->_method);
-        }
-        if ($this->_days != null) {
-            $element->setAttribute('days', $this->_days);
-        }
-        if ($this->_hours != null) {
-            $element->setAttribute('hours', $this->_hours);
-        }
-        if ($this->_minutes != null) {
-            $element->setAttribute('minutes', $this->_minutes);
-        }
-        return $element;
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-            case 'absoluteTime':
-                $this->_absoluteTime = $attribute->nodeValue;
-                break;
-            case 'method':
-                $this->_method = $attribute->nodeValue;
-                break;
-            case 'days':
-                $this->_days = $attribute->nodeValue;
-                break;
-            case 'hours':
-                $this->_hours = $attribute->nodeValue;
-                break;
-            case 'minutes':
-                $this->_minutes = $attribute->nodeValue;
-                break;
-            default:
-                parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    public function __toString()
-    {
-        $s;
-        if ($absoluteTime)
-            $s = "at" . $absoluteTime;
-        else if ($days)
-            $s = "in" . $days . "days";
-        else if ($hours)
-            $s = "in" . $hours . "hours";
-        else if ($minutes)
-            $s = "in" . $minutes . "minutes";
-        return $method . $s;
-    }
-
-    public function getAbsoluteTime()
-    {
-        return $this->_absoluteTime;
-    }
-
-    public function setAbsoluteTime($value)
-    {
-        $this->_absoluteTime = $value;
-        return $this;
-    }
-
-    public function getDays()
-    {
-        return $this->_days;
-    }
-
-    public function setDays($value)
-    {
-        $this->_days = $value;
-        return $this;
-    }
-    public function getHours()
-    {
-        return $this->_hours;
-    }
-
-    public function setHours($value)
-    {
-        $this->_hours = $value;
-        return $this;
-    }
-
-    public function getMinutes()
-    {
-        return $this->_minutes;
-    }
-
-    public function setMinutes($value)
-    {
-        $this->_minutes = $value;
-        return $this;
-    }
-
-    public function getMethod()
-    {
-        return $this->_method;
-    }
-
-    public function setMethod($value)
-    {
-        $this->_method = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/Transparency.php b/lib/zend/Zend/Gdata/Extension/Transparency.php
deleted file mode 100644 (file)
index 8cf1c7b..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Data model class to represent an entry's transparency
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Transparency extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'transparency';
-    protected $_value = null;
-
-    /**
-     * Constructs a new Zend_Gdata_Extension_Transparency object.
-     * @param bool $value (optional) Transparency value as URI
-     */
-    public function __construct($value = null)
-    {
-        parent::__construct();
-    $this->_value = $value;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_value != null) {
-            $element->setAttribute('value', $this->_value);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'value':
-            $this->_value = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Get the value for this element's Value attribute.
-     *
-     * @return bool The requested attribute.
-     */
-    public function getValue()
-    {
-        return $this->_value;
-    }
-
-    /**
-     * Set the value for this element's Value attribute.
-     *
-     * @param bool $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Transparency The element being modified.
-     */
-    public function setValue($value)
-    {
-        $this->_value = $value;
-        return $this;
-    }
-
-    /**
-     * Magic toString method allows using this directly via echo
-     * Works best in PHP >= 4.2.0
-     */
-    public function __toString()
-    {
-        return $this->getValue();
-    }
-
-}
-
diff --git a/lib/zend/Zend/Gdata/Extension/Visibility.php b/lib/zend/Zend/Gdata/Extension/Visibility.php
deleted file mode 100644 (file)
index 9a0c0a7..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Data model class to represent an entry's visibility
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Visibility extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'visibility';
-    protected $_value = null;
-
-    /**
-     * Constructs a new Zend_Gdata_Extension_Visibility object.
-     * @param bool $value (optional) Visibility value as URI.
-     */
-    public function __construct($value = null)
-    {
-        parent::__construct();
-    $this->_value = $value;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_value != null) {
-            $element->setAttribute('value', $this->_value);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'value':
-            $this->_value = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Get the value for this element's Value attribute.
-     *
-     * @return bool The requested attribute.
-     */
-    public function getValue()
-    {
-        return $this->_value;
-    }
-
-    /**
-     * Set the value for this element's Value attribute.
-     *
-     * @param bool $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Visibility The element being modified.
-     */
-    public function setValue($value)
-    {
-        $this->_value = $value;
-        return $this;
-    }
-
-    /**
-     * Magic toString method allows using this directly via echo
-     * Works best in PHP >= 4.2.0
-     */
-    public function __toString()
-    {
-        return $this->getValue();
-    }
-
-}
-
diff --git a/lib/zend/Zend/Gdata/Extension/When.php b/lib/zend/Zend/Gdata/Extension/When.php
deleted file mode 100644 (file)
index d61825a..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * @see Zend_Gdata_Extension_Reminder
- */
-require_once 'Zend/Gdata/Extension/Reminder.php';
-
-/**
- * Represents the gd:when element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_When extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'when';
-    protected $_reminders = array();
-    protected $_startTime = null;
-    protected $_valueString = null;
-    protected $_endTime = null;
-
-    public function __construct($startTime = null, $endTime = null,
-            $valueString = null, $reminders = null)
-    {
-        parent::__construct();
-        $this->_startTime = $startTime;
-        $this->_endTime = $endTime;
-        $this->_valueString = $valueString;
-        $this->_reminders = $reminders;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_startTime != null) {
-            $element->setAttribute('startTime', $this->_startTime);
-        }
-        if ($this->_endTime != null) {
-            $element->setAttribute('endTime', $this->_endTime);
-        }
-        if ($this->_valueString != null) {
-            $element->setAttribute('valueString', $this->_valueString);
-        }
-        if ($this->_reminders != null) {
-            foreach ($this->_reminders as $reminder) {
-                $element->appendChild(
-                        $reminder->getDOM($element->ownerDocument));
-            }
-        }
-        return $element;
-    }
-
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-            case $this->lookupNamespace('gd') . ':' . 'reminder';
-                $reminder = new Zend_Gdata_Extension_Reminder();
-                $reminder->transferFromDOM($child);
-                $this->_reminders[] = $reminder;
-                break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-            case 'startTime':
-                $this->_startTime = $attribute->nodeValue;
-                break;
-            case 'endTime':
-                $this->_endTime = $attribute->nodeValue;
-                break;
-            case 'valueString':
-                $this->_valueString = $attribute->nodeValue;
-                break;
-            default:
-                parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    public function __toString()
-    {
-        if ($valueString)
-            return $valueString;
-        else {
-            return 'Starts: ' . $this->getStartTime() . ' ' .
-                   'Ends: ' .  $this->getEndTime();
-        }
-    }
-
-    public function getStartTime()
-    {
-        return $this->_startTime;
-    }
-
-    public function setStartTime($value)
-    {
-        $this->_startTime = $value;
-        return $this;
-    }
-
-    public function getEndTime()
-    {
-        return $this->_endTime;
-    }
-
-    public function setEndTime($value)
-    {
-        $this->_endTime = $value;
-        return $this;
-    }
-
-    public function getValueString()
-    {
-        return $this->_valueString;
-    }
-
-    public function setValueString($value)
-    {
-        $this->_valueString = $value;
-        return $this;
-    }
-
-    public function getReminders()
-    {
-        return $this->_reminders;
-    }
-
-    public function setReminders($value)
-    {
-        $this->_reminders = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/Where.php b/lib/zend/Zend/Gdata/Extension/Where.php
deleted file mode 100644 (file)
index a675c22..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Data model class to represent a location (gd:where element)
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Where extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'where';
-    protected $_label = null;
-    protected $_rel = null;
-    protected $_valueString = null;
-    protected $_entryLink = null;
-
-    public function __construct($valueString = null, $label = null, $rel = null, $entryLink = null)
-    {
-        parent::__construct();
-        $this->_valueString = $valueString;
-        $this->_label = $label;
-        $this->_rel = $rel;
-        $this->_entryLink = $entryLink;
-    }
-
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_label != null) {
-            $element->setAttribute('label', $this->_label);
-        }
-        if ($this->_rel != null) {
-            $element->setAttribute('rel', $this->_rel);
-        }
-        if ($this->_valueString != null) {
-            $element->setAttribute('valueString', $this->_valueString);
-        }
-        if ($this->entryLink != null) {
-            $element->appendChild($this->_entryLink->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'label':
-            $this->_label = $attribute->nodeValue;
-            break;
-        case 'rel':
-            $this->_rel = $attribute->nodeValue;
-            break;
-        case 'valueString':
-            $this->_valueString = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Creates individual Entry objects of the appropriate type and
-     * stores them in the $_entry array based upon DOM data.
-     *
-     * @param DOMNode $child The DOMNode to process
-     */
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-        case $this->lookupNamespace('gd') . ':' . 'entryLink':
-            $entryLink = new Zend_Gdata_Extension_EntryLink();
-            $entryLink->transferFromDOM($child);
-            $this->_entryLink = $entryLink;
-            break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    public function __toString()
-    {
-        if ($this->_valueString != null) {
-            return $this->_valueString;
-        }
-        else {
-            return parent::__toString();
-        }
-    }
-
-    public function getLabel()
-    {
-        return $this->_label;
-    }
-
-    public function setLabel($value)
-    {
-        $this->_label = $value;
-        return $this;
-    }
-
-    public function getRel()
-    {
-        return $this->_rel;
-    }
-
-    public function setRel($value)
-    {
-        $this->_rel = $value;
-        return $this;
-    }
-
-    public function getValueString()
-    {
-        return $this->_valueString;
-    }
-
-    public function setValueString($value)
-    {
-        $this->_valueString = $value;
-        return $this;
-    }
-
-    public function getEntryLink()
-    {
-        return $this->_entryLink;
-    }
-
-    public function setEntryLink($value)
-    {
-        $this->_entryLink = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Extension/Who.php b/lib/zend/Zend/Gdata/Extension/Who.php
deleted file mode 100644 (file)
index 5793097..0000000
+++ /dev/null
@@ -1,291 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * @see Zend_Gdata_Extension_AttendeeStatus
- */
-require_once 'Zend/Gdata/Extension/AttendeeStatus.php';
-
-/**
- * @see Zend_Gdata_Extension_AttendeeType
- */
-require_once 'Zend/Gdata/Extension/AttendeeType.php';
-
-/**
- * Data model class to represent a participant
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Extension_Who extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'who';
-    protected $_email = null;
-    protected $_rel = null;
-    protected $_valueString = null;
-    protected $_attendeeStatus = null;
-    protected $_attendeeType = null;
-    protected $_entryLink = null;
-
-    /**
-     * Constructs a new Zend_Gdata_Extension_Who object.
-     * @param string $email (optional) Email address.
-     * @param string $rel (optional) Relationship description.
-     * @param string $valueString (optional) Simple string describing this person.
-     * @param Zend_Gdata_Extension_AttendeeStatus $attendeeStatus (optional) The status of the attendee.
-     * @param Zend_Gdata_Extension_AttendeeType $attendeeType (optional) The type of the attendee.
-     * @param string $entryLink URL pointing to an associated entry (Contact kind) describing this person.
-     */
-    public function __construct($email = null, $rel = null, $valueString = null,
-        $attendeeStatus = null, $attendeeType = null, $entryLink = null)
-    {
-        parent::__construct();
-        $this->_email = $email;
-        $this->_rel = $rel;
-        $this->_valueString = $valueString;
-        $this->_attendeeStatus = $attendeeStatus;
-        $this->_attendeeType = $attendeeType;
-        $this->_entryLink = $entryLink;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_email != null) {
-            $element->setAttribute('email', $this->_email);
-        }
-        if ($this->_rel != null) {
-            $element->setAttribute('rel', $this->_rel);
-        }
-        if ($this->_valueString != null) {
-            $element->setAttribute('valueString', $this->_valueString);
-        }
-        if ($this->_attendeeStatus != null) {
-            $element->appendChild($this->_attendeeStatus->getDOM($element->ownerDocument));
-        }
-        if ($this->_attendeeType != null) {
-            $element->appendChild($this->_attendeeType->getDOM($element->ownerDocument));
-        }
-        if ($this->_entryLink != null) {
-            $element->appendChild($this->_entryLink->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'email':
-            $this->_email = $attribute->nodeValue;
-            break;
-        case 'rel':
-            $this->_rel = $attribute->nodeValue;
-            break;
-        case 'valueString':
-            $this->_valueString = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Creates individual Entry objects of the appropriate type and
-     * stores them as members of this entry based upon DOM data.
-     *
-     * @param DOMNode $child The DOMNode to process
-     */
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-        case $this->lookupNamespace('gd') . ':' . 'attendeeStatus':
-            $attendeeStatus = new Zend_Gdata_Extension_AttendeeStatus();
-            $attendeeStatus->transferFromDOM($child);
-            $this->_attendeeStatus = $attendeeStatus;
-            break;
-        case $this->lookupNamespace('gd') . ':' . 'attendeeType':
-            $attendeeType = new Zend_Gdata_Extension_AttendeeType();
-            $attendeeType->transferFromDOM($child);
-            $this->_attendeeType = $attendeeType;
-            break;
-        case $this->lookupNamespace('gd') . ':' . 'entryLink':
-            $entryLink = new Zend_Gdata_Extension_EntryLink();
-            $entryLink->transferFromDOM($child);
-            $this->_entryLink = $entryLink;
-            break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    /**
-     * Retrieves a human readable string describing this attribute's value.
-     *
-     * @return string The attribute value.
-     */
-    public function __toString()
-    {
-        if ($this->_valueString != null) {
-            return $this->_valueString;
-        }
-        else {
-            return parent::__toString();
-        }
-    }
-
-    /**
-     * Get the value for this element's ValueString attribute.
-     *
-     * @return string The requested attribute.
-     */
-    public function getValueString()
-    {
-        return $this->_valueString;
-    }
-
-    /**
-     * Set the value for this element's ValueString attribute.
-     *
-     * @param string $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Who The element being modified.
-     */
-    public function setValueString($value)
-    {
-        $this->_valueString = $value;
-        return $this;
-    }
-
-    /**
-     * Get the value for this element's Email attribute.
-     *
-     * @return string The requested attribute.
-     */
-    public function getEmail()
-    {
-        return $this->_email;
-    }
-
-    /**
-     * Set the value for this element's Email attribute.
-     *
-     * @param string $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Who The element being modified.
-     */
-    public function setEmail($value)
-    {
-        $this->_email = $value;
-        return $this;
-    }
-
-    /**
-     * Get the value for this element's Rel attribute.
-     *
-     * @return string The requested attribute.
-     */
-    public function getRel()
-    {
-        return $this->_rel;
-    }
-
-    /**
-     * Set the value for this element's Rel attribute.
-     *
-     * @param string $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Who The element being modified.
-     */
-    public function setRel($value)
-    {
-        $this->_rel = $value;
-        return $this;
-    }
-
-    /**
-     * Get this entry's AttendeeStatus element.
-     *
-     * @return Zend_Gdata_Extension_AttendeeStatus The requested entry.
-     */
-    public function getAttendeeStatus()
-    {
-        return $this->_attendeeStatus;
-    }
-
-    /**
-     * Set the child's AttendeeStatus element.
-     *
-     * @param Zend_Gdata_Extension_AttendeeStatus $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Who The element being modified.
-     */
-    public function setAttendeeStatus($value)
-    {
-        $this->_attendeeStatus = $value;
-        return $this;
-    }
-
-    /**
-     * Get this entry's AttendeeType element.
-     *
-     * @return Zend_Gdata_Extension_AttendeeType The requested entry.
-     */
-    public function getAttendeeType()
-    {
-        return $this->_attendeeType;
-    }
-
-    /**
-     * Set the child's AttendeeType element.
-     *
-     * @param Zend_Gdata_Extension_AttendeeType $value The desired value for this attribute.
-     * @return Zend_Gdata_Extension_Who The element being modified.
-     */
-    public function setAttendeeType($value)
-    {
-        $this->_attendeeType = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Gbase.php b/lib/zend/Zend/Gdata/Gbase.php
deleted file mode 100644 (file)
index bdfc8d3..0000000
+++ /dev/null
@@ -1,200 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata
- */
-require_once 'Zend/Gdata.php';
-
-/**
- * @see Zend_Gdata_Gbase_ItemFeed
- */
-require_once 'Zend/Gdata/Gbase/ItemFeed.php';
-
-/**
- * @see Zend_Gdata_Gbase_ItemEntry
- */
-require_once 'Zend/Gdata/Gbase/ItemEntry.php';
-
-/**
- * @see Zend_Gdata_Gbase_SnippetEntry
- */
-require_once 'Zend/Gdata/Gbase/SnippetEntry.php';
-
-/**
- * @see Zend_Gdata_Gbase_SnippetFeed
- */
-require_once 'Zend/Gdata/Gbase/SnippetFeed.php';
-
-/**
- * Service class for interacting with the Google Base data API
- *
- * @link http://code.google.com/apis/base
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase extends Zend_Gdata
-{
-
-    /**
-     * Path to the customer items feeds on the Google Base server.
-     */
-    const GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items';
-
-    /**
-     * Path to the snippets feeds on the Google Base server.
-     */
-    const GBASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets';
-
-    /**
-     * Authentication service name for Google Base
-     */
-    const AUTH_SERVICE_NAME = 'gbase';
-
-    /**
-     * The default URI for POST methods
-     *
-     * @var string
-     */    
-    protected $_defaultPostUri = self::GBASE_ITEM_FEED_URI;
-
-    public static $namespaces = array(
-            'g' => 'http://base.google.com/ns/1.0',
-            'batch' => 'http://schemas.google.com/gdata/batch');
-
-    /**
-     * Create Zend_Gdata_Gbase object
-     *
-     * @param Zend_Http_Client $client (optional) The HTTP client to use when
-     *          when communicating with the Google Apps servers.
-     * @param string $applicationId The identity of the app in the form of Company-AppName-Version
-     */
-    public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
-    {
-        $this->registerPackage('Zend_Gdata_Gbase');
-        $this->registerPackage('Zend_Gdata_Gbase_Extension');
-        parent::__construct($client, $applicationId);
-        $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
-    }
-
-    /**
-     * Retreive feed object
-     *
-     * @param mixed $location The location for the feed, as a URL or Query
-     * @return Zend_Gdata_Gbase_ItemFeed
-     */
-    public function getGbaseItemFeed($location = null)
-    {
-        if ($location === null) {
-            $uri = self::GBASE_ITEM_FEED_URI;
-        } else if ($location instanceof Zend_Gdata_Query) {
-            $uri = $location->getQueryUrl();
-        } else {
-            $uri = $location;
-        }
-        return parent::getFeed($uri, 'Zend_Gdata_Gbase_ItemFeed');
-    }
-
-    /**
-     * Retreive entry object
-     *
-     * @param mixed $location The location for the feed, as a URL or Query
-     * @return Zend_Gdata_Gbase_ItemEntry
-     */
-    public function getGbaseItemEntry($location = null)
-    {
-        if ($location === null) {
-            require_once 'Zend/Gdata/App/InvalidArgumentException.php';
-            throw new Zend_Gdata_App_InvalidArgumentException(
-                    'Location must not be null');
-        } else if ($location instanceof Zend_Gdata_Query) {
-            $uri = $location->getQueryUrl();
-        } else {
-            $uri = $location;
-        }
-        return parent::getEntry($uri, 'Zend_Gdata_Gbase_ItemEntry');
-    }
-
-    /**
-     * Insert an entry
-     *
-     * @param Zend_Gdata_Gbase_ItemEntry $entry The Base entry to upload
-     * @param boolean $dryRun Flag for the 'dry-run' parameter
-     * @return Zend_Gdata_Gbase_ItemFeed
-     */
-    public function insertGbaseItem($entry, $dryRun = false)
-    {
-        if ($dryRun == false) {
-            $uri = $this->_defaultPostUri;
-        } else {
-            $uri = $this->_defaultPostUri . '?dry-run=true';
-        }
-        $newitem = $this->insertEntry($entry, $uri, 'Zend_Gdata_Gbase_ItemEntry');
-        return $newitem;
-    }
-
-    /**
-     * Update an entry
-     *
-     * @param Zend_Gdata_Gbase_ItemEntry $entry The Base entry to be updated
-     * @param boolean $dryRun Flag for the 'dry-run' parameter
-     * @return Zend_Gdata_Gbase_ItemEntry
-     */
-    public function updateGbaseItem($entry, $dryRun = false)
-    {
-        $returnedEntry = $entry->save($dryRun);
-        return $returnedEntry;
-    }
-
-    /**
-     * Delete an entry
-     *
-     * @param Zend_Gdata_Gbase_ItemEntry $entry The Base entry to remove
-     * @param boolean $dryRun Flag for the 'dry-run' parameter
-     * @return Zend_Gdata_Gbase_ItemFeed
-     */
-    public function deleteGbaseItem($entry, $dryRun = false)
-    {
-        $entry->delete($dryRun);
-        return $this;
-    }
-
-    /**
-     * Retrieve feed object
-     *
-     * @param mixed $location The location for the feed, as a URL or Query
-     * @return Zend_Gdata_Gbase_SnippetFeed
-     */
-    public function getGbaseSnippetFeed($location = null)
-    {
-        if ($location === null) {
-            $uri = self::GBASE_SNIPPET_FEED_URI;
-        } else if ($location instanceof Zend_Gdata_Query) {
-            $uri = $location->getQueryUrl();
-        } else {
-            $uri = $location;
-        }
-        return parent::getFeed($uri, 'Zend_Gdata_Gbase_SnippetFeed');
-    }
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/Entry.php b/lib/zend/Zend/Gdata/Gbase/Entry.php
deleted file mode 100644 (file)
index 41492a0..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Entry
- */
-require_once 'Zend/Gdata/Entry.php';
-
-/**
- * @see Zend_Gdata_Gbase_Extension_BaseAttribute
- */
-require_once 'Zend/Gdata/Gbase/Extension/BaseAttribute.php';
-
-/**
- * Base class for working with Google Base entries.
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_Entry extends Zend_Gdata_Entry
-{
-
-    /**
-     * Name of the base class for Google Base entries
-     *
-     * var @string
-     */
-    protected $_entryClassName = 'Zend_Gdata_Gbase_Entry';
-
-    /**
-     * Google Base attribute elements in the 'g' namespace
-     *
-     * @var array
-     */
-    protected $_baseAttributes = array();
-
-    /**
-     * Constructs a new Zend_Gdata_Gbase_ItemEntry object.
-     * @param DOMElement $element (optional) The DOMElement on which to base this object.
-     */
-    public function __construct($element = null)
-    {
-        foreach (Zend_Gdata_Gbase::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct($element);
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     *          child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        foreach ($this->_baseAttributes as $baseAttribute) {
-            $element->appendChild($baseAttribute->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    /**
-     * Creates individual Entry objects of the appropriate type and
-     * stores them as members of this entry based upon DOM data.
-     *
-     * @param DOMNode $child The DOMNode to process
-     */
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-
-        if (strstr($absoluteNodeName, $this->lookupNamespace('g') . ':')) {
-            $baseAttribute = new Zend_Gdata_Gbase_Extension_BaseAttribute();
-            $baseAttribute->transferFromDOM($child);
-            $this->_baseAttributes[] = $baseAttribute;
-        } else {
-            parent::takeChildFromDOM($child);
-        }
-    }
-
-    /**
-     * Get the value of the itme_type
-     *
-     * @return Zend_Gdata_Gbase_Extension_ItemType The requested object.
-     */
-    public function getItemType()
-    {
-        $itemType = $this->getGbaseAttribute('item_type');
-        if (is_object($itemType[0])) {
-          return $itemType[0];
-        } else {
-          return null;
-        }
-    }
-
-    /** 
-     * Return all the Base attributes
-     * @return Zend_Gdata_Gbase_Extension_BaseAttribute
-     */
-    public function getGbaseAttributes() {
-        return $this->_baseAttributes;
-    }
-
-    /** 
-     * Return an array of Base attributes that match the given attribute name
-     *
-     * @param string $name The name of the Base attribute to look for
-     * @return array $matches Array that contains the matching list of Base attributes
-     */
-    public function getGbaseAttribute($name) 
-    {
-        $matches = array();
-        for ($i = 0; $i < count($this->_baseAttributes); $i++) {
-            $baseAttribute = $this->_baseAttributes[$i];
-            if ($baseAttribute->rootElement == $name && 
-                $baseAttribute->rootNamespaceURI == $this->lookupNamespace('g')) {
-                $matches[] = &$this->_baseAttributes[$i];
-            }
-        }
-        return $matches;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/Extension/BaseAttribute.php b/lib/zend/Zend/Gdata/Gbase/Extension/BaseAttribute.php
deleted file mode 100644 (file)
index 51ef299..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-/**
- * @see Zend_Gdata_App_Extension_Element
- */
-require_once 'Zend/Gdata/App/Extension/Element.php';
-
-/**
- * Concrete class for working with ItemType elements.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_Extension_BaseAttribute extends Zend_Gdata_App_Extension_Element
-{
-
-    /**
-     * Namespace for Google Base elements
-     *
-     * var @string
-     */
-    protected $_rootNamespace = 'g';
-    
-    /**
-     * Create a new instance.
-     * 
-     * @param string $name (optional) The name of the Base attribute
-     * @param string $text (optional) The text value of the Base attribute
-     * @param string $text (optional) The type of the Base attribute
-     */
-    public function __construct($name = null, $text = null, $type = null)
-    {
-        foreach (Zend_Gdata_Gbase::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        } 
-        if ($type !== null) {
-          $attr = array('name' => 'type', 'value' => $type);
-          $typeAttr = array('type' => $attr);
-          $this->setExtensionAttributes($typeAttr);
-        }
-        parent::__construct($name, 
-                            $this->_rootNamespace, 
-                            $this->lookupNamespace($this->_rootNamespace), 
-                            $text);
-    }
-
-    /**
-     * Get the name of the attribute
-     *
-     * @return attribute name The requested object.
-     */
-    public function getName() {
-      return $this->_rootElement;
-    }
-
-    /**
-     * Get the type of the attribute
-     *
-     * @return attribute type The requested object.
-     */
-    public function getType() {
-      $typeAttr = $this->getExtensionAttributes();
-      return $typeAttr['type']['value'];
-    }
-
-    /**
-     * Set the 'name' of the Base attribute object:
-     *     &lt;g:[$name] type='[$type]'&gt;[$value]&lt;/g:[$name]&gt;      
-     *
-     * @param Zend_Gdata_App_Extension_Element $attribute The attribute object
-     * @param string $name The name of the Base attribute
-     * @return Zend_Gdata_Extension_ItemEntry Provides a fluent interface
-     */
-    public function setName($name) {
-      $this->_rootElement = $name;
-      return $this;
-    }
-
-    /**
-     * Set the 'type' of the Base attribute object:
-     *     &lt;g:[$name] type='[$type]'&gt;[$value]&lt;/g:[$name]&gt;      
-     *
-     * @param Zend_Gdata_App_Extension_Element $attribute The attribute object
-     * @param string $type The type of the Base attribute
-     * @return Zend_Gdata_Extension_ItemEntry Provides a fluent interface
-     */
-    public function setType($type) {
-      $attr = array('name' => 'type', 'value' => $type);
-      $typeAttr = array('type' => $attr);
-      $this->setExtensionAttributes($typeAttr);
-      return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/Feed.php b/lib/zend/Zend/Gdata/Gbase/Feed.php
deleted file mode 100644 (file)
index bcb753a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Feed
- */
-require_once 'Zend/Gdata/Feed.php';
-
-/**
- * Base class for the Google Base Feed
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_Feed extends Zend_Gdata_Feed
-{
-    /**
-     * The classname for the feed.
-     *
-     * @var string
-     */
-    protected $_feedClassName = 'Zend_Gdata_Gbase_Feed';
-
-    /**
-     * Create a new instance.
-     * 
-     * @param DOMElement $element (optional) DOMElement from which this
-     *          object should be constructed.
-     */
-    public function __construct($element = null)
-    {
-        foreach (Zend_Gdata_Gbase::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct($element);
-    }
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/ItemEntry.php b/lib/zend/Zend/Gdata/Gbase/ItemEntry.php
deleted file mode 100644 (file)
index 7961de4..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Gbase_Entry
- */
-require_once 'Zend/Gdata/Gbase/Entry.php';
-
-/**
- * Concrete class for working with Item entries.
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_ItemEntry extends Zend_Gdata_Gbase_Entry
-{
-    /**
-     * The classname for individual item entry elements.
-     *
-     * @var string
-     */
-    protected $_entryClassName = 'Zend_Gdata_Gbase_ItemEntry';
-
-    /**
-     * Set the value of the itme_type
-     *
-     * @param Zend_Gdata_Gbase_Extension_ItemType $value The desired value for the item_type 
-     * @return Zend_Gdata_Gbase_ItemEntry Provides a fluent interface
-     */
-    public function setItemType($value)
-    {
-        $this->addGbaseAttribute('item_type', $value, 'text');
-        return $this;
-    }
-
-    /**
-     * Adds a custom attribute to the entry in the following format:
-     * &lt;g:[$name] type='[$type]'&gt;[$value]&lt;/g:[$name]&gt;      
-     *
-     * @param string $name The name of the attribute
-     * @param string $value The text value of the attribute
-     * @param string $type (optional) The type of the attribute.
-     *          e.g.: 'text', 'number', 'floatUnit'
-     * @return Zend_Gdata_Gbase_ItemEntry Provides a fluent interface
-     */
-    public function addGbaseAttribute($name, $text, $type = null) {
-        $newBaseAttribute =  new Zend_Gdata_Gbase_Extension_BaseAttribute($name, $text, $type);
-        $this->_baseAttributes[] = $newBaseAttribute;
-        return $this;
-    }
-
-    /**
-     * Removes a Base attribute from the current list of Base attributes
-     * 
-     * @param Zend_Gdata_Gbase_Extension_BaseAttribute $baseAttribute The attribute to be removed
-     * @return Zend_Gdata_Gbase_ItemEntry Provides a fluent interface
-     */
-    public function removeGbaseAttribute($baseAttribute) {
-        $baseAttributes = $this->_baseAttributes;
-        for ($i = 0; $i < count($this->_baseAttributes); $i++) {
-            if ($this->_baseAttributes[$i] == $baseAttribute) {
-                array_splice($baseAttributes, $i, 1);
-                break;
-            }
-        }
-        $this->_baseAttributes = $baseAttributes;
-        return $this;
-    }
-
-    /**
-     * Uploads changes in this entry to the server using Zend_Gdata_App
-     *
-     * @param boolean $dryRun Whether the transaction is dry run or not
-     * @return Zend_Gdata_App_Entry The updated entry
-     * @throws Zend_Gdata_App_Exception
-     */
-    public function save($dryRun = false)
-    {
-        $uri = null;
-
-        if ($dryRun == true) {
-            $editLink = $this->getEditLink();
-            if ($editLink !== null) {
-                $uri = $editLink->getHref() . '?dry-run=true';
-            }
-            if ($uri === null) {
-                require_once 'Zend/Gdata/App/InvalidArgumentException.php';
-                throw new Zend_Gdata_App_InvalidArgumentException('You must specify an URI which needs deleted.');
-            }
-            $service = new Zend_Gdata_App($this->getHttpClient());
-            return $service->updateEntry($this, $uri);
-        } else {
-            parent::save();
-        }
-    }
-
-    /**
-     * Deletes this entry to the server using the referenced
-     * Zend_Http_Client to do a HTTP DELETE to the edit link stored in this
-     * entry's link collection.
-     *
-     * @param boolean $dyrRun Whether the transaction is dry run or not
-     * @return void
-     * @throws Zend_Gdata_App_Exception
-     */
-    public function delete($dryRun = false)
-    {
-        $uri = null;
-
-        if ($dryRun == true) {
-            $editLink = $this->getEditLink();
-            if ($editLink !== null) {
-                $uri = $editLink->getHref() . '?dry-run=true';
-            }
-            if ($uri === null) {
-                require_once 'Zend/Gdata/App/InvalidArgumentException.php';
-                throw new Zend_Gdata_App_InvalidArgumentException('You must specify an URI which needs deleted.');
-            }
-            parent::delete($uri);
-        } else {
-            parent::delete();
-        }
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/ItemFeed.php b/lib/zend/Zend/Gdata/Gbase/ItemFeed.php
deleted file mode 100644 (file)
index eea296d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Gbase_Feed
- */
-require_once 'Zend/Gdata/Gbase/Feed.php';
-
-/**
- * Represents the Google Base Customer Items Feed
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_ItemFeed extends Zend_Gdata_Feed
-{
-    /**
-     * The classname for individual item feed elements.
-     *
-     * @var string
-     */
-    protected $_entryClassName = 'Zend_Gdata_Gbase_ItemEntry';
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/ItemQuery.php b/lib/zend/Zend/Gdata/Gbase/ItemQuery.php
deleted file mode 100644 (file)
index ba3dee3..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Query
- */
-require_once('Zend/Gdata/Query.php');
-
-/**
- * @see Zend_Gdata_Gbase_Query
- */
-require_once('Zend/Gdata/Gbase/Query.php');
-
-
-/**
- * Assists in constructing queries for Google Base Customer Items Feed
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_ItemQuery extends Zend_Gdata_Gbase_Query
-{
-    /**
-     * Path to the customer items feeds on the Google Base server.
-     */
-    const GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items';
-
-    /**
-     * The default URI for POST methods
-     *
-     * @var string
-     */    
-    protected $_defaultFeedUri = self::GBASE_ITEM_FEED_URI;
-
-    /**
-     * The id of an item
-     *
-     * @var string
-     */    
-    protected $_id = null;
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setId($value)
-    {
-        $this->_id = $value;
-        return $this;
-    }
-
-    /*
-     * @return string id
-     */
-    public function getId()
-    {
-        return $this->_id;
-    }
-
-    /**
-     * Returns the query URL generated by this query instance.
-     * 
-     * @return string The query URL for this instance.
-     */
-    public function getQueryUrl()
-    {
-        $uri = $this->_defaultFeedUri;
-        if ($this->getId() !== null) {
-            $uri .= '/' . $this->getId();
-        } else {
-            $uri .= $this->getQueryString();
-        }
-        return $uri;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/Query.php b/lib/zend/Zend/Gdata/Gbase/Query.php
deleted file mode 100644 (file)
index 1b22eb3..0000000
+++ /dev/null
@@ -1,265 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Query
- */
-require_once('Zend/Gdata/Query.php');
-
-/**
- * Assists in constructing queries for Google Base
- *
- * @link http://code.google.com/apis/base
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_Query extends Zend_Gdata_Query
-{
-
-    /**
-     * Path to the customer items feeds on the Google Base server.
-     */
-    const GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items';
-
-    /**
-     * Path to the snippets feeds on the Google Base server.
-     */
-    const GBASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets';
-
-    /**
-     * The default URI for POST methods
-     *
-     * @var string
-     */    
-    protected $_defaultFeedUri = self::GBASE_ITEM_FEED_URI;
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_Query Provides a fluent interface
-     */
-    public function setKey($value)
-    {
-        if ($value !== null) {
-            $this->_params['key'] = $value;
-        } else {
-            unset($this->_params['key']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setBq($value)
-    {
-        if ($value !== null) {
-            $this->_params['bq'] = $value;
-        } else {
-            unset($this->_params['bq']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setRefine($value)
-    {
-        if ($value !== null) {
-            $this->_params['refine'] = $value;
-        } else {
-            unset($this->_params['refine']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setContent($value)
-    {
-        if ($value !== null) {
-            $this->_params['content'] = $value;
-        } else {
-            unset($this->_params['content']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setOrderBy($value)
-    {
-        if ($value !== null) {
-            $this->_params['orderby'] = $value;
-        } else {
-            unset($this->_params['orderby']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setSortOrder($value)
-    {
-        if ($value !== null) {
-            $this->_params['sortorder'] = $value;
-        } else {
-            unset($this->_params['sortorder']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setCrowdBy($value)
-    {
-        if ($value !== null) {
-            $this->_params['crowdby'] = $value;
-        } else {
-            unset($this->_params['crowdby']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Gbase_ItemQuery Provides a fluent interface
-     */
-    public function setAdjust($value)
-    {
-        if ($value !== null) {
-            $this->_params['adjust'] = $value;
-        } else {
-            unset($this->_params['adjust']);
-        }
-        return $this;
-    }
-
-    /**
-     * @return string key
-     */
-    public function getKey()
-    {
-        if (array_key_exists('key', $this->_params)) {
-            return $this->_params['key'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string bq
-     */
-    public function getBq()
-    {
-        if (array_key_exists('bq', $this->_params)) {
-            return $this->_params['bq'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string refine
-     */
-    public function getRefine()
-    {
-        if (array_key_exists('refine', $this->_params)) {
-            return $this->_params['refine'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string content
-     */
-    public function getContent()
-    {
-        if (array_key_exists('content', $this->_params)) {
-            return $this->_params['content'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string orderby
-     */
-    public function getOrderBy()
-    {
-        if (array_key_exists('orderby', $this->_params)) {
-            return $this->_params['orderby'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string sortorder
-     */
-    public function getSortOrder()
-    {
-        if (array_key_exists('sortorder', $this->_params)) {
-            return $this->_params['sortorder'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string crowdby
-     */
-    public function getCrowdBy()
-    {
-        if (array_key_exists('crowdby', $this->_params)) {
-            return $this->_params['crowdby'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string adjust
-     */
-    public function getAdjust()
-    {
-        if (array_key_exists('adjust', $this->_params)) {
-            return $this->_params['adjust'];
-        } else {
-            return null;
-        }
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/SnippetEntry.php b/lib/zend/Zend/Gdata/Gbase/SnippetEntry.php
deleted file mode 100644 (file)
index 22b81b9..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Gbase_Entry
- */
-require_once 'Zend/Gdata/Gbase/Entry.php';
-
-/**
- * Concrete class for working with Snippet entries.
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_SnippetEntry extends Zend_Gdata_Gbase_Entry
-{
-    /**
-     * The classname for individual snippet entry elements.
-     *
-     * @var string
-     */
-    protected $_entryClassName = 'Zend_Gdata_Gbase_SnippetEntry';
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/SnippetFeed.php b/lib/zend/Zend/Gdata/Gbase/SnippetFeed.php
deleted file mode 100644 (file)
index 34f0272..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Gbase_Feed
- */
-require_once 'Zend/Gdata/Gbase/Feed.php';
-
-/**
- * Represents the Google Base Snippets Feed
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_SnippetFeed extends Zend_Gdata_Feed
-{
-    /**
-     * The classname for individual snippet feed elements.
-     *
-     * @var string
-     */
-    protected $_entryClassName = 'Zend_Gdata_Gbase_SnippetEntry';
-}
diff --git a/lib/zend/Zend/Gdata/Gbase/SnippetQuery.php b/lib/zend/Zend/Gdata/Gbase/SnippetQuery.php
deleted file mode 100644 (file)
index 251f3cd..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * Zend_Gdata_Query
- */
-require_once('Zend/Gdata/Query.php');
-
-/**
- * Zend_Gdata_Gbase_Query
- */
-require_once('Zend/Gdata/Gbase/Query.php');
-
-/**
- * Assists in constructing queries for Google Base Snippets Feed
- *
- * @link http://code.google.com/apis/base/
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Gbase_SnippetQuery extends Zend_Gdata_Gbase_Query
-{
-    /**
-     * Path to the snippets feeds on the Google Base server.
-     */
-    const BASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets';
-
-    /**
-     * The default URI for POST methods
-     *
-     * @var string
-     */    
-    protected $_defaultFeedUri = self::BASE_SNIPPET_FEED_URI;
-
-    /**
-     * Returns the query URL generated by this query instance.
-     * 
-     * @return string The query URL for this instance.
-     */
-    public function getQueryUrl()
-    {
-        $uri = $this->_defaultFeedUri;
-        if ($this->getCategory() !== null) {
-            $uri .= '/-/' . $this->getCategory();
-        }
-        $uri .= $this->getQueryString();
-        return $uri;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media.php b/lib/zend/Zend/Gdata/Media.php
deleted file mode 100755 (executable)
index f271f9b..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata
- */
-require_once 'Zend/Gdata.php';
-
-/**
- * Service class for interacting with the services which use the media extensions
- * @link http://code.google.com/apis/gdata/calendar.html
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media extends Zend_Gdata
-{
-
-    public static $namespaces = array(
-            'media' => 'http://search.yahoo.com/mrss/');
-
-    /**
-     * Create Gdata_Media object
-     *
-     * @param Zend_Http_Client $client (optional) The HTTP client to use when
-     *          when communicating with the Google Apps servers.
-     * @param string $applicationId The identity of the app in the form of Company-AppName-Version
-     */
-    public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
-    {
-        $this->registerPackage('Zend_Gdata_Media');
-        $this->registerPackage('Zend_Gdata_Media_Extension');
-        parent::__construct($client, $applicationId);
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Entry.php b/lib/zend/Zend/Gdata/Media/Entry.php
deleted file mode 100755 (executable)
index cb462ae..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Entry
- */
-require_once 'Zend/Gdata/Entry.php';
-
-/**
- * @see Zend_Gdata_Media
- */
-require_once 'Zend/Gdata/Media.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaGroup
- */
-require_once 'Zend/Gdata/Media/Extension/MediaGroup.php';
-
-/**
- * Represents the GData flavor of an Atom entry
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Entry extends Zend_Gdata_Entry
-{
-
-    protected $_entryClassName = 'Zend_Gdata_Media_Entry';
-
-    /**
-     * media:group element
-     *
-     * @var Zend_Gdata_Media_Extension_MediaGroup
-     */
-    protected $_mediaGroup = null;
-
-    /**
-     * Create a new instance.
-     * 
-     * @param DOMElement $element (optional) DOMElement from which this
-     *          object should be constructed.
-     */
-    public function __construct($element = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri); 
-        }
-        parent::__construct($element);
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     *          child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_mediaGroup != null) {
-            $element->appendChild($this->_mediaGroup->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    /**
-     * Creates individual Entry objects of the appropriate type and
-     * stores them as members of this entry based upon DOM data.
-     *
-     * @param DOMNode $child The DOMNode to process
-     */
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;    
-        switch ($absoluteNodeName) {
-        case $this->lookupNamespace('media') . ':' . 'group':
-            $mediaGroup = new Zend_Gdata_Media_Extension_MediaGroup();
-            $mediaGroup->transferFromDOM($child);
-            $this->_mediaGroup = $mediaGroup;
-            break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    /**
-     * Returns the entry's mediaGroup object.
-     *
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-    */
-    public function getMediaGroup()
-    {
-        return $this->_mediaGroup;
-    }
-
-    /**
-     * Sets the entry's mediaGroup object.
-     *
-     * @param Zend_Gdata_Media_Extension_MediaGroup $mediaGroup
-     * @return Zend_Gdata_Media_Entry Provides a fluent interface
-     */
-    public function setMediaGroup($mediaGroup)
-    {
-        $this->_mediaGroup = $mediaGroup;
-        return $this;
-    }
-
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaCategory.php b/lib/zend/Zend/Gdata/Media/Extension/MediaCategory.php
deleted file mode 100755 (executable)
index 352d31f..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:category element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaCategory extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'category'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_scheme = null;
-    protected $_label = null;
-
-    /**
-     * Creates an individual MediaCategory object.
-     * 
-     * @param string $text      Indication of the type and content of the media
-     * @param string $scheme    URI that identifies the categorization scheme
-     * @param string $label     Human-readable label to be displayed in applications
-     */ 
-    public function __construct($text = null, $scheme = null, $label = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_text = $text;
-        $this->_scheme = $scheme;
-        $this->_label = $label;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_scheme != null) {
-            $element->setAttribute('scheme', $this->_scheme);
-        }
-        if ($this->_label != null) {
-            $element->setAttribute('label', $this->_label);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'scheme':
-            $this->_scheme = $attribute->nodeValue;
-            break;
-        case 'label':
-            $this->_label = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Returns the URI that identifies the categorization scheme
-     * Optional.
-     *
-     * @return string URI that identifies the categorization scheme
-     */
-    public function getScheme()
-    {
-        return $this->_scheme;
-    }
-
-    /**
-     * @param string $value     URI that identifies the categorization scheme
-     * @return Zend_Gdata_Media_Extension_MediaCategory Provides a fluent interface
-     */
-    public function setScheme($value)
-    {
-        $this->_scheme = $value;
-        return $this;
-    }
-
-    /**
-     * @return string Human-readable label to be displayed in applications
-     */
-    public function getLabel()
-    {
-        return $this->_label;
-    }
-
-    /**
-     * @param string $value     Human-readable label to be displayed in applications
-     * @return Zend_Gdata_Media_Extension_MediaCategory Provides a fluent interface
-     */
-    public function setLabel($value)
-    {
-        $this->_label = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaContent.php b/lib/zend/Zend/Gdata/Media/Extension/MediaContent.php
deleted file mode 100755 (executable)
index 66b18b6..0000000
+++ /dev/null
@@ -1,521 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * Represents the media:content element of Media RSS.
- * Represents media objects.  Multiple media objects representing
- * the same content can be represented using a 
- * media:group (Zend_Gdata_Media_Extension_MediaGroup) element.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaContent extends Zend_Gdata_Extension
-{
-    protected $_rootElement = 'content';
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_url = null;
-
-    /**
-     * @var int 
-     */
-    protected $_fileSize = null;
-
-    /**
-     * @var string
-     */
-    protected $_type = null;
-
-    /**
-     * @var string
-     */
-    protected $_medium = null;
-
-    /**
-     * @var string
-     */
-    protected $_isDefault = null;
-
-    /**
-     * @var string
-     */
-    protected $_expression = null;
-
-    /**
-     * @var int
-     */ 
-    protected $_bitrate = null;
-
-    /**
-     * @var int
-     */
-    protected $_framerate = null;
-
-    /**
-     * @var int
-     */
-    protected $_samplingrate = null;
-
-    /**
-     * @var int
-     */
-    protected $_channels = null;
-
-    /**
-     * @var int
-     */
-    protected $_duration = null;
-
-    /**
-     * @var int
-     */
-    protected $_height = null;
-
-    /**
-     * @var int
-     */
-    protected $_width = null;
-
-    /**
-     * @var string
-     */
-    protected $_lang = null;
-
-    /**
-     * Creates an individual MediaContent object.
-     */
-    public function __construct($url = null, $fileSize = null, $type = null,
-            $medium = null, $isDefault = null, $expression = null, 
-            $bitrate = null, $framerate = null, $samplingrate = null, 
-            $channels = null, $duration = null, $height = null, $width = null,
-            $lang = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_url = $url;
-        $this->_fileSize = $fileSize;
-        $this->_type = $type;
-        $this->_medium = $medium;
-        $this->_isDefault = $isDefault;
-        $this->_expression = $expression;
-        $this->_bitrate = $bitrate;
-        $this->_framerate = $framerate;
-        $this->_samplingrate = $samplingrate;
-        $this->_channels = $channels;
-        $this->_duration = $duration;
-        $this->_height = $height;
-        $this->_width = $width;
-        $this->_lang = $lang;
-    }
-
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_url != null) {
-            $element->setAttribute('url', $this->_url);
-        }
-        if ($this->_fileSize != null) {
-            $element->setAttribute('fileSize', $this->_fileSize);
-        }
-        if ($this->_type != null) {
-            $element->setAttribute('type', $this->_type);
-        }
-        if ($this->_medium != null) {
-            $element->setAttribute('medium', $this->_medium);
-        }
-        if ($this->_isDefault != null) {
-            $element->setAttribute('isDefault', $this->_isDefault);
-        }
-        if ($this->_expression != null) {
-            $element->setAttribute('expression', $this->_expression);
-        }
-        if ($this->_bitrate != null) {
-            $element->setAttribute('bitrate', $this->_bitrate);
-        }
-        if ($this->_framerate != null) {
-            $element->setAttribute('framerate', $this->_framerate);
-        }
-        if ($this->_samplingrate != null) {
-            $element->setAttribute('samplingrate', $this->_samplingrate);
-        }
-        if ($this->_channels != null) {
-            $element->setAttribute('channels', $this->_channels);
-        }
-        if ($this->_duration != null) {
-            $element->setAttribute('duration', $this->_duration);
-        }
-        if ($this->_height != null) {
-            $element->setAttribute('height', $this->_height);
-        }
-        if ($this->_width != null) {
-            $element->setAttribute('width', $this->_width);
-        }
-        if ($this->_lang != null) {
-            $element->setAttribute('lang', $this->_lang);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-            case 'url':
-                $this->_url = $attribute->nodeValue;
-                break;
-            case 'fileSize':
-                $this->_fileSize = $attribute->nodeValue;
-                break;
-            case 'type':
-                $this->_type = $attribute->nodeValue;
-                break;
-            case 'medium':
-                $this->_medium = $attribute->nodeValue;
-                break;
-            case 'isDefault':
-                $this->_isDefault = $attribute->nodeValue;
-                break;
-            case 'expression':
-                $this->_expression = $attribute->nodeValue;
-                break;
-            case 'bitrate':
-                $this->_bitrate = $attribute->nodeValue;
-                break;
-            case 'framerate':
-                $this->_framerate = $attribute->nodeValue;
-                break;
-            case 'samplingrate':
-                $this->_samplingrate = $attribute->nodeValue;
-                break;
-            case 'channels':
-                $this->_channels = $attribute->nodeValue;
-                break;
-            case 'duration':
-                $this->_duration = $attribute->nodeValue;
-                break;
-            case 'height':
-                $this->_height = $attribute->nodeValue;
-                break;
-            case 'width':
-                $this->_width = $attribute->nodeValue;
-                break;
-            case 'lang':
-                $this->_lang = $attribute->nodeValue;
-                break;
-            default:
-                parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * Returns the URL representing this MediaContent object
-     *
-     * @return string   The URL representing this MediaContent object.
-     */ 
-    public function __toString() 
-    {
-        return $this->getUrl();
-    }
-
-    /**
-     * @return string   The direct URL to the media object
-     */
-    public function getUrl()
-    {
-        return $this->_url;
-    }
-
-    /**
-     * @param string $value     The direct URL to the media object
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setUrl($value)
-    {
-        $this->_url = $value;
-        return $this;
-    }
-
-    /**
-     * @return int  The size of the media in bytes
-     */
-    public function getFileSize()
-    {
-        return $this->_fileSize;
-    }
-
-    /**
-     * @param int $value
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setFileSize($value)
-    {
-        $this->_fileSize = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->_type;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setType($value)
-    {
-        $this->_type = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getMedium()
-    {
-        return $this->_medium;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setMedium($value)
-    {
-        $this->_medium = $value;
-        return $this;
-    }
-
-    /**
-     * @return bool
-     */
-    public function getIsDefault()
-    {
-        return $this->_isDefault;
-    }
-
-    /**
-     * @param bool $value
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setIsDefault($value)
-    {
-        $this->_isDefault = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getExpression()
-    {
-        return $this->_expression;
-    }
-
-    /**
-     * @param string
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setExpression($value)
-    {
-        $this->_expression = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getBitrate()
-    {
-        return $this->_bitrate;
-    }
-
-    /**
-     * @param int
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setBitrate($value)
-    {
-        $this->_bitrate = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getFramerate()
-    {
-        return $this->_framerate;
-    }
-
-    /**
-     * @param int
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setFramerate($value)
-    {
-        $this->_framerate = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getSamplingrate()
-    {
-        return $this->_samplingrate;
-    }
-
-    /**
-     * @param int
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setSamplingrate($value)
-    {
-        $this->_samplingrate = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getChannels()
-    {
-        return $this->_channels;
-    }
-
-    /**
-     * @param int
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setChannels($value)
-    {
-        $this->_channels = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getDuration()
-    {
-        return $this->_duration;
-    }
-
-    /**
-     *
-     * @param int
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setDuration($value)
-    {
-        $this->_duration = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getHeight()
-    {
-        return $this->_height;
-    }
-
-    /**
-     * @param int
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setHeight($value)
-    {
-        $this->_height = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getWidth()
-    {
-        return $this->_width;
-    }
-
-    /**
-     * @param int
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setWidth($value)
-    {
-        $this->_width = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getLang()
-    {
-        return $this->_lang;
-    }
-
-    /**
-     * @param string
-     * @return Zend_Gdata_Media_Extension_MediaContent  Provides a fluent interface
-     */
-    public function setLang($value)
-    {
-        $this->_lang = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaCopyright.php b/lib/zend/Zend/Gdata/Media/Extension/MediaCopyright.php
deleted file mode 100755 (executable)
index 05504c4..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:copyright element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaCopyright extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'copyright'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_url = null;
-
-    /**
-     * @param string $text
-     * @param string $url 
-     */
-    public function __construct($text = null, $url = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_text = $text;
-        $this->_url = $url;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.   
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties. 
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_url != null) {
-            $element->setAttribute('url', $this->_url);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'url':
-            $this->_url = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getUrl()
-    {
-        return $this->_url;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaCopyright Provides a fluent interface
-     */
-    public function setUrl($value)
-    {
-        $this->_url = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaCredit.php b/lib/zend/Zend/Gdata/Media/Extension/MediaCredit.php
deleted file mode 100755 (executable)
index bf76545..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:credit element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaCredit extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'credit'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_role = null;
-
-    /**
-     * @var string
-     */
-    protected $_scheme = null;
-
-    /**
-     * Creates an individual MediaCredit object.
-     *
-     * @param string $text
-     * @param string $role
-     * @param string $scheme
-     */
-    public function __construct($text = null, $role = null,  $scheme = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_text = $text;
-        $this->_role = $role;
-        $this->_scheme = $scheme;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_role != null) {
-            $element->setAttribute('role', $this->_role);
-        }
-        if ($this->_scheme != null) {
-            $element->setAttribute('scheme', $this->_scheme);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'role':
-            $this->_role = $attribute->nodeValue;
-            break;
-        case 'scheme':
-            $this->_scheme = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getRole()
-    {
-        return $this->_role;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaCredit Provides a fluent interface
-     */
-    public function setRole($value)
-    {
-        $this->_role = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getScheme()
-    {
-        return $this->_scheme;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaCredit Provides a fluent interface
-     */
-    public function setScheme($value)
-    {
-        $this->_scheme = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaDescription.php b/lib/zend/Zend/Gdata/Media/Extension/MediaDescription.php
deleted file mode 100755 (executable)
index 020388b..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:description element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaDescription extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'description'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_type = null;
-
-    /**
-     * @param string $text
-     * @param string $type
-     */
-    public function __construct($text = null, $type = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_type = $type;
-        $this->_text = $text;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_type != null) {
-            $element->setAttribute('type', $this->_type);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'type':
-            $this->_type = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->_type;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaDescription Provides a fluent interface
-     */
-    public function setType($value)
-    {
-        $this->_type = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaGroup.php b/lib/zend/Zend/Gdata/Media/Extension/MediaGroup.php
deleted file mode 100755 (executable)
index ce5bcd9..0000000
+++ /dev/null
@@ -1,565 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_Extension
- */
-require_once 'Zend/Gdata/Extension.php';
-
-/**
- * @see Zend_Gdata_Entry
- */
-require_once 'Zend/Gdata/Entry.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaContent
- */
-require_once 'Zend/Gdata/Media/Extension/MediaContent.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaCategory
- */
-require_once 'Zend/Gdata/Media/Extension/MediaCategory.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaCopyright
- */
-require_once 'Zend/Gdata/Media/Extension/MediaCopyright.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaCredit
- */
-require_once 'Zend/Gdata/Media/Extension/MediaCredit.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaDescription
- */
-require_once 'Zend/Gdata/Media/Extension/MediaDescription.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaHash
- */
-require_once 'Zend/Gdata/Media/Extension/MediaHash.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaKeywords
- */
-require_once 'Zend/Gdata/Media/Extension/MediaKeywords.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaPlayer
- */
-require_once 'Zend/Gdata/Media/Extension/MediaPlayer.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaRating
- */
-require_once 'Zend/Gdata/Media/Extension/MediaRating.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaRestriction
- */
-require_once 'Zend/Gdata/Media/Extension/MediaRestriction.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaText
- */
-require_once 'Zend/Gdata/Media/Extension/MediaText.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaThumbnail
- */
-require_once 'Zend/Gdata/Media/Extension/MediaThumbnail.php';
-
-/**
- * @see Zend_Gdata_Media_Extension_MediaTitle
- */
-require_once 'Zend/Gdata/Media/Extension/MediaTitle.php';
-
-
-/**
- * This class represents the media:group element of Media RSS.
- * It allows the grouping of media:content elements that are 
- * different representations of the same content.  When it exists,
- * it is a child of an Entry (Atom) or Item (RSS).
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaGroup extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'group';
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var array
-     */
-    protected $_content = array(); 
-
-    /**
-     * @var array
-     */
-    protected $_category = array(); 
-
-    /**
-     * @var Zend_Gdata_Media_Extension_MediaCopyright
-     */
-    protected $_copyright = null; 
-
-    /**
-     * @var array
-     */
-    protected $_credit = array(); 
-
-    /**
-     * @var Zend_Gdata_Media_Extension_MediaDescription
-     */
-    protected $_description = null; 
-
-    /**
-     * @var array
-     */
-    protected $_hash = array(); 
-
-    /**
-     * @var Zend_Gdata_Media_Extension_MediaKeywords
-     */
-    protected $_keywords = null; 
-
-    /**
-     * @var array
-     */
-    protected $_player = array(); 
-
-    /**
-     * @var array
-     */
-    protected $_rating = array(); 
-
-    /**
-     * @var array
-     */
-    protected $_restriction = array(); 
-
-    /**
-     * @var array
-     */
-    protected $_mediaText = array(); 
-
-    /**
-     * @var array
-     */
-    protected $_thumbnail = array(); 
-
-    /**
-     * @var string
-     */
-    protected $_title = null; 
-
-    /**
-     * Creates an individual MediaGroup object.
-     */
-    public function __construct($element = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct($element);
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.   
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties. 
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        foreach ($this->_content as $content) {
-            $element->appendChild($content->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_category as $category) {
-            $element->appendChild($category->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_credit as $credit) {
-            $element->appendChild($credit->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_player as $player) {
-            $element->appendChild($player->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_rating as $rating) {
-            $element->appendChild($rating->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_restriction as $restriction) {
-            $element->appendChild($restriction->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_mediaText as $text) {
-            $element->appendChild($text->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_thumbnail as $thumbnail) {
-            $element->appendChild($thumbnail->getDOM($element->ownerDocument));
-        }
-        if ($this->_copyright != null) {
-            $element->appendChild(
-                    $this->_copyright->getDOM($element->ownerDocument));
-        }
-        if ($this->_description != null) {
-            $element->appendChild(
-                    $this->_description->getDOM($element->ownerDocument));
-        }
-        foreach ($this->_hash as $hash) {
-            $element->appendChild($hash->getDOM($element->ownerDocument));
-        }
-        if ($this->_keywords != null) {
-            $element->appendChild(
-                    $this->_keywords->getDOM($element->ownerDocument));
-        }
-        if ($this->_title != null) {
-            $element->appendChild(
-                    $this->_title->getDOM($element->ownerDocument));
-        }
-        return $element;
-    }
-
-    /**
-     * Creates individual Entry objects of the appropriate type and
-     * stores them in the $_entry array based upon DOM data.
-     *
-     * @param DOMNode $child The DOMNode to process
-     */
-    protected function takeChildFromDOM($child)
-    {
-        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
-        switch ($absoluteNodeName) {
-            case $this->lookupNamespace('media') . ':' . 'content'; 
-                $content = new Zend_Gdata_Media_Extension_MediaContent();
-                $content->transferFromDOM($child);
-                $this->_content[] = $content;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'category'; 
-                $category = new Zend_Gdata_Media_Extension_MediaCategory();
-                $category->transferFromDOM($child);
-                $this->_category[] = $category;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'copyright'; 
-                $copyright = new Zend_Gdata_Media_Extension_MediaCopyright();
-                $copyright->transferFromDOM($child);
-                $this->_copyright = $copyright;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'credit'; 
-                $credit = new Zend_Gdata_Media_Extension_MediaCredit();
-                $credit->transferFromDOM($child);
-                $this->_credit[] = $credit;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'description'; 
-                $description = new Zend_Gdata_Media_Extension_MediaDescription();
-                $description->transferFromDOM($child);
-                $this->_description = $description;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'hash'; 
-                $hash = new Zend_Gdata_Media_Extension_MediaHash();
-                $hash->transferFromDOM($child);
-                $this->_hash[] = $hash;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'keywords'; 
-                $keywords = new Zend_Gdata_Media_Extension_MediaKeywords();
-                $keywords->transferFromDOM($child);
-                $this->_keywords = $keywords;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'player'; 
-                $player = new Zend_Gdata_Media_Extension_MediaPlayer();
-                $player->transferFromDOM($child);
-                $this->_player[] = $player;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'rating'; 
-                $rating = new Zend_Gdata_Media_Extension_MediaRating();
-                $rating->transferFromDOM($child);
-                $this->_rating[] = $rating;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'restriction'; 
-                $restriction = new Zend_Gdata_Media_Extension_MediaRestriction();
-                $restriction->transferFromDOM($child);
-                $this->_restriction[] = $restriction;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'text'; 
-                $text = new Zend_Gdata_Media_Extension_MediaText();
-                $text->transferFromDOM($child);
-                $this->_mediaText[] = $text;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'thumbnail'; 
-                $thumbnail = new Zend_Gdata_Media_Extension_MediaThumbnail();
-                $thumbnail->transferFromDOM($child);
-                $this->_thumbnail[] = $thumbnail;
-                break;
-            case $this->lookupNamespace('media') . ':' . 'title'; 
-                $title = new Zend_Gdata_Media_Extension_MediaTitle();
-                $title->transferFromDOM($child);
-                $this->_title = $title;
-                break;
-        default:
-            parent::takeChildFromDOM($child);
-            break;
-        }
-    }
-
-    /**
-     * @return array
-     */
-    public function getContent()
-    {
-        return $this->_content;
-    }
-
-    /**
-     * @param array $value
-     * @return Zend_Gdata_Media_MediaGroup Provides a fluent interface
-     */
-    public function setContent($value)
-    {
-        $this->_content = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getCategory()
-    {
-        return $this->_category;
-    }
-
-    /**
-     * @param array $value
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setCategory($value)
-    {
-        $this->_category = $value;
-        return $this;
-    }
-
-    /**
-     * @return Zend_Gdata_Media_Extension_MediaCopyright
-     */
-    public function getCopyright()
-    {
-        return $this->_copyright;
-    }
-
-    /**
-     * @param Zend_Gdata_Media_Extension_MediaCopyright $value
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setCopyright($value)
-    {
-        $this->_copyright = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getCredit()
-    {
-        return $this->_credit;
-    }
-
-    /**
-     * @param array $value
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setCredit($value)
-    {
-        $this->_credit = $value;
-        return $this;
-    }
-
-    /**
-     * @return Zend_Gdata_Media_Extension_MediaTitle
-     */ 
-    public function getTitle()
-    {
-        return $this->_title;
-    }
-
-    /**
-     * @param Zend_Gdata_Media_Extension_MediaTitle $value
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */ 
-    public function setTitle($value)
-    {
-        $this->_title = $value;
-        return $this;
-    }
-
-    /**
-     * @return Zend_Gdata_Media_Extension_MediaDescription
-     */
-    public function getDescription()
-    {
-        return $this->_description;
-    }
-
-    /**
-     * @param Zend_Gdata_Media_Extension_MediaDescription $value
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setDescription($value)
-    {
-        $this->_description = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getHash()
-    {
-        return $this->_hash;
-    }
-
-    /**
-     * @param array $value
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setHash($value)
-    {
-        $this->_hash = $value;
-        return $this;
-    }
-
-    /**
-     * @return Zend_Gdata_Media_Extension_MediaKeywords
-     */
-    public function getKeywords()
-    {
-        return $this->_keywords;
-    }
-
-    /**
-     * @param array $value
-     * @return Zend_Gdata_Media_Extension_MediaGroup Provides a fluent interface
-     */
-    public function setKeywords($value)
-    {
-        $this->_keywords = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getPlayer()
-    {
-        return $this->_player;
-    }
-
-    /**
-     * @param array
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setPlayer($value)
-    {
-        $this->_player = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getRating()
-    {
-        return $this->_rating;
-    }
-
-    /**
-     * @param array
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setRating($value)
-    {
-        $this->_rating = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getRestriction()
-    {
-        return $this->_restriction;
-    }
-
-    /**
-     * @param array
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setRestriction($value)
-    {
-        $this->_restriction = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getThumbnail()
-    {
-        return $this->_thumbnail;
-    }
-
-    /**
-     * @param array
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setThumbnail($value)
-    {
-        $this->_thumbnail = $value;
-        return $this;
-    }
-
-    /**
-     * @return array
-     */
-    public function getMediaText()
-    {
-        return $this->_mediaText;
-    }
-
-    /**
-     * @param array
-     * @return Zend_Gdata_Media_Extension_MediaGroup
-     */
-    public function setMediaText($value)
-    {
-        $this->_mediaText = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaHash.php b/lib/zend/Zend/Gdata/Media/Extension/MediaHash.php
deleted file mode 100755 (executable)
index bbd58be..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:hash element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaHash extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'hash'; 
-    protected $_rootNamespace = 'media';
-    protected $_algo = null;
-
-    /**
-     * Constructs a new MediaHash element
-     *
-     * @param string $text 
-     * @param string $algo
-     */
-    public function __construct($text = null, $algo = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_text = $text;
-        $this->_algo = $algo;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_algo != null) {
-            $element->setAttribute('algo', $this->_algo);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     * @throws Zend_Gdata_App_InvalidArgumentException
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'algo':
-            $this->_algo = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string The algo
-     */
-    public function getAlgo()
-    {
-        return $this->_algo;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaHash Provides a fluent interface
-     */
-    public function setAlgo($value)
-    {
-        $this->_algo = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaKeywords.php b/lib/zend/Zend/Gdata/Media/Extension/MediaKeywords.php
deleted file mode 100755 (executable)
index 7b734bf..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:keywords element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaKeywords extends Zend_Gdata_Extension
-{
-    protected $_rootElement = 'keywords';
-    protected $_rootNamespace = 'media';
-
-    /**
-     * Constructs a new MediaKeywords element
-     */
-    public function __construct()
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaPlayer.php b/lib/zend/Zend/Gdata/Media/Extension/MediaPlayer.php
deleted file mode 100755 (executable)
index de208f8..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:player element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaPlayer extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'player'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_url = null;
-
-    /**
-     * @var int
-     */
-    protected $_width = null;
-
-    /**
-     * @var int 
-     */
-    protected $_height = null;
-
-    /**
-     * Constructs a new MediaPlayer element
-     *
-     * @param string $url 
-     * @param int $width
-     * @param int $height
-     */
-    public function __construct($url = null, $width = null, $height = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_url = $url;
-        $this->_width = $width;
-        $this->_height = $height;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_url != null) {
-            $element->setAttribute('url', $this->_url);
-        }
-        if ($this->_width != null) {
-            $element->setAttribute('width', $this->_width);
-        }
-        if ($this->_height != null) {
-            $element->setAttribute('height', $this->_height);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'url':
-            $this->_url = $attribute->nodeValue;
-            break;
-        case 'width':
-            $this->_width = $attribute->nodeValue;
-            break;
-        case 'height':
-            $this->_height = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getUrl()
-    {
-        return $this->_url;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaPlayer Provides a fluent interface
-     */
-    public function setUrl($value)
-    {
-        $this->_url = $value;
-        return $this;
-    }
-
-    /**
-     * @return int 
-     */
-    public function getWidth()
-    {
-        return $this->_width;
-    }
-
-    /**
-     * @param int $value
-     * @return Zend_Gdata_Media_Extension_MediaPlayer Provides a fluent interface
-     */
-    public function setWidth($value)
-    {
-        $this->_width = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getHeight()
-    {
-        return $this->_height;
-    }
-
-    /**
-     * @param int $value
-     * @return Zend_Gdata_Media_Extension_MediaPlayer Provides a fluent interface
-     */
-    public function setHeight($value)
-    {
-        $this->_height = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaRating.php b/lib/zend/Zend/Gdata/Media/Extension/MediaRating.php
deleted file mode 100755 (executable)
index 6f4048a..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:rating element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaRating extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'rating'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_scheme = null;
-
-    /**
-     * Constructs a new MediaRating element
-     *
-     * @param string $text
-     * @param string $scheme
-     */
-    public function __construct($text = null, $scheme = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_scheme = $scheme;
-        $this->_text = $text;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_scheme != null) {
-            $element->setAttribute('scheme', $this->_scheme);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'scheme':
-            $this->_scheme = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getScheme()
-    {
-        return $this->_scheme;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaRating Provides a fluent interface
-     */
-    public function setScheme($value)
-    {
-        $this->_scheme = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaRestriction.php b/lib/zend/Zend/Gdata/Media/Extension/MediaRestriction.php
deleted file mode 100755 (executable)
index 76df5e8..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:restriction element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaRestriction extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'restriction';
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_relationship = null;
-
-    /**
-     * @var string
-     */
-    protected $_type = null;
-
-    /**
-     * Constructs a new MediaRestriction element
-     *
-     * @param string $text
-     * @param string $relationship
-     * @param string $type
-     */
-    public function __construct($text = null, $relationship = null,  $type = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_text = $text;
-        $this->_relationship = $relationship;
-        $this->_type = $type;
-    }
-
-    /**
-     * Retrieves a DOMElement which corresponds to this element and all
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_relationship != null) {
-            $element->setAttribute('relationship', $this->_relationship);
-        }
-        if ($this->_type != null) {
-            $element->setAttribute('type', $this->_type);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'relationship':
-            $this->_relationship = $attribute->nodeValue;
-            break;
-        case 'type':
-            $this->_type = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getRelationship()
-    {
-        return $this->_relationship;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaRestriction Provides a fluent interface
-     */
-    public function setRelationship($value)
-    {
-        $this->_relationship = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->_type;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaRestriction Provides a fluent interface
-     */
-    public function setType($value)
-    {
-        $this->_type = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaText.php b/lib/zend/Zend/Gdata/Media/Extension/MediaText.php
deleted file mode 100755 (executable)
index b1b4262..0000000
+++ /dev/null
@@ -1,210 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:text element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaText extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'text'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_type = null;
-
-    /**
-     * @var string
-     */
-    protected $_lang = null;
-
-    /**
-     * @var string
-     */
-    protected $_start = null;
-
-    /**
-     * @var string
-     */
-    protected $_end = null;
-
-    /**
-     * Constructs a new MediaText element
-     *
-     * @param $text string
-     * @param $type string
-     * @param $lang string
-     * @param $start string
-     * @param $end string
-     */
-    public function __construct($text = null, $type = null, $lang = null,
-            $start = null, $end = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_text = $text;
-        $this->_type = $type;
-        $this->_lang = $lang;
-        $this->_start = $start;
-        $this->_end = $end;
-    }
-
-    /** 
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_type != null) {
-            $element->setAttribute('type', $this->_type);
-        }
-        if ($this->_lang != null) {
-            $element->setAttribute('lang', $this->_lang);
-        }
-        if ($this->_start != null) {
-            $element->setAttribute('start', $this->_start);
-        }
-        if ($this->_end != null) {
-            $element->setAttribute('end', $this->_end);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */ 
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'type':
-            $this->_type = $attribute->nodeValue;
-            break;
-        case 'lang':
-            $this->_lang = $attribute->nodeValue;
-            break;
-        case 'start':
-            $this->_start = $attribute->nodeValue;
-            break;
-        case 'end':
-            $this->_end = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->_type;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaText Provides a fluent interface
-     */
-    public function setType($value)
-    {
-        $this->_type = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getLang()
-    {
-        return $this->_lang;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaText Provides a fluent interface
-     */
-    public function setLang($value)
-    {
-        $this->_lang = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getStart()
-    {
-        return $this->_start;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaText Provides a fluent interface
-     */
-    public function setStart($value)
-    {
-        $this->_start = $value;
-        return $this;
-    }
-
-    /**
-     * @return string
-     */
-    public function getEnd()
-    {
-        return $this->_end;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaText Provides a fluent interface
-     */
-    public function setEnd($value)
-    {
-        $this->_end = $value;
-        return $this;
-    }
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaThumbnail.php b/lib/zend/Zend/Gdata/Media/Extension/MediaThumbnail.php
deleted file mode 100755 (executable)
index b650102..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:thumbnail element
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaThumbnail extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'thumbnail'; 
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_url = null;
-
-    /**
-     * @var int
-     */
-    protected $_width = null;
-
-    /**
-     * @var int
-     */
-    protected $_height = null;
-
-    /**
-     * @var string
-     */
-    protected $_time = null;
-
-    /**
-     * Constructs a new MediaThumbnail element
-     *
-     * @param string $url
-     * @param int $width
-     * @param int $height
-     * @param string $time
-     */
-    public function __construct($url = null, $width = null, $height = null,
-            $time = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_url = $url;
-        $this->_width = $width;
-        $this->_height = $height;
-        $this->_time = $time ;
-    }
-
-    /** 
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_url != null) {
-            $element->setAttribute('url', $this->_url);
-        }
-        if ($this->_width != null) {
-            $element->setAttribute('width', $this->_width);
-        }
-        if ($this->_height != null) {
-            $element->setAttribute('height', $this->_height);
-        }
-        if ($this->_time != null) {
-            $element->setAttribute('time', $this->_time);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */ 
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'url':
-            $this->_url = $attribute->nodeValue;
-            break;
-        case 'width':
-            $this->_width = $attribute->nodeValue;
-            break;
-        case 'height':
-            $this->_height = $attribute->nodeValue;
-            break;
-        case 'time':
-            $this->_time = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getUrl()
-    {
-        return $this->_url;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface
-     */
-    public function setUrl($value)
-    {
-        $this->_url = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getWidth()
-    {
-        return $this->_width;
-    }
-
-    /**
-     * @param int $value
-     * @return Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface
-     */
-    public function setWidth($value)
-    {
-        $this->_width = $value;
-        return $this;
-    }
-
-    /**
-     * @return int
-     */
-    public function getHeight()
-    {
-        return $this->_height;
-    }
-
-    /**
-     * @param int $value
-     * @return Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface
-     */
-    public function setHeight($value)
-    {
-        $this->_height = $value;
-        return $this;
-    }
-
-    /**
-     * @return string 
-     */
-    public function getTime()
-    {
-        return $this->_time;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface
-     */
-    public function setTime($value)
-    {
-        $this->_time = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Extension/MediaTitle.php b/lib/zend/Zend/Gdata/Media/Extension/MediaTitle.php
deleted file mode 100755 (executable)
index 06bf6f6..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_App_Extension
- */
-require_once 'Zend/Gdata/App/Extension.php';
-
-/**
- * Represents the media:title element in MediaRSS
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Extension_MediaTitle extends Zend_Gdata_Extension
-{
-
-    protected $_rootElement = 'title';
-    protected $_rootNamespace = 'media';
-
-    /**
-     * @var string
-     */
-    protected $_type = null;
-
-    /**
-     * Constructs a MediaTitle element
-     *
-     * @param string $text
-     * @param string $type
-     */
-    public function __construct($text = null, $type = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct();
-        $this->_type = $type;
-        $this->_text = $text;
-    }
-
-    /** 
-     * Retrieves a DOMElement which corresponds to this element and all 
-     * child properties.  This is used to build an entry back into a DOM
-     * and eventually XML text for sending to the server upon updates, or
-     * for application storage/persistence.  
-     *
-     * @param DOMDocument $doc The DOMDocument used to construct DOMElements
-     * @return DOMElement The DOMElement representing this element and all 
-     * child properties.
-     */
-    public function getDOM($doc = null)
-    {
-        $element = parent::getDOM($doc);
-        if ($this->_type != null) {
-            $element->setAttribute('type', $this->_type);
-        }
-        return $element;
-    }
-
-    /**
-     * Given a DOMNode representing an attribute, tries to map the data into
-     * instance members.  If no mapping is defined, the name and value are 
-     * stored in an array.
-     *
-     * @param DOMNode $attribute The DOMNode attribute needed to be handled
-     */ 
-    protected function takeAttributeFromDOM($attribute)
-    {
-        switch ($attribute->localName) {
-        case 'type':
-            $this->_type = $attribute->nodeValue;
-            break;
-        default:
-            parent::takeAttributeFromDOM($attribute);
-        }
-    }
-
-    /**
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->_type;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Media_Extension_MediaTitle Provides a fluent interface
-     */
-    public function setType($value)
-    {
-        $this->_type = $value;
-        return $this;
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Media/Feed.php b/lib/zend/Zend/Gdata/Media/Feed.php
deleted file mode 100755 (executable)
index 518fb30..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Gdata_eed
- */
-require_once 'Zend/Gdata/Feed.php';
-
-/**
- * @see Zend_Gdata_Media
- */
-require_once 'Zend/Gdata/Media.php';
-
-/**
- * @see Zend_Gdata_Media_Entry
- */
-require_once 'Zend/Gdata/Media/Entry.php';
-
-/**
- * The GData flavor of an Atom Feed with media support
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Media_Feed extends Zend_Gdata_Feed
-{
-
-    /**
-     * The classname for individual feed elements.
-     *
-     * @var string
-     */
-    protected $_entryClassName = 'Zend_Gdata_Media_Entry';
-
-    /**
-     * Create a new instance.
-     * 
-     * @param DOMElement $element (optional) DOMElement from which this
-     *          object should be constructed.
-     */
-    public function __construct($element = null)
-    {
-        foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
-            $this->registerNamespace($nsPrefix, $nsUri);
-        }
-        parent::__construct($element);
-    }
-
-}
diff --git a/lib/zend/Zend/Gdata/Query.php b/lib/zend/Zend/Gdata/Query.php
deleted file mode 100644 (file)
index 3e97762..0000000
+++ /dev/null
@@ -1,415 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * Zend_Gdata_App_Util
- */
-require_once 'Zend/Gdata/App/Util.php';
-
-/**
- * Provides a mechanism to build a query URL for GData services.
- * Queries are not defined for APP, but are provided by GData services
- * as an extension.
- *
- * @category   Zend
- * @package    Zend_Gdata
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Gdata_Query
-{
-
-    /**
-     * Query parameters.
-     *
-     * @var array
-     */
-    protected $_params = array();
-
-    /**
-     * Default URL
-     *
-     * @var string
-     */
-    protected $_defaultFeedUri = null;
-
-    /**
-     * Base URL
-     * TODO: Add setters and getters
-     *
-     * @var string
-     */
-    protected $_url = null;
-
-    /**
-     * Category for the query
-     *
-     * @var string
-     */
-    protected $_category = null;
-
-    /**
-     * Create Gdata_Query object
-     */
-    public function __construct($url = null)
-    {
-        $this->_url = $url;
-    }
-
-    /**
-     * @return string querystring
-     */
-    public function getQueryString()
-    {
-        $queryArray = array();
-        foreach ($this->_params as $name => $value) {
-            if (substr($name, 0, 1) == '_') {
-                continue;
-            }
-            $queryArray[] = urlencode($name) . '=' . urlencode($value);
-        }
-        if (count($queryArray) > 0) {
-            return '?' . implode('&', $queryArray);
-        } else {
-            return '';
-        }
-    }
-
-    /**
-     *
-     */
-    public function resetParameters()
-    {
-        $this->_params = array();
-    }
-
-    /**
-     * @return string url
-     */
-    public function getQueryUrl()
-    {
-        if ($this->_url == null) {
-            $url = $this->_defaultFeedUri;
-        } else {
-            $url = $this->_url;
-        }
-        if ($this->getCategory() !== null) {
-            $url .= '/-/' . $this->getCategory();
-        }
-        $url .= $this->getQueryString();
-        return $url;
-    }
-
-    /**
-     * @param string $name
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setParam($name, $value)
-    {
-        $this->_params[$name] = $value;
-        return $this;
-    }
-
-    /**
-     * @param string $name
-     */
-    public function getParam($name)
-    {
-        return $this->_params[$name];
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setAlt($value)
-    {
-        if ($value != null) {
-            $this->_params['alt'] = $value;
-        } else {
-            unset($this->_params['alt']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param int $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setMaxResults($value)
-    {
-        if ($value != null) {
-            $this->_params['max-results'] = $value;
-        } else {
-            unset($this->_params['max-results']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setQuery($value)
-    {
-        if ($value != null) {
-            $this->_params['q'] = $value;
-        } else {
-            unset($this->_params['q']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param int $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setStartIndex($value)
-    {
-        if ($value != null) {
-            $this->_params['start-index'] = $value;
-        } else {
-            unset($this->_params['start-index']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setUpdatedMax($value)
-    {
-        if ($value != null) {
-            $this->_params['updated-max'] = Zend_Gdata_App_Util::formatTimestamp($value);
-        } else {
-            unset($this->_params['updated-max']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setUpdatedMin($value)
-    {
-        if ($value != null) {
-            $this->_params['updated-min'] = Zend_Gdata_App_Util::formatTimestamp($value);
-        } else {
-            unset($this->_params['updated-min']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setPublishedMax($value)
-    {
-        if ($value !== null) {
-            $this->_params['published-max'] = Zend_Gdata_App_Util::formatTimestamp($value);
-        } else {
-            unset($this->_params['published-max']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setPublishedMin($value)
-    {
-        if ($value != null) {
-            $this->_params['published-min'] = Zend_Gdata_App_Util::formatTimestamp($value);
-        } else {
-            unset($this->_params['published-min']);
-        }
-        return $this;
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setAuthor($value)
-    {
-        if ($value != null) {
-            $this->_params['author'] = $value;
-        } else {
-            unset($this->_params['author']);
-        }
-        return $this;
-    }
-
-    /**
-     * @return string rss or atom
-     */
-    public function getAlt()
-    {
-        if (array_key_exists('alt', $this->_params)) {
-            return $this->_params['alt'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return int maxResults
-     */
-    public function getMaxResults()
-    {
-        if (array_key_exists('max-results', $this->_params)) {
-            return intval($this->_params['max-results']);
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string query
-     */
-    public function getQuery()
-    {
-        if (array_key_exists('q', $this->_params)) {
-            return $this->_params['q'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return int startIndex
-     */
-    public function getStartIndex()
-    {
-        if (array_key_exists('start-index', $this->_params)) {
-            return intval($this->_params['start-index']);
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string updatedMax
-     */
-    public function getUpdatedMax()
-    {
-        if (array_key_exists('updated-max', $this->_params)) {
-            return $this->_params['updated-max'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string updatedMin
-     */
-    public function getUpdatedMin()
-    {
-        if (array_key_exists('updated-min', $this->_params)) {
-            return $this->_params['updated-min'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string publishedMax
-     */
-    public function getPublishedMax()
-    {
-        if (array_key_exists('published-max', $this->_params)) {
-            return $this->_params['published-max'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string publishedMin
-     */
-    public function getPublishedMin()
-    {
-        if (array_key_exists('published-min', $this->_params)) {
-            return $this->_params['published-min'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @return string author
-     */
-    public function getAuthor()
-    {
-        if (array_key_exists('author', $this->_params)) {
-            return $this->_params['author'];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * @param string $value
-     * @return Zend_Gdata_Query Provides a fluent interface
-     */
-    public function setCategory($value)
-    {
-        $this->_category = $value;
-        return $this;
-    }
-
-    /*
-     * @return string id
-     */
-    public function getCategory()
-    {
-        return $this->_category;
-    }
-
-
-    public function __get($name)
-    {
-        $method = 'get'.ucfirst($name);
-        if (method_exists($this, $method)) {
-            return call_user_func(array(&$this, $method));
-        } else {
-            require_once 'Zend/Gdata/App/Exception.php';
-            throw new Zend_Gdata_App_Exception('Property ' . $name . '  does not exist');
-        }
-    }
-
-    public function __set($name, $val)
-    {
-        $method = 'set'.ucfirst($name);
-        if (method_exists($this, $method)) {
-            return call_user_func(array(&$this, $method), $val);
-        } else {
-            require_once 'Zend/Gdata/App/Exception.php';
-            throw new Zend_Gdata_App_Exception('Property ' . $name . '  does not exist');
-        }
-    }
-
-}
diff --git a/lib/zend/Zend/Http/Client/Adapter/Exception.php b/lib/zend/Zend/Http/Client/Adapter/Exception.php
deleted file mode 100644 (file)
index 89eb95b..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Http
- * @subpackage Client_Adapter_Exception
- * @version    $Id$
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-require_once 'Zend/Http/Client/Exception.php';
-
-/**
- * @category   Zend
- * @package    Zend_Http
- * @subpackage Client_Adapter
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Http_Client_Adapter_Exception extends Zend_Http_Client_Exception
-{}
diff --git a/lib/zend/Zend/Http/Client/Adapter/Proxy.php b/lib/zend/Zend/Http/Client/Adapter/Proxy.php
deleted file mode 100644 (file)
index 7ddbe5a..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Http
- * @subpackage Client_Adapter
- * @version    $Id$
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-require_once 'Zend/Uri/Http.php';
-require_once 'Zend/Http/Client.php';
-require_once 'Zend/Http/Client/Adapter/Socket.php';
-
-/**
- * HTTP Proxy-supporting Zend_Http_Client adapter class, based on the default
- * socket based adapter.
- *
- * Should be used if proxy HTTP access is required. If no proxy is set, will
- * fall back to Zend_Http_Client_Adapter_Socket behavior. Just like the
- * default Socket adapter, this adapter does not require any special extensions
- * installed.
- *
- * @category   Zend
- * @package    Zend_Http
- * @subpackage Client_Adapter
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Http_Client_Adapter_Proxy extends Zend_Http_Client_Adapter_Socket
-{
-    /**
-     * Parameters array
-     *
-     * @var array
-     */
-    protected $config = array(
-        'ssltransport'  => 'ssl',
-        'proxy_host'    => '',
-        'proxy_port'    => 8080,
-        'proxy_user'    => '',
-        'proxy_pass'    => '',
-        'proxy_auth'    => Zend_Http_Client::AUTH_BASIC,
-        'persistent'    => false
-    );
-
-    /**
-     * Whether HTTPS CONNECT was already negotiated with the proxy or not
-     *
-     * @var boolean
-     */
-    protected $negotiated = false;
-    
-    /**
-     * Connect to the remote server
-     *
-     * Will try to connect to the proxy server. If no proxy was set, will
-     * fall back to the target server (behave like regular Socket adapter)
-     *
-     * @param string  $host
-     * @param int     $port
-     * @param boolean $secure
-     * @param int     $timeout
-     */
-    public function connect($host, $port = 80, $secure = false)
-    {
-        // If no proxy is set, fall back to Socket adapter
-        if (! $this->config['proxy_host']) return parent::connect($host, $port, $secure);
-
-        // Go through a proxy - the connection is actually to the proxy server
-        $host = $this->config['proxy_host'];
-        $port = $this->config['proxy_port'];
-
-        // If we are connected to the wrong proxy, disconnect first
-        if (($this->connected_to[0] != $host || $this->connected_to[1] != $port)) {
-            if (is_resource($this->socket)) $this->close();
-        }
-
-        // Now, if we are not connected, connect
-        if (! is_resource($this->socket) || ! $this->config['keepalive']) {
-            $this->socket = @fsockopen($host, $port, $errno, $errstr, (int) $this->config['timeout']);
-            if (! $this->socket) {
-                $this->close();
-                require_once 'Zend/Http/Client/Adapter/Exception.php';
-                throw new Zend_Http_Client_Adapter_Exception(
-                    'Unable to Connect to proxy server ' . $host . ':' . $port . '. Error #' . $errno . ': ' . $errstr);
-            }
-
-            // Set the stream timeout
-            if (!stream_set_timeout($this->socket, (int) $this->config['timeout'])) {
-                require_once 'Zend/Http/Client/Adapter/Exception.php';
-                throw new Zend_Http_Client_Adapter_Exception('Unable to set the connection timeout');
-            }
-
-            // Update connected_to
-            $this->connected_to = array($host, $port);
-        }
-    }
-
-    /**
-     * Send request to the proxy server
-     *
-     * @param string        $method
-     * @param Zend_Uri_Http $uri
-     * @param string        $http_ver
-     * @param array         $headers
-     * @param string        $body
-     * @return string Request as string
-     */
-    public function write($method, $uri, $http_ver = '1.1', $headers = array(), $body = '')
-    {
-        // If no proxy is set, fall back to default Socket adapter
-        if (! $this->config['proxy_host']) return parent::write($method, $uri, $http_ver, $headers, $body);
-
-        // Make sure we're properly connected
-        if (! $this->socket) {
-            require_once 'Zend/Http/Client/Adapter/Exception.php';
-            throw new Zend_Http_Client_Adapter_Exception("Trying to write but we are not connected");
-        }
-
-        $host = $this->config['proxy_host'];
-        $port = $this->config['proxy_port'];
-
-        if ($this->connected_to[0] != $host || $this->connected_to[1] != $port) {
-            require_once 'Zend/Http/Client/Adapter/Exception.php';
-            throw new Zend_Http_Client_Adapter_Exception("Trying to write but we are connected to the wrong proxy server");
-        }
-
-        // Add Proxy-Authorization header
-        if ($this->config['proxy_user'] && ! isset($headers['proxy-authorization'])) {
-            $headers['proxy-authorization'] = Zend_Http_Client::encodeAuthHeader(
-                $this->config['proxy_user'], $this->config['proxy_pass'], $this->config['proxy_auth']
-            );
-        }
-                
-        // if we are proxying HTTPS, preform CONNECT handshake with the proxy
-        if ($uri->getScheme() == 'https' && (! $this->negotiated)) {
-            $this->connectHandshake($uri->getHost(), $uri->getPort(), $http_ver, $headers);
-            $this->negotiated = true;
-        }
-        
-        // Save request method for later
-        $this->method = $method;
-
-        // Build request headers
-        $request = "{$method} {$uri->__toString()} HTTP/{$http_ver}\r\n";
-
-        // Add all headers to the request string
-        foreach ($headers as $k => $v) {
-            if (is_string($k)) $v = "$k: $v";
-            $request .= "$v\r\n";
-        }
-
-        // Add the request body
-        $request .= "\r\n" . $body;
-
-        // Send the request
-        if (! @fwrite($this->socket, $request)) {
-            require_once 'Zend/Http/Client/Adapter/Exception.php';
-            throw new Zend_Http_Client_Adapter_Exception("Error writing request to proxy server");
-        }
-
-        return $request;
-    }
-
-    /**
-     * Preform handshaking with HTTPS proxy using CONNECT method
-     *
-     * @param string  $host
-     * @param integer $port
-     * @param string  $http_ver
-     * @param array   $headers
-     */
-    protected function connectHandshake($host, $port = 443, $http_ver = '1.1', array &$headers = array())
-    {
-       $request = "CONNECT $host:$port HTTP/$http_ver\r\n" . 
-                  "Host: " . $this->config['proxy_host'] . "\r\n";
-
-       // Add the user-agent header
-       if (isset($this->config['useragent'])) {
-               $request .= "User-agent: " . $this->config['useragent'] . "\r\n";
-       }
-       
-       // If the proxy-authorization header is set, send it to proxy but remove
-       // it from headers sent to target host
-       if (isset($headers['proxy-authorization'])) {
-           $request .= "Proxy-authorization: " . $headers['proxy-authorization'] . "\r\n";
-           unset($headers['proxy-authorization']);
-       }
-       
-        $request .= "\r\n";
-
-        // Send the request
-        if (! @fwrite($this->socket, $request)) {
-            require_once 'Zend/Http/Client/Adapter/Exception.php';
-            throw new Zend_Http_Client_Adapter_Exception("Error writing request to proxy server");
-        }
-
-        // Read response headers only
-        $response = '';
-        $gotStatus = false;
-        while ($line = @fgets($this->socket)) {
-            $gotStatus = $gotStatus || (strpos($line, 'HTTP') !== false);
-            if ($gotStatus) {
-                $response .= $line;
-                if (!chop($line)) break;
-            }
-        }
-        
-        // Check that the response from the proxy is 200
-        if (Zend_Http_Response::extractCode($response) != 200) {
-                require_once 'Zend/Http/Client/Adapter/Exception.php';
-               throw new Zend_Http_Client_Adapter_Exception("Unable to connect to HTTPS proxy. Server response: " . $response);
-        }
-        
-        // If all is good, switch socket to secure mode. We have to fall back
-        // through the different modes 
-        $modes = array(
-            STREAM_CRYPTO_METHOD_TLS_CLIENT, 
-            STREAM_CRYPTO_METHOD_SSLv3_CLIENT,
-            STREAM_CRYPTO_METHOD_SSLv23_CLIENT,
-            STREAM_CRYPTO_METHOD_SSLv2_CLIENT 
-        );
-        
-        $success = false; 
-        foreach($modes as $mode) {
-            $success = stream_socket_enable_crypto($this->socket, true, $mode);
-               if ($success) break;
-        }
-        
-        if (! $success) {
-                require_once 'Zend/Http/Client/Adapter/Exception.php';
-                throw new Zend_Http_Client_Adapter_Exception("Unable to connect to" . 
-                    " HTTPS server through proxy: could not negotiate secure connection.");
-        }
-    }
-    
-    /**
-     * Close the connection to the server
-     *
-     */
-    public function close()
-    {
-        parent::close();
-        $this->negotiated = false;
-    }
-    
-    /**
-     * Destructor: make sure the socket is disconnected
-     *
-     */
-    public function __destruct()
-    {
-        if ($this->socket) $this->close();
-    }
-}
diff --git a/lib/zend/Zend/Http/Client/Adapter/Test.php b/lib/zend/Zend/Http/Client/Adapter/Test.php
deleted file mode 100644 (file)
index aad25f2..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Http
- * @subpackage Client_Adapter
- * @version    $Id$
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-require_once 'Zend/Uri/Http.php';
-require_once 'Zend/Http/Response.php';
-require_once 'Zend/Http/Client/Adapter/Interface.php';
-
-/**
- * A testing-purposes adapter.
- *
- * Should be used to test all components that rely on Zend_Http_Client,
- * without actually performing an HTTP request. You should instantiate this
- * object manually, and then set it as the client's adapter. Then, you can
- * set the expected response using the setResponse() method.
- *
- * @category   Zend
- * @package    Zend_Http
- * @subpackage Client_Adapter
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Http_Client_Adapter_Test implements Zend_Http_Client_Adapter_Interface
-{
-    /**
-     * Parameters array
-     *
-     * @var array
-     */
-    protected $config = array();
-
-    /**
-     * Buffer of responses to be returned by the read() method.  Can be
-     * set using setResponse() and addResponse().
-     *
-     * @var array
-     */
-    protected $responses = array("HTTP/1.1 400 Bad Request\r\n\r\n");
-
-    /**
-     * Current position in the response buffer
-     *
-     * @var integer
-     */
-    protected $responseIndex = 0;
-
-    /**
-     * Adapter constructor, currently empty. Config is set using setConfig()
-     *
-     */
-    public function __construct()
-    { }
-
-    /**
-     * Set the configuration array for the adapter
-     *
-     * @param array $config
-     */
-    public function setConfig($config = array())
-    {
-        if (! is_array($config)) {
-            require_once 'Zend/Http/Client/Adapter/Exception.php';
-            throw new Zend_Http_Client_Adapter_Exception(
-                '$config expects an array, ' . gettype($config) . ' recieved.');
-        }
-
-        foreach ($config as $k => $v) {
-            $this->config[strtolower($k)] = $v;
-        }
-    }
-
-    /**
-     * Connect to the remote server
-     *
-     * @param string  $host
-     * @param int     $port
-     * @param boolean $secure
-     * @param int     $timeout
-     */
-    public function connect($host, $port = 80, $secure = false)
-    { }
-
-    /**
-     * Send request to the remote server
-     *
-     * @param string        $method
-     * @param Zend_Uri_Http $uri
-     * @param string        $http_ver
-     * @param array         $headers
-     * @param string        $body
-     * @return string Request as string
-     */
-    public function write($method, $uri, $http_ver = '1.1', $headers = array(), $body = '')
-    {
-        $host = $uri->getHost();
-            $host = (strtolower($uri->getScheme()) == 'https' ? 'sslv2://' . $host : $host);
-
-        // Build request headers
-        $path = $uri->getPath();
-        if ($uri->getQuery()) $path .= '?' . $uri->getQuery();
-        $request = "{$method} {$path} HTTP/{$http_ver}\r\n";
-        foreach ($headers as $k => $v) {
-            if (is_string($k)) $v = ucfirst($k) . ": $v";
-            $request .= "$v\r\n";
-        }
-
-        // Add the request body
-        $request .= "\r\n" . $body;
-
-        // Do nothing - just return the request as string
-
-        return $request;
-    }
-
-    /**
-     * Return the response set in $this->setResponse()
-     *
-     * @return string
-     */
-    public function read()
-    {
-        if ($this->responseIndex >= count($this->responses)) {
-            $this->responseIndex = 0;
-        }
-        return $this->responses[$this->responseIndex++];
-    }
-
-    /**
-     * Close the connection (dummy)
-     *
-     */
-    public function close()
-    { }
-
-    /**
-     * Set the HTTP response(s) to be returned by this adapter
-     *
-     * @param Zend_Http_Response|array|string $response
-     */
-    public function setResponse($response)
-    {
-        if ($response instanceof Zend_Http_Response) {
-            $response = $response->asString();
-        }
-
-        $this->responses = (array)$response;
-        $this->responseIndex = 0;
-    }
-
-    /**
-     * Add another response to the response buffer.
-     *
-     * @param string $response
-     */
-    public function addResponse($response)
-    {
-        $this->responses[] = $response;
-    }
-
-    /**
-     * Sets the position of the response buffer.  Selects which
-     * response will be returned on the next call to read().
-     *
-     * @param integer $index
-     */
-    public function setResponseIndex($index)
-    {
-        if ($index < 0 || $index >= count($this->responses)) {
-            require_once 'Zend/Http/Client/Adapter/Exception.php';
-            throw new Zend_Http_Client_Adapter_Exception(
-                'Index out of range of response buffer size');
-        }
-        $this->responseIndex = $index;
-    }
-}
diff --git a/lib/zend/Zend/Mime/Decode.php b/lib/zend/Zend/Mime/Decode.php
deleted file mode 100644 (file)
index 0d0dda8..0000000
+++ /dev/null
@@ -1,243 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Mime
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-
-/**
- * @see Zend_Mime
- */
-require_once 'Zend/Mime.php';
-
-/**
- * @category   Zend
- * @package    Zend_Mime
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Mime_Decode
-{
-    /**
-     * Explode MIME multipart string into seperate parts
-     *
-     * Parts consist of the header and the body of each MIME part.
-     *
-     * @param  string $body     raw body of message
-     * @param  string $boundary boundary as found in content-type
-     * @return array parts with content of each part, empty if no parts found
-     * @throws Zend_Exception
-     */
-    public static function splitMime($body, $boundary)
-    {
-        // TODO: we're ignoring \r for now - is this function fast enough and is it safe to asume noone needs \r?
-        $body = str_replace("\r", '', $body);
-
-        $start = 0;
-        $res = array();
-        // find every mime part limiter and cut out the
-        // string before it.
-        // the part before the first boundary string is discarded:
-        $p = strpos($body, '--' . $boundary . "\n", $start);
-        if ($p === false) {
-            // no parts found!
-            return array();
-        }
-
-        // position after first boundary line
-        $start = $p + 3 + strlen($boundary);
-
-        while (($p = strpos($body, '--' . $boundary . "\n", $start)) !== false) {
-            $res[] = substr($body, $start, $p-$start);
-            $start = $p + 3 + strlen($boundary);
-        }
-
-        // no more parts, find end boundary
-        $p = strpos($body, '--' . $boundary . '--', $start);
-        if ($p===false) {
-            throw new Zend_Exception('Not a valid Mime Message: End Missing');
-        }
-
-        // the remaining part also needs to be parsed:
-        $res[] = substr($body, $start, $p-$start);
-        return $res;
-    }
-
-    /**
-     * decodes a mime encoded String and returns a
-     * struct of parts with header and body
-     *
-     * @param  string $message  raw message content
-     * @param  string $boundary boundary as found in content-type
-     * @param  string $EOL EOL string; defaults to {@link Zend_Mime::LINEEND}
-     * @return array|null parts as array('header' => array(name => value), 'body' => content), null if no parts found
-     * @throws Zend_Exception
-     */
-    public static function splitMessageStruct($message, $boundary, $EOL = Zend_Mime::LINEEND)
-    {
-        $parts = self::splitMime($message, $boundary);
-        if (count($parts) <= 0) {
-            return null;
-        }
-        $result = array();
-        foreach ($parts as $part) {
-            self::splitMessage($part, $headers, $body, $EOL);
-            $result[] = array('header' => $headers,
-                              'body'   => $body    );
-        }
-        return $result;
-    }
-
-    /**
-     * split a message in header and body part, if no header or an
-     * invalid header is found $headers is empty
-     *
-     * The charset of the returned headers depend on your iconv settings.
-     *
-     * @param  string $message raw message with header and optional content
-     * @param  array  $headers output param, array with headers as array(name => value)
-     * @param  string $body    output param, content of message
-     * @param  string $EOL EOL string; defaults to {@link Zend_Mime::LINEEND}
-     * @return null
-     */
-    public static function splitMessage($message, &$headers, &$body, $EOL = Zend_Mime::LINEEND)
-    {
-        // check for valid header at first line
-        $firstline = strtok($message, "\n");
-        if (!preg_match('%^[^\s]+[^:]*:%', $firstline)) {
-            $headers = array();
-            // TODO: we're ignoring \r for now - is this function fast enough and is it safe to asume noone needs \r?
-            $body = str_replace(array("\r", "\n"), array('', $EOL), $message);
-            return;
-        }
-
-        // find an empty line between headers and body
-        // default is set new line
-        if (strpos($message, $EOL . $EOL)) {
-            list($headers, $body) = explode($EOL . $EOL, $message, 2);
-        // next is the standard new line
-        } else if ($EOL != "\r\n" && strpos($message, "\r\n\r\n")) {
-            list($headers, $body) = explode("\r\n\r\n", $message, 2);
-        // next is the other "standard" new line
-        } else if ($EOL != "\n" && strpos($message, "\n\n")) {
-            list($headers, $body) = explode("\n\n", $message, 2);
-        // at last resort find anything that looks like a new line
-        } else {
-            @list($headers, $body) = @preg_split("%([\r\n]+)\\1%U", $message, 2);
-        }
-
-        $headers = iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR);
-
-        if ($headers === false ) {
-               // an error occurs during the decoding
-               return;
-        }
-
-        // normalize header names
-        foreach ($headers as $name => $header) {
-            $lower = strtolower($name);
-            if ($lower == $name) {
-                continue;
-            }
-            unset($headers[$name]);
-            if (!isset($headers[$lower])) {
-                $headers[$lower] = $header;
-                continue;
-            }
-            if (is_array($headers[$lower])) {
-                $headers[$lower][] = $header;
-                continue;
-            }
-            $headers[$lower] = array($headers[$lower], $header);
-        }
-    }
-
-    /**
-     * split a content type in its different parts
-     *
-     * @param  string $type       content-type
-     * @param  string $wantedPart the wanted part, else an array with all parts is returned
-     * @return string|array wanted part or all parts as array('type' => content-type, partname => value)
-     */
-    public static function splitContentType($type, $wantedPart = null)
-    {
-        return self::splitHeaderField($type, $wantedPart, 'type');
-    }
-
-    /**
-     * split a header field like content type in its different parts
-     *
-     * @param  string $type       header field
-     * @param  string $wantedPart the wanted part, else an array with all parts is returned
-     * @param  string $firstName  key name for the first part
-     * @return string|array wanted part or all parts as array($firstName => firstPart, partname => value)
-     * @throws Zend_Exception
-     */
-    public static function splitHeaderField($field, $wantedPart = null, $firstName = 0)
-    {
-       $wantedPart = strtolower($wantedPart);
-       $firstName = strtolower($firstName);
-
-        // special case - a bit optimized
-        if ($firstName === $wantedPart) {
-            $field = strtok($field, ';');
-            return $field[0] == '"' ? substr($field, 1, -1) : $field;
-        }
-
-        $field = $firstName . '=' . $field;
-        if (!preg_match_all('%([^=\s]+)\s*=("[^"]+"|[^;]+)(;\s*|$)%', $field, $matches)) {
-            throw new Zend_Exception('not a valid header field');
-        }
-
-        if ($wantedPart) {
-            foreach ($matches[1] as $key => $name) {
-                if (strcasecmp($name, $wantedPart)) {
-                    continue;
-                }
-                if ($matches[2][$key][0] != '"') {
-                    return $matches[2][$key];
-                }
-                return substr($matches[2][$key], 1, -1);
-            }
-            return null;
-        }
-
-        $split = array();
-        foreach ($matches[1] as $key => $name) {
-               $name = strtolower($name);
-            if ($matches[2][$key][0] == '"') {
-                $split[$name] = substr($matches[2][$key], 1, -1);
-            } else {
-                $split[$name] = $matches[2][$key];
-            }
-        }
-
-        return $split;
-    }
-
-    /**
-     * decode a quoted printable encoded string
-     *
-     * The charset of the returned string depends on your iconv settings.
-     *
-     * @param  string encoded string
-     * @return string decoded string
-     */
-    public static function decodeQuotedPrintable($string)
-    {
-        return iconv_mime_decode($string, ICONV_MIME_DECODE_CONTINUE_ON_ERROR);
-    }
-}
diff --git a/lib/zend/Zend/Uri/Exception.php b/lib/zend/Zend/Uri/Exception.php
deleted file mode 100644 (file)
index fe9a271..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category  Zend
- * @package   Zend_Uri
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license   http://framework.zend.com/license/new-bsd     New BSD License
- * @version   $Id$
- */
-
-/**
- * @see Zend_Exception
- */
-require_once 'Zend/Exception.php';
-
-/**
- * Exceptions for Zend_Uri
- *
- * @category  Zend
- * @package   Zend_Uri
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license   http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Uri_Exception extends Zend_Exception
-{
-}
diff --git a/lib/zend/Zend/Validate/Hostname/At.php b/lib/zend/Zend/Validate/Hostname/At.php
deleted file mode 100644 (file)
index c1e1f00..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_At implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see http://www.nic.at/en/service/technical_information/idn/charset_converter/ Austria (.AT)
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return '\x{00EO}-\x{00F6}\x{00F8}-\x{00FF}\x{0153}\x{0161}\x{017E}';
-    }
-
-}
\ No newline at end of file
diff --git a/lib/zend/Zend/Validate/Hostname/Ch.php b/lib/zend/Zend/Validate/Hostname/Ch.php
deleted file mode 100644 (file)
index 464e867..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_Ch implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see https://nic.switch.ch/reg/ocView.action?res=EF6GW2JBPVTG67DLNIQXU234MN6SC33JNQQGI7L6#anhang1 Switzerland (.CH)
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return '\x{00EO}-\x{00F6}\x{00F8}-\x{00FF}\x{0153}';
-    }
-
-}
\ No newline at end of file
diff --git a/lib/zend/Zend/Validate/Hostname/De.php b/lib/zend/Zend/Validate/Hostname/De.php
deleted file mode 100644 (file)
index 0b7c1e3..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_De implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see http://www.denic.de/en/domains/idns/liste.html Germany (.DE) alllowed characters
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return  '\x{00E1}\x{00E0}\x{0103}\x{00E2}\x{00E5}\x{00E4}\x{00E3}\x{0105}\x{0101}\x{00E6}\x{0107}' .
-                '\x{0109}\x{010D}\x{010B}\x{00E7}\x{010F}\x{0111}\x{00E9}\x{00E8}\x{0115}\x{00EA}\x{011B}' .
-                '\x{00EB}\x{0117}\x{0119}\x{0113}\x{011F}\x{011D}\x{0121}\x{0123}\x{0125}\x{0127}\x{00ED}' .
-                '\x{00EC}\x{012D}\x{00EE}\x{00EF}\x{0129}\x{012F}\x{012B}\x{0131}\x{0135}\x{0137}\x{013A}' .
-                '\x{013E}\x{013C}\x{0142}\x{0144}\x{0148}\x{00F1}\x{0146}\x{014B}\x{00F3}\x{00F2}\x{014F}' .
-                '\x{00F4}\x{00F6}\x{0151}\x{00F5}\x{00F8}\x{014D}\x{0153}\x{0138}\x{0155}\x{0159}\x{0157}' .
-                '\x{015B}\x{015D}\x{0161}\x{015F}\x{0165}\x{0163}\x{0167}\x{00FA}\x{00F9}\x{016D}\x{00FB}' .
-                '\x{016F}\x{00FC}\x{0171}\x{0169}\x{0173}\x{016B}\x{0175}\x{00FD}\x{0177}\x{00FF}\x{017A}' .
-                '\x{017E}\x{017C}\x{00F0}\x{00FE}';
-    }
-
-}
\ No newline at end of file
diff --git a/lib/zend/Zend/Validate/Hostname/Fi.php b/lib/zend/Zend/Validate/Hostname/Fi.php
deleted file mode 100644 (file)
index 4f16a4a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_Fi implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see http://www.ficora.fi/en/index/palvelut/fiverkkotunnukset/aakkostenkaytto.html Finland (.FI)
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return '\x{00E5}\x{00E4}\x{00F6}';
-    }
-
-}
\ No newline at end of file
diff --git a/lib/zend/Zend/Validate/Hostname/Hu.php b/lib/zend/Zend/Validate/Hostname/Hu.php
deleted file mode 100644 (file)
index 381c74d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_Hu implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see http://www.domain.hu/domain/English/szabalyzat.html Hungary (.HU)
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return '\x{00E1}\x{00E9}\x{00ED}\x{00F3}\x{00F6}\x{0151}\x{00FA}\x{00FC}\x{0171}';
-    }
-
-}
\ No newline at end of file
diff --git a/lib/zend/Zend/Validate/Hostname/Interface.php b/lib/zend/Zend/Validate/Hostname/Interface.php
deleted file mode 100644 (file)
index ab925be..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-interface Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * UTF-8 characters should be written as four character hex codes \x{XXXX}
-     * For example é (lowercase e with acute) is represented by the hex code \x{00E9}
-     *
-     * You only need to include lower-case equivalents of characters since the hostname
-     * check is case-insensitive
-     *
-     * Please document the supported TLDs in the documentation file at:
-     * manual/en/module_specs/Zend_Validate-Hostname.xml
-     *
-     * @see http://en.wikipedia.org/wiki/Internationalized_domain_name
-     * @see http://www.iana.org/cctld/ Country-Code Top-Level Domains (TLDs)
-     * @see http://www.columbia.edu/kermit/utf8-t1.html UTF-8 characters
-     * @return string
-     */
-    static function getCharacters();
-
-}
\ No newline at end of file
diff --git a/lib/zend/Zend/Validate/Hostname/Li.php b/lib/zend/Zend/Validate/Hostname/Li.php
deleted file mode 100644 (file)
index 5bf8b48..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_Li implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see https://nic.switch.ch/reg/ocView.action?res=EF6GW2JBPVTG67DLNIQXU234MN6SC33JNQQGI7L6#anhang1 Liechtenstein (.LI)
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return '\x{00EO}-\x{00F6}\x{00F8}-\x{00FF}\x{0153}';
-    }
-
-}
\ No newline at end of file
diff --git a/lib/zend/Zend/Validate/Hostname/No.php b/lib/zend/Zend/Validate/Hostname/No.php
deleted file mode 100644 (file)
index 65c3098..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_No implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see http://www.norid.no/domeneregistrering/idn/idn_nyetegn.en.html Norway (.NO)
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return  '\x00E1\x00E0\x00E4\x010D\x00E7\x0111\x00E9\x00E8\x00EA\x\x014B' .
-                '\x0144\x00F1\x00F3\x00F2\x00F4\x00F6\x0161\x0167\x00FC\x017E\x00E6' .
-                '\x00F8\x00E5';
-    }
-
-}
diff --git a/lib/zend/Zend/Validate/Hostname/Se.php b/lib/zend/Zend/Validate/Hostname/Se.php
deleted file mode 100644 (file)
index 1febf5f..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Validate_Hostname_Interface
- */
-require_once 'Zend/Validate/Hostname/Interface.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Validate
- * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Validate_Hostname_Se implements Zend_Validate_Hostname_Interface
-{
-
-    /**
-     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
-     *
-     * @see http://www.iis.se/english/IDN_campaignsite.shtml?lang=en Sweden (.SE)
-     * @return string
-     */
-    static function getCharacters()
-    {
-        return '\x{00E5}\x{00E4}\x{00F6}\x{00FC}\x{00E9}';
-    }
-
-}
\ No newline at end of file