Comment caractériser la relation que nous entretenons avec les nouveaux objets de la culture numérique que sont ordinateurs, consoles, tablettes et autres smartphones ? Si nous ne suçons plus toujours nos pouces pour nous consoler, nous les posons maintenant en permanence sur des écrans tactiles, qui se laissent apprivoiser dès le plus jeune âge. Peut-on les considérer pour autant comme de véritables objets transitionnels ? Sont-ils les instruments de notre régression ou nous aident-ils à nous émanciper ? Une véritable addiction aux jeux vidéo ou aux réseaux sociaux peut-elle devenir problématique pour notre développement ou notre équilibre ?
@@ -36,7 +36,8 @@
'rep' => basename(__DIR__),
- 'partenaires'=> "
+ 'partenaires'=> "
|
| ",
@@ -48,9 +49,9 @@
'archive_img' => 'images/archive_img.jpg', // 270 × 150 pixels
- 'archive_title' => "De nouveaux collectifs d'auteurs",
+ 'archive_title' => "Internet est-il notre nouveau doudou ?",
'archive_description' => 'par la Lire c’est produire, inventer, créer. Que devient la lecture face à la profusion inouïe des contenus sur Internet ? La différence entre écriture et lecture se réduit de plus en plus, le lecteur devenant lui-même un auteur écrivant. On analysera pendant la séance un certain nombre de dispositifs d’éditorialisation qui cristallisent ainsi des parcours de lecture et transforment la lecture en écriture.
+avec Ariane Mayer, Valérie Jeanne-Perrier et Guy Boulianne.
+ avec Virginie Clayssen et Dominique Bérubé.
+ L’exigence de gratuité sur Internet opposée à la réclamation d’une juste rétribution des producteurs de contenu n’a cessé de poser question ces dernières années, en particulier dans les domaines de la musique, de la presse et de l’édition. Comment soutenir financièrement des sites Internet spécialisés, faire vivre des activités créatives dont la productivité ont un coût, là où règnent les sources d’informations gratuites, parfois le piratage, et les grands sites commerciaux du web ?
+Après une préparation de 2 mois, une “newsroom” de 30 étudiants a été mise en place pour “augmenter” collectivement l'expérience de la conférence avec une dizaine d'outils (PolemicTweet, Sharypic, UniShared, Pearltrees, FreeMind...)
+ L’IRI organise le lundi 15 avril un atelier pour revenir sur ce dispositif dont l’aspect transmedia a laissé Louise Merzeau supposer qu’il présentait les clés de la translittératie anticipée par plusieurs penseurs des humanités numériques.
+
+ La question du savoir et de l’éducation est au cœur des grands enjeux nationaux et internationaux de cette rentrée. Pour leur 6ème édition, les Entretiens du nouveau monde industriel porteront sur le thème des technologies de la connaissance. Ce thème et celui de l’organologie des savoirs constituent les bases du projet Digital Studies conduit par l’IRI et ses partenaires.
+ Le but de ce colloque est d’appréhender la question des digital humanities à partir de la question plus large et plus radicale des digital studies conçues comme une rupture épistémologique généralisée – c’est à dire affectant toutes les formes de savoirs rationnels – , mais aussi comme une rupture anthropologique – dans la mesure où, à travers les technologies relationnelles, ce sont aussi les savoirs empiriques sous toutes leurs formes, tels qu’ils constituent la trame de toute existence humaine, qui sont altérés.
+ Pour ce qui concerne l’Iri, l’ENSCI-Les Ateliers, Cap Digital et les partenaires associés à cette édition, cette approche «organologique» d’essence théorique vise à fournir des méthodes pour des activités pratiques de conception, de prototypages, de réalisation et d’expérimentation des instruments de recherche contributive, de production collaborative et de diffusion des savoirs dans la recherche, dans les enseignements supérieur et secondaire, et dans les entreprises comme dans l’ensemble de la société. Une telle ambition pratique impose sans doute de repenser en profondeur les liens entre politique culturelle, politique éducative, politique scientifique, politique industrielle, politique des médias et citoyenneté.
+ '
+ return $this->getLabel() . ': '
. strrev($this->getWord())
. ' ';
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Captcha/Exception.php
--- a/web/lib/Zend/Captcha/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Captcha/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,8 +14,8 @@
*
* @category Zend
* @package Zend_Captcha
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Captcha
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Captcha_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Captcha/Figlet.php
--- a/web/lib/Zend/Captcha/Figlet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Captcha/Figlet.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -33,9 +33,9 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Figlet.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Figlet.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Captcha_Figlet extends Zend_Captcha_Word
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Captcha/Image.php
--- a/web/lib/Zend/Captcha/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Captcha/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 22589 2010-07-16 20:51:51Z mikaelkael $
+ * @version $Id: Image.php 24821 2012-05-29 14:54:50Z adamlundrigan $
*/
/** @see Zend_Captcha_Word */
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Captcha_Image extends Zend_Captcha_Word
@@ -580,7 +580,7 @@
$suffixLength = strlen($this->_suffix);
foreach (new DirectoryIterator($imgdir) as $file) {
if (!$file->isDot() && !$file->isDir()) {
- if ($file->getMTime() < $expire) {
+ if (file_exists($file->getPathname()) && $file->getMTime() < $expire) {
// only deletes files ending with $this->_suffix
if (substr($file->getFilename(), -($suffixLength)) == $this->_suffix) {
unlink($file->getPathname());
@@ -599,7 +599,11 @@
*/
public function render(Zend_View_Interface $view = null, $element = null)
{
+ $endTag = ' />';
+ if (($view instanceof Zend_View_Abstract) && !$view->doctype()->isXhtml()) {
+ $endTag = '>';
+ }
return ' ';
+ . '" src="' . $this->getImgUrl() . $this->getId() . $this->getSuffix() . '"' . $endTag;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Captcha/ReCaptcha.php
--- a/web/lib/Zend/Captcha/ReCaptcha.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Captcha/ReCaptcha.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -35,9 +35,9 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ReCaptcha.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ReCaptcha.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Captcha_ReCaptcha extends Zend_Captcha_Base
{
@@ -261,6 +261,20 @@
*/
public function render(Zend_View_Interface $view = null, $element = null)
{
- return $this->getService()->getHTML();
+ $name = null;
+ if ($element instanceof Zend_Form_Element) {
+ $name = $element->getBelongsTo();
+ }
+ return $this->getService()->getHTML($name);
+ }
+
+ /**
+ * Get captcha decorator
+ *
+ * @return string
+ */
+ public function getDecorator()
+ {
+ return "Captcha_ReCaptcha";
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Captcha/Word.php
--- a/web/lib/Zend/Captcha/Word.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Captcha/Word.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Word.php 21793 2010-04-08 00:51:31Z stas $
+ * @version $Id: Word.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Captcha_Word extends Zend_Captcha_Base
{
@@ -93,10 +93,10 @@
* @var integer
*/
protected $_timeout = 300;
-
+
/**
* Should generate() keep session or create a new one?
- *
+ *
* @var boolean
*/
protected $_keepSession = false;
@@ -131,7 +131,7 @@
*
* @return string
*/
- public function getSessionClass()
+ public function getSessionClass()
{
return $this->_sessionClass;
}
@@ -217,21 +217,21 @@
return $this->_timeout;
}
- /**
- * Sets if session should be preserved on generate()
- *
- * @param $keepSession Should session be kept on generate()?
- * @return Zend_Captcha_Word
- */
- public function setKeepSession($keepSession)
- {
- $this->_keepSession = $keepSession;
- return $this;
- }
+ /**
+ * Sets if session should be preserved on generate()
+ *
+ * @param bool $keepSession Should session be kept on generate()?
+ * @return Zend_Captcha_Word
+ */
+ public function setKeepSession($keepSession)
+ {
+ $this->_keepSession = $keepSession;
+ return $this;
+ }
/**
* Numbers should be included in the pattern?
- *
+ *
* @return bool
*/
public function getUseNumbers()
@@ -239,10 +239,10 @@
return $this->_useNumbers;
}
- /**
- * Set if numbers should be included in the pattern
- *
- * @param $_useNumbers numbers should be included in the pattern?
+ /**
+ * Set if numbers should be included in the pattern
+ *
+ * @param bool $_useNumbers numbers should be included in the pattern?
* @return Zend_Captcha_Word
*/
public function setUseNumbers($_useNumbers)
@@ -250,8 +250,8 @@
$this->_useNumbers = $_useNumbers;
return $this;
}
-
- /**
+
+ /**
* Get session object
*
* @return Zend_Session_Namespace
@@ -348,7 +348,7 @@
public function generate()
{
if(!$this->_keepSession) {
- $this->_session = null;
+ $this->_session = null;
}
$id = $this->_generateRandomId();
$this->_setId($id);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/AbstractFactory.php
--- a/web/lib/Zend/Cloud/AbstractFactory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/AbstractFactory.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Cloud
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,29 +23,29 @@
*
* @category Zend
* @package Zend_Cloud
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Cloud_AbstractFactory
{
/**
* Constructor
- *
+ *
* @return void
*/
private function __construct()
{
// private ctor - should not be used
}
-
+
/**
* Get an individual adapter instance
- *
- * @param string $adapterOption
- * @param array|Zend_Config $options
+ *
+ * @param string $adapterOption
+ * @param array|Zend_Config $options
* @return null|Zend_Cloud_DocumentService_Adapter|Zend_Cloud_QueueService_Adapter|Zend_Cloud_StorageService_Adapter
*/
- protected static function _getAdapter($adapterOption, $options)
+ protected static function _getAdapter($adapterOption, $options)
{
if ($options instanceof Zend_Config) {
$options = $options->toArray();
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Adapter.php
--- a/web/lib/Zend/Cloud/DocumentService/Adapter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Adapter.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Cloud_DocumentService_Adapter
@@ -67,9 +67,9 @@
/**
* List all documents in a collection
- *
- * @param string $collectionName
- * @param null|array $options
+ *
+ * @param string $collectionName
+ * @param null|array $options
* @return Zend_Cloud_DocumentService_DocumentSet
*/
public function listDocuments($collectionName, array $options = null);
@@ -87,7 +87,7 @@
/**
* Replace document
* The new document replaces the existing document with the same ID.
- *
+ *
* @param string $collectionName Collection name
* @param Zend_Cloud_DocumentService_Document $document
* @param array $options
@@ -96,8 +96,8 @@
/**
* Update document
- * The fields of the existing documents will be updated.
- * Fields not specified in the set will be left as-is.
+ * The fields of the existing documents will be updated.
+ * Fields not specified in the set will be left as-is.
*
* @param string $collectionName
* @param mixed|Zend_Cloud_DocumentService_Document $documentID Document ID, adapter-dependent, or document containing updates
@@ -106,7 +106,7 @@
* @return boolean
*/
public function updateDocument($collectionName, $documentID, $fieldset = null, $options = null);
-
+
/**
* Delete document
*
@@ -119,16 +119,16 @@
/**
* Fetch single document by ID
- *
+ *
* Will return false if the document does not exist
- *
+ *
* @param string $collectionName Collection name
* @param mixed $documentID Document ID, adapter-dependent
* @param array $options
* @return Zend_Cloud_DocumentService_Document
*/
public function fetchDocument($collectionName, $documentID, $options = null);
-
+
/**
* Query for documents stored in the document service. If a string is passed in
* $query, the query string will be passed directly to the service.
@@ -139,15 +139,15 @@
* @return array Array of field sets
*/
public function query($collectionName, $query, $options = null);
-
+
/**
* Create query statement
- *
+ *
* @param string $fields
* @return Zend_Cloud_DocumentService_Query
*/
public function select($fields = null);
-
+
/**
* Get the concrete service client
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Adapter/AbstractAdapter.php
--- a/web/lib/Zend/Cloud/DocumentService/Adapter/AbstractAdapter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Adapter/AbstractAdapter.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -33,10 +33,10 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-abstract class Zend_Cloud_DocumentService_Adapter_AbstractAdapter
+abstract class Zend_Cloud_DocumentService_Adapter_AbstractAdapter
implements Zend_Cloud_DocumentService_Adapter
{
const DOCUMENT_CLASS = 'document_class';
@@ -57,15 +57,15 @@
/**
* Class to utilize for new query objects
- *
+ *
* @var string
*/
protected $_queryClass = 'Zend_Cloud_DocumentService_Query';
/**
* Set the class for document objects
- *
- * @param string $class
+ *
+ * @param string $class
* @return Zend_Cloud_DocumentService_Adapter_AbstractAdapter
*/
public function setDocumentClass($class)
@@ -76,7 +76,7 @@
/**
* Get the class for document objects
- *
+ *
* @return string
*/
public function getDocumentClass()
@@ -86,8 +86,8 @@
/**
* Set the class for document set objects
- *
- * @param string $class
+ *
+ * @param string $class
* @return Zend_Cloud_DocumentService_Adapter_AbstractAdapter
*/
public function setDocumentSetClass($class)
@@ -98,7 +98,7 @@
/**
* Get the class for document set objects
- *
+ *
* @return string
*/
public function getDocumentSetClass()
@@ -108,8 +108,8 @@
/**
* Set the query class for query objects
- *
- * @param string $class
+ *
+ * @param string $class
* @return Zend_Cloud_DocumentService_Adapter_AbstractAdapter
*/
public function setQueryClass($class)
@@ -120,7 +120,7 @@
/**
* Get the class for query objects
- *
+ *
* @return string
*/
public function getQueryClass()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Adapter/SimpleDb.php
--- a/web/lib/Zend/Cloud/DocumentService/Adapter/SimpleDb.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Adapter/SimpleDb.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,468 +1,468 @@
-toArray();
- }
-
- if (!is_array($options)) {
- throw new Zend_Cloud_DocumentService_Exception('Invalid options provided to constructor');
- }
-
- $this->_simpleDb = new Zend_Service_Amazon_SimpleDb(
- $options[self::AWS_ACCESS_KEY], $options[self::AWS_SECRET_KEY]
- );
-
- if (isset($options[self::HTTP_ADAPTER])) {
- $this->_sqs->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
- }
-
- if (isset($options[self::DOCUMENT_CLASS])) {
- $this->setDocumentClass($options[self::DOCUMENT_CLASS]);
- }
-
- if (isset($options[self::DOCUMENTSET_CLASS])) {
- $this->setDocumentSetClass($options[self::DOCUMENTSET_CLASS]);
- }
-
- if (isset($options[self::QUERY_CLASS])) {
- $this->setQueryClass($options[self::QUERY_CLASS]);
- }
- }
-
- /**
- * Create collection.
- *
- * @param string $name
- * @param array $options
- * @return void
- */
- public function createCollection($name, $options = null)
- {
- try {
- $this->_simpleDb->createDomain($name);
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on domain creation: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Delete collection.
- *
- * @param string $name
- * @param array $options
- * @return void
- */
- public function deleteCollection($name, $options = null)
- {
- try {
- $this->_simpleDb->deleteDomain($name);
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on collection deletion: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * List collections.
- *
- * @param array $options
- * @return array
- */
- public function listCollections($options = null)
- {
- try {
- // TODO package this in Pages
- $domains = $this->_simpleDb->listDomains()->getData();
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on collection deletion: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- return $domains;
- }
-
- /**
- * List documents
- *
- * Returns a key/value array of document names to document objects.
- *
- * @param string $collectionName Name of collection for which to list documents
- * @param array|null $options
- * @return Zend_Cloud_DocumentService_DocumentSet
- */
- public function listDocuments($collectionName, array $options = null)
- {
- $query = $this->select('*')->from($collectionName);
- $items = $this->query($collectionName, $query, $options);
- return $items;
- }
-
- /**
- * Insert document
- *
- * @param string $collectionName Collection into which to insert document
- * @param array|Zend_Cloud_DocumentService_Document $document
- * @param array $options
- * @return void
- */
- public function insertDocument($collectionName, $document, $options = null)
- {
- if (is_array($document)) {
- $document = $this->_getDocumentFromArray($document);
- }
-
- if (!$document instanceof Zend_Cloud_DocumentService_Document) {
- throw new Zend_Cloud_DocumentService_Exception('Invalid document supplied');
- }
-
- try {
- $this->_simpleDb->putAttributes(
- $collectionName,
- $document->getID(),
- $this->_makeAttributes($document->getID(), $document->getFields())
- );
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on document insertion: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Replace an existing document with a new version
- *
- * @param string $collectionName
- * @param array|Zend_Cloud_DocumentService_Document $document
- * @param array $options
- * @return void
- */
- public function replaceDocument($collectionName, $document, $options = null)
- {
- if (is_array($document)) {
- $document = $this->_getDocumentFromArray($document);
- }
-
- if (!$document instanceof Zend_Cloud_DocumentService_Document) {
- throw new Zend_Cloud_DocumentService_Exception('Invalid document supplied');
- }
-
- // Delete document first, then insert. PutAttributes always keeps any
- // fields not referenced in the payload, but present in the document
- $documentId = $document->getId();
- $fields = $document->getFields();
- $docClass = get_class($document);
- $this->deleteDocument($collectionName, $document, $options);
-
- $document = new $docClass($fields, $documentId);
- $this->insertDocument($collectionName, $document);
- }
-
- /**
- * Update document. The new document replaces the existing document.
- *
- * Option 'merge' specifies to add all attributes (if true) or
- * specific attributes ("attr" => true) instead of replacing them.
- * By default, attributes are replaced.
- *
- * @param string $collectionName
- * @param mixed|Zend_Cloud_DocumentService_Document $documentId Document ID, adapter-dependent
- * @param array|Zend_Cloud_DocumentService_Document $fieldset Set of fields to update
- * @param array $options
- * @return boolean
- */
- public function updateDocument($collectionName, $documentId, $fieldset = null, $options = null)
- {
- if (null === $fieldset && $documentId instanceof Zend_Cloud_DocumentService_Document) {
- $fieldset = $documentId->getFields();
- if (empty($documentId)) {
- $documentId = $documentId->getId();
- }
- } elseif ($fieldset instanceof Zend_Cloud_DocumentService_Document) {
- if (empty($documentId)) {
- $documentId = $fieldset->getId();
- }
- $fieldset = $fieldset->getFields();
- }
-
- $replace = array();
- if (empty($options[self::MERGE_OPTION])) {
- // no merge option - we replace all
- foreach ($fieldset as $key => $value) {
- $replace[$key] = true;
- }
- } elseif (is_array($options[self::MERGE_OPTION])) {
- foreach ($fieldset as $key => $value) {
- if (empty($options[self::MERGE_OPTION][$key])) {
- // if there's merge key, we add it, otherwise we replace it
- $replace[$key] = true;
- }
- }
- } // otherwise $replace is empty - all is merged
-
- try {
- $this->_simpleDb->putAttributes(
- $collectionName,
- $documentId,
- $this->_makeAttributes($documentId, $fieldset),
- $replace
- );
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on document update: '.$e->getMessage(), $e->getCode(), $e);
- }
- return true;
- }
-
- /**
- * Delete document.
- *
- * @param string $collectionName Collection from which to delete document
- * @param mixed $document Document ID or Document object.
- * @param array $options
- * @return boolean
- */
- public function deleteDocument($collectionName, $document, $options = null)
- {
- if ($document instanceof Zend_Cloud_DocumentService_Document) {
- $document = $document->getId();
- }
- try {
- $this->_simpleDb->deleteAttributes($collectionName, $document);
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on document deletion: '.$e->getMessage(), $e->getCode(), $e);
- }
- return true;
- }
-
- /**
- * Fetch single document by ID
- *
- * @param string $collectionName Collection name
- * @param mixed $documentId Document ID, adapter-dependent
- * @param array $options
- * @return Zend_Cloud_DocumentService_Document
- */
- public function fetchDocument($collectionName, $documentId, $options = null)
- {
- try {
- $attributes = $this->_simpleDb->getAttributes($collectionName, $documentId);
- if ($attributes == false || count($attributes) == 0) {
- return false;
- }
- return $this->_resolveAttributes($attributes, true);
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on fetching document: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Query for documents stored in the document service. If a string is passed in
- * $query, the query string will be passed directly to the service.
- *
- * @param string $collectionName Collection name
- * @param string $query
- * @param array $options
- * @return array Zend_Cloud_DocumentService_DocumentSet
- */
- public function query($collectionName, $query, $options = null)
- {
- $returnDocs = isset($options[self::RETURN_DOCUMENTS])
- ? (bool) $options[self::RETURN_DOCUMENTS]
- : true;
-
- try {
- if ($query instanceof Zend_Cloud_DocumentService_Adapter_SimpleDb_Query) {
- $query = $query->assemble($collectionName);
- }
- $result = $this->_simpleDb->select($query);
- } catch(Zend_Service_Amazon_Exception $e) {
- throw new Zend_Cloud_DocumentService_Exception('Error on document query: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- return $this->_getDocumentSetFromResultSet($result, $returnDocs);
- }
-
- /**
- * Create query statement
- *
- * @param string $fields
- * @return Zend_Cloud_DocumentService_Adapter_SimpleDb_Query
- */
- public function select($fields = null)
- {
- $queryClass = $this->getQueryClass();
- if (!class_exists($queryClass)) {
- require_once 'Zend/Loader.php';
- Zend_Loader::loadClass($queryClass);
- }
-
- $query = new $queryClass($this);
- $defaultClass = self::DEFAULT_QUERY_CLASS;
- if (!$query instanceof $defaultClass) {
- throw new Zend_Cloud_DocumentService_Exception('Query class must extend ' . self::DEFAULT_QUERY_CLASS);
- }
-
- $query->select($fields);
- return $query;
- }
-
- /**
- * Get the concrete service client
- *
- * @return Zend_Service_Amazon_SimpleDb
- */
- public function getClient()
- {
- return $this->_simpleDb;
- }
-
- /**
- * Convert array of key-value pairs to array of Amazon attributes
- *
- * @param string $name
- * @param array $attributes
- * @return array
- */
- protected function _makeAttributes($name, $attributes)
- {
- $result = array();
- foreach ($attributes as $key => $attr) {
- $result[] = new Zend_Service_Amazon_SimpleDb_Attribute($name, $key, $attr);
- }
- return $result;
- }
-
- /**
- * Convert array of Amazon attributes to array of key-value pairs
- *
- * @param array $attributes
- * @return array
- */
- protected function _resolveAttributes($attributes, $returnDocument = false)
- {
- $result = array();
- foreach ($attributes as $attr) {
- $value = $attr->getValues();
- if (count($value) == 0) {
- $value = null;
- } elseif (count($value) == 1) {
- $value = $value[0];
- }
- $result[$attr->getName()] = $value;
- }
-
- // Return as document object?
- if ($returnDocument) {
- $documentClass = $this->getDocumentClass();
- return new $documentClass($result, $attr->getItemName());
- }
-
- return $result;
- }
-
- /**
- * Create suitable document from array of fields
- *
- * @param array $document
- * @return Zend_Cloud_DocumentService_Document
- */
- protected function _getDocumentFromArray($document)
- {
- if (!isset($document[Zend_Cloud_DocumentService_Document::KEY_FIELD])) {
- if (isset($document[self::ITEM_NAME])) {
- $key = $document[self::ITEM_NAME];
- unset($document[self::ITEM_NAME]);
- } else {
- throw new Zend_Cloud_DocumentService_Exception('Fields array should contain the key field '.Zend_Cloud_DocumentService_Document::KEY_FIELD);
- }
- } else {
- $key = $document[Zend_Cloud_DocumentService_Document::KEY_FIELD];
- unset($document[Zend_Cloud_DocumentService_Document::KEY_FIELD]);
- }
-
- $documentClass = $this->getDocumentClass();
- return new $documentClass($document, $key);
- }
-
- /**
- * Create a DocumentSet from a SimpleDb resultset
- *
- * @param Zend_Service_Amazon_SimpleDb_Page $resultSet
- * @param bool $returnDocs
- * @return Zend_Cloud_DocumentService_DocumentSet
- */
- protected function _getDocumentSetFromResultSet(Zend_Service_Amazon_SimpleDb_Page $resultSet, $returnDocs = true)
- {
- $docs = array();
- foreach ($resultSet->getData() as $item) {
- $docs[] = $this->_resolveAttributes($item, $returnDocs);
- }
-
- $setClass = $this->getDocumentSetClass();
- return new $setClass($docs);
- }
-}
+toArray();
+ }
+
+ if (!is_array($options)) {
+ throw new Zend_Cloud_DocumentService_Exception('Invalid options provided to constructor');
+ }
+
+ $this->_simpleDb = new Zend_Service_Amazon_SimpleDb(
+ $options[self::AWS_ACCESS_KEY], $options[self::AWS_SECRET_KEY]
+ );
+
+ if (isset($options[self::HTTP_ADAPTER])) {
+ $this->_simpleDb->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
+ }
+
+ if (isset($options[self::DOCUMENT_CLASS])) {
+ $this->setDocumentClass($options[self::DOCUMENT_CLASS]);
+ }
+
+ if (isset($options[self::DOCUMENTSET_CLASS])) {
+ $this->setDocumentSetClass($options[self::DOCUMENTSET_CLASS]);
+ }
+
+ if (isset($options[self::QUERY_CLASS])) {
+ $this->setQueryClass($options[self::QUERY_CLASS]);
+ }
+ }
+
+ /**
+ * Create collection.
+ *
+ * @param string $name
+ * @param array $options
+ * @return void
+ */
+ public function createCollection($name, $options = null)
+ {
+ try {
+ $this->_simpleDb->createDomain($name);
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on domain creation: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Delete collection.
+ *
+ * @param string $name
+ * @param array $options
+ * @return void
+ */
+ public function deleteCollection($name, $options = null)
+ {
+ try {
+ $this->_simpleDb->deleteDomain($name);
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on collection deletion: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * List collections.
+ *
+ * @param array $options
+ * @return array
+ */
+ public function listCollections($options = null)
+ {
+ try {
+ // TODO package this in Pages
+ $domains = $this->_simpleDb->listDomains()->getData();
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on collection deletion: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ return $domains;
+ }
+
+ /**
+ * List documents
+ *
+ * Returns a key/value array of document names to document objects.
+ *
+ * @param string $collectionName Name of collection for which to list documents
+ * @param array|null $options
+ * @return Zend_Cloud_DocumentService_DocumentSet
+ */
+ public function listDocuments($collectionName, array $options = null)
+ {
+ $query = $this->select('*')->from($collectionName);
+ $items = $this->query($collectionName, $query, $options);
+ return $items;
+ }
+
+ /**
+ * Insert document
+ *
+ * @param string $collectionName Collection into which to insert document
+ * @param array|Zend_Cloud_DocumentService_Document $document
+ * @param array $options
+ * @return void
+ */
+ public function insertDocument($collectionName, $document, $options = null)
+ {
+ if (is_array($document)) {
+ $document = $this->_getDocumentFromArray($document);
+ }
+
+ if (!$document instanceof Zend_Cloud_DocumentService_Document) {
+ throw new Zend_Cloud_DocumentService_Exception('Invalid document supplied');
+ }
+
+ try {
+ $this->_simpleDb->putAttributes(
+ $collectionName,
+ $document->getID(),
+ $this->_makeAttributes($document->getID(), $document->getFields())
+ );
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on document insertion: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Replace an existing document with a new version
+ *
+ * @param string $collectionName
+ * @param array|Zend_Cloud_DocumentService_Document $document
+ * @param array $options
+ * @return void
+ */
+ public function replaceDocument($collectionName, $document, $options = null)
+ {
+ if (is_array($document)) {
+ $document = $this->_getDocumentFromArray($document);
+ }
+
+ if (!$document instanceof Zend_Cloud_DocumentService_Document) {
+ throw new Zend_Cloud_DocumentService_Exception('Invalid document supplied');
+ }
+
+ // Delete document first, then insert. PutAttributes always keeps any
+ // fields not referenced in the payload, but present in the document
+ $documentId = $document->getId();
+ $fields = $document->getFields();
+ $docClass = get_class($document);
+ $this->deleteDocument($collectionName, $document, $options);
+
+ $document = new $docClass($fields, $documentId);
+ $this->insertDocument($collectionName, $document);
+ }
+
+ /**
+ * Update document. The new document replaces the existing document.
+ *
+ * Option 'merge' specifies to add all attributes (if true) or
+ * specific attributes ("attr" => true) instead of replacing them.
+ * By default, attributes are replaced.
+ *
+ * @param string $collectionName
+ * @param mixed|Zend_Cloud_DocumentService_Document $documentId Document ID, adapter-dependent
+ * @param array|Zend_Cloud_DocumentService_Document $fieldset Set of fields to update
+ * @param array $options
+ * @return boolean
+ */
+ public function updateDocument($collectionName, $documentId, $fieldset = null, $options = null)
+ {
+ if (null === $fieldset && $documentId instanceof Zend_Cloud_DocumentService_Document) {
+ $fieldset = $documentId->getFields();
+ if (empty($documentId)) {
+ $documentId = $documentId->getId();
+ }
+ } elseif ($fieldset instanceof Zend_Cloud_DocumentService_Document) {
+ if (empty($documentId)) {
+ $documentId = $fieldset->getId();
+ }
+ $fieldset = $fieldset->getFields();
+ }
+
+ $replace = array();
+ if (empty($options[self::MERGE_OPTION])) {
+ // no merge option - we replace all
+ foreach ($fieldset as $key => $value) {
+ $replace[$key] = true;
+ }
+ } elseif (is_array($options[self::MERGE_OPTION])) {
+ foreach ($fieldset as $key => $value) {
+ if (empty($options[self::MERGE_OPTION][$key])) {
+ // if there's merge key, we add it, otherwise we replace it
+ $replace[$key] = true;
+ }
+ }
+ } // otherwise $replace is empty - all is merged
+
+ try {
+ $this->_simpleDb->putAttributes(
+ $collectionName,
+ $documentId,
+ $this->_makeAttributes($documentId, $fieldset),
+ $replace
+ );
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on document update: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ return true;
+ }
+
+ /**
+ * Delete document.
+ *
+ * @param string $collectionName Collection from which to delete document
+ * @param mixed $document Document ID or Document object.
+ * @param array $options
+ * @return boolean
+ */
+ public function deleteDocument($collectionName, $document, $options = null)
+ {
+ if ($document instanceof Zend_Cloud_DocumentService_Document) {
+ $document = $document->getId();
+ }
+ try {
+ $this->_simpleDb->deleteAttributes($collectionName, $document);
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on document deletion: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ return true;
+ }
+
+ /**
+ * Fetch single document by ID
+ *
+ * @param string $collectionName Collection name
+ * @param mixed $documentId Document ID, adapter-dependent
+ * @param array $options
+ * @return Zend_Cloud_DocumentService_Document
+ */
+ public function fetchDocument($collectionName, $documentId, $options = null)
+ {
+ try {
+ $attributes = $this->_simpleDb->getAttributes($collectionName, $documentId);
+ if ($attributes == false || count($attributes) == 0) {
+ return false;
+ }
+ return $this->_resolveAttributes($attributes, true);
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on fetching document: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Query for documents stored in the document service. If a string is passed in
+ * $query, the query string will be passed directly to the service.
+ *
+ * @param string $collectionName Collection name
+ * @param string $query
+ * @param array $options
+ * @return array Zend_Cloud_DocumentService_DocumentSet
+ */
+ public function query($collectionName, $query, $options = null)
+ {
+ $returnDocs = isset($options[self::RETURN_DOCUMENTS])
+ ? (bool) $options[self::RETURN_DOCUMENTS]
+ : true;
+
+ try {
+ if ($query instanceof Zend_Cloud_DocumentService_Adapter_SimpleDb_Query) {
+ $query = $query->assemble($collectionName);
+ }
+ $result = $this->_simpleDb->select($query);
+ } catch(Zend_Service_Amazon_Exception $e) {
+ throw new Zend_Cloud_DocumentService_Exception('Error on document query: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ return $this->_getDocumentSetFromResultSet($result, $returnDocs);
+ }
+
+ /**
+ * Create query statement
+ *
+ * @param string $fields
+ * @return Zend_Cloud_DocumentService_Adapter_SimpleDb_Query
+ */
+ public function select($fields = null)
+ {
+ $queryClass = $this->getQueryClass();
+ if (!class_exists($queryClass)) {
+ require_once 'Zend/Loader.php';
+ Zend_Loader::loadClass($queryClass);
+ }
+
+ $query = new $queryClass($this);
+ $defaultClass = self::DEFAULT_QUERY_CLASS;
+ if (!$query instanceof $defaultClass) {
+ throw new Zend_Cloud_DocumentService_Exception('Query class must extend ' . self::DEFAULT_QUERY_CLASS);
+ }
+
+ $query->select($fields);
+ return $query;
+ }
+
+ /**
+ * Get the concrete service client
+ *
+ * @return Zend_Service_Amazon_SimpleDb
+ */
+ public function getClient()
+ {
+ return $this->_simpleDb;
+ }
+
+ /**
+ * Convert array of key-value pairs to array of Amazon attributes
+ *
+ * @param string $name
+ * @param array $attributes
+ * @return array
+ */
+ protected function _makeAttributes($name, $attributes)
+ {
+ $result = array();
+ foreach ($attributes as $key => $attr) {
+ $result[] = new Zend_Service_Amazon_SimpleDb_Attribute($name, $key, $attr);
+ }
+ return $result;
+ }
+
+ /**
+ * Convert array of Amazon attributes to array of key-value pairs
+ *
+ * @param array $attributes
+ * @return array
+ */
+ protected function _resolveAttributes($attributes, $returnDocument = false)
+ {
+ $result = array();
+ foreach ($attributes as $attr) {
+ $value = $attr->getValues();
+ if (count($value) == 0) {
+ $value = null;
+ } elseif (count($value) == 1) {
+ $value = $value[0];
+ }
+ $result[$attr->getName()] = $value;
+ }
+
+ // Return as document object?
+ if ($returnDocument) {
+ $documentClass = $this->getDocumentClass();
+ return new $documentClass($result, $attr->getItemName());
+ }
+
+ return $result;
+ }
+
+ /**
+ * Create suitable document from array of fields
+ *
+ * @param array $document
+ * @return Zend_Cloud_DocumentService_Document
+ */
+ protected function _getDocumentFromArray($document)
+ {
+ if (!isset($document[Zend_Cloud_DocumentService_Document::KEY_FIELD])) {
+ if (isset($document[self::ITEM_NAME])) {
+ $key = $document[self::ITEM_NAME];
+ unset($document[self::ITEM_NAME]);
+ } else {
+ throw new Zend_Cloud_DocumentService_Exception('Fields array should contain the key field '.Zend_Cloud_DocumentService_Document::KEY_FIELD);
+ }
+ } else {
+ $key = $document[Zend_Cloud_DocumentService_Document::KEY_FIELD];
+ unset($document[Zend_Cloud_DocumentService_Document::KEY_FIELD]);
+ }
+
+ $documentClass = $this->getDocumentClass();
+ return new $documentClass($document, $key);
+ }
+
+ /**
+ * Create a DocumentSet from a SimpleDb resultset
+ *
+ * @param Zend_Service_Amazon_SimpleDb_Page $resultSet
+ * @param bool $returnDocs
+ * @return Zend_Cloud_DocumentService_DocumentSet
+ */
+ protected function _getDocumentSetFromResultSet(Zend_Service_Amazon_SimpleDb_Page $resultSet, $returnDocs = true)
+ {
+ $docs = array();
+ foreach ($resultSet->getData() as $item) {
+ $docs[] = $this->_resolveAttributes($item, $returnDocs);
+ }
+
+ $setClass = $this->getDocumentSetClass();
+ return new $setClass($docs);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Adapter/SimpleDb/Query.php
--- a/web/lib/Zend/Cloud/DocumentService/Adapter/SimpleDb/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Adapter/SimpleDb/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,13 +23,13 @@
require_once 'Zend/Cloud/DocumentService/Query.php';
/**
- * Class implementing Query adapter for working with SimpleDb queries in a
+ * Class implementing Query adapter for working with SimpleDb queries in a
* structured way
*
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Cloud_DocumentService_Adapter_SimpleDb_Query
@@ -42,8 +42,8 @@
/**
* Constructor
- *
- * @param Zend_Cloud_DocumentService_Adapter_SimpleDb $adapter
+ *
+ * @param Zend_Cloud_DocumentService_Adapter_SimpleDb $adapter
* @param null|string $collectionName
* @return void
*/
@@ -57,7 +57,7 @@
/**
* Get adapter
- *
+ *
* @return Zend_Cloud_DocumentService_Adapter_SimpleDb
*/
public function getAdapter()
@@ -67,7 +67,7 @@
/**
* Assemble the query into a format the adapter can utilize
- *
+ *
* @var string $collectionName Name of collection from which to select
* @return string
*/
@@ -150,10 +150,10 @@
/**
* Parse a where statement into service-specific language
- *
+ *
* @todo Ensure this fulfills the entire SimpleDB query specification for WHERE
- * @param string $where
- * @param array $args
+ * @param string $where
+ * @param array $args
* @return string
*/
protected function _parseWhere($where, $args)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Adapter/WindowsAzure.php
--- a/web/lib/Zend/Cloud/DocumentService/Adapter/WindowsAzure.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Adapter/WindowsAzure.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,10 +29,10 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-class Zend_Cloud_DocumentService_Adapter_WindowsAzure
+class Zend_Cloud_DocumentService_Adapter_WindowsAzure
extends Zend_Cloud_DocumentService_Adapter_AbstractAdapter
{
/*
@@ -50,20 +50,20 @@
const ROW_KEY = 'RowKey';
const VERIFY_ETAG = "verify_etag";
const TIMESTAMP_KEY = "Timestamp";
-
+
const DEFAULT_HOST = Zend_Service_WindowsAzure_Storage::URL_CLOUD_TABLE;
const DEFAULT_QUERY_CLASS = 'Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query';
/**
* Azure service instance.
- *
+ *
* @var Zend_Service_WindowsAzure_Storage_Table
*/
protected $_storageClient;
/**
* Class to utilize for new query objects
- *
+ *
* @var string
*/
protected $_queryClass = 'Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query';
@@ -76,11 +76,11 @@
/**
* Constructor
- *
- * @param array $options
+ *
+ * @param array $options
* @return void
*/
- public function __construct($options = array())
+ public function __construct($options = array())
{
if ($options instanceof Zend_Config) {
$options = $options->toArray();
@@ -142,8 +142,8 @@
/**
* Set the default partition key
- *
- * @param string $key
+ *
+ * @param string $key
* @return Zend_Cloud_DocumentService_Adapter_WindowsAzure
*/
public function setDefaultPartitionKey($key)
@@ -155,7 +155,7 @@
/**
* Retrieve default partition key
- *
+ *
* @return null|string
*/
public function getDefaultPartitionKey()
@@ -170,7 +170,7 @@
* @param array $options
* @return boolean
*/
- public function createCollection($name, $options = null)
+ public function createCollection($name, $options = null)
{
if (!preg_match('/^[A-Za-z][A-Za-z0-9]{2,}$/', $name)) {
throw new Zend_Cloud_DocumentService_Exception('Invalid collection name; Windows Azure collection names must consist of alphanumeric characters only, and be at least 3 characters long');
@@ -192,7 +192,7 @@
* @param array $options
* @return boolean
*/
- public function deleteCollection($name, $options = null)
+ public function deleteCollection($name, $options = null)
{
try {
$this->_storageClient->deleteTable($name);
@@ -210,7 +210,7 @@
* @param array $options
* @return array
*/
- public function listCollections($options = null)
+ public function listCollections($options = null)
{
try {
$tables = $this->_storageClient->listTables();
@@ -228,7 +228,7 @@
/**
* Create suitable document from array of fields
- *
+ *
* @param array $document
* @param null|string $collectionName Collection to which this document belongs
* @return Zend_Cloud_DocumentService_Document
@@ -257,12 +257,12 @@
$documentClass = $this->getDocumentClass();
return new $documentClass($document, $key);
}
-
+
/**
* List all documents in a collection
- *
- * @param string $collectionName
- * @param null|array $options
+ *
+ * @param string $collectionName
+ * @param null|array $options
* @return Zend_Cloud_DocumentService_DocumentSet
*/
public function listDocuments($collectionName, array $options = null)
@@ -282,19 +282,19 @@
{
if (is_array($document)) {
$document = $this->_getDocumentFromArray($document, $collectionName);
- }
-
+ }
+
if (!$document instanceof Zend_Cloud_DocumentService_Document) {
throw new Zend_Cloud_DocumentService_Exception('Invalid document supplied');
}
-
+
$key = $this->_validateDocumentId($document->getId(), $collectionName);
$document->setId($key);
-
+
$this->_validateCompositeKey($key);
$this->_validateFields($document);
try {
-
+
$entity = new Zend_Service_WindowsAzure_Storage_DynamicTableEntity($key[0], $key[1]);
$entity->setAzureValues($document->getFields(), true);
$this->_storageClient->insertEntity($collectionName, $entity);
@@ -304,8 +304,8 @@
}
/**
- * Replace document.
- *
+ * Replace document.
+ *
* The new document replaces the existing document.
*
* @param Zend_Cloud_DocumentService_Document $document
@@ -316,12 +316,12 @@
{
if (is_array($document)) {
$document = $this->_getDocumentFromArray($document, $collectionName);
- }
-
+ }
+
if (!$document instanceof Zend_Cloud_DocumentService_Document) {
throw new Zend_Cloud_DocumentService_Exception('Invalid document supplied');
}
-
+
$key = $this->_validateDocumentId($document->getId(), $collectionName);
$this->_validateFields($document);
try {
@@ -330,7 +330,7 @@
if (isset($options[self::VERIFY_ETAG])) {
$entity->setEtag($options[self::VERIFY_ETAG]);
}
-
+
$this->_storageClient->updateEntity($collectionName, $entity, isset($options[self::VERIFY_ETAG]));
} catch(Zend_Service_WindowsAzure_Exception $e) {
throw new Zend_Cloud_DocumentService_Exception('Error on document replace: '.$e->getMessage(), $e->getCode(), $e);
@@ -338,8 +338,8 @@
}
/**
- * Update document.
- *
+ * Update document.
+ *
* The new document is merged the existing document.
*
* @param string $collectionName
@@ -375,13 +375,13 @@
if (isset($options[self::VERIFY_ETAG])) {
$entity->setEtag($options[self::VERIFY_ETAG]);
}
-
+
$this->_storageClient->mergeEntity($collectionName, $entity, isset($options[self::VERIFY_ETAG]));
} catch(Zend_Service_WindowsAzure_Exception $e) {
throw new Zend_Cloud_DocumentService_Exception('Error on document update: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Delete document.
*
@@ -412,7 +412,7 @@
/**
* Fetch single document by ID
- *
+ *
* @param string $collectionName Collection name
* @param mixed $documentId Document ID, adapter-dependent
* @param array $options
@@ -432,7 +432,7 @@
throw new Zend_Cloud_DocumentService_Exception('Error on document fetch: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Query for documents stored in the document service. If a string is passed in
* $query, the query string will be passed directly to the service.
@@ -466,7 +466,7 @@
$setClass = $this->getDocumentSetClass();
return new $setClass($resultSet);
}
-
+
/**
* Create query statement
*
@@ -487,9 +487,9 @@
}
$query->select($fields);
- return $query;
+ return $query;
}
-
+
/**
* Get the concrete service client
*
@@ -499,11 +499,11 @@
{
return $this->_storageClient;
}
-
+
/**
* Resolve table values to attributes
- *
- * @param Zend_Service_WindowsAzure_Storage_TableEntity $entity
+ *
+ * @param Zend_Service_WindowsAzure_Storage_TableEntity $entity
* @return array
*/
protected function _resolveAttributes(Zend_Service_WindowsAzure_Storage_TableEntity $entity)
@@ -514,12 +514,12 @@
}
return $result;
}
-
+
/**
* Validate a partition or row key
- *
- * @param string $key
+ *
+ * @param string $key
* @return void
* @throws Zend_Cloud_DocumentService_Exception
*/
@@ -532,8 +532,8 @@
/**
* Validate a composite key
- *
- * @param array $key
+ *
+ * @param array $key
* @return throws Zend_Cloud_DocumentService_Exception
*/
protected function _validateCompositeKey(array $key)
@@ -549,15 +549,15 @@
/**
* Validate a document identifier
*
- * If the identifier is an array containing a valid partition and row key,
+ * If the identifier is an array containing a valid partition and row key,
* returns it. If the identifier is a string:
- * - if a default partition key is present, it creates an identifier using
+ * - if a default partition key is present, it creates an identifier using
* that and the provided document ID
* - if a collection name is provided, it will use that for the partition key
* - otherwise, it's invalid
- *
- * @param array|string $documentId
- * @param null|string $collectionName
+ *
+ * @param array|string $documentId
+ * @param null|string $collectionName
* @return array
* @throws Zend_Cloud_DocumentService_Exception
*/
@@ -585,7 +585,7 @@
/**
* Validate a document's fields for well-formedness
*
- * Since Azure uses Atom, and fieldnames are included as part of XML
+ * Since Azure uses Atom, and fieldnames are included as part of XML
* element tag names, the field names must be valid XML names.
*
* @param Zend_Cloud_DocumentService_Document|array $document
@@ -608,10 +608,10 @@
/**
* Validate an individual field name for well-formedness
*
- * Since Azure uses Atom, and fieldnames are included as part of XML
+ * Since Azure uses Atom, and fieldnames are included as part of XML
* element tag names, the field names must be valid XML names.
*
- * While we could potentially normalize names, this could also lead to
+ * While we could potentially normalize names, this could also lead to
* conflict with other field names -- which we should avoid. As such,
* invalid field names will raise an exception.
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Adapter/WindowsAzure/Query.php
--- a/web/lib/Zend/Cloud/DocumentService/Adapter/WindowsAzure/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Adapter/WindowsAzure/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,171 +1,171 @@
-_azureSelect = $select;
- }
-
- /**
- * SELECT clause (fields to be selected)
- *
- * Does nothing for Azure.
- *
- * @param string $select
- * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
- */
- public function select($select)
- {
- return $this;
- }
-
- /**
- * FROM clause (table name)
- *
- * @param string $from
- * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
- */
- public function from($from)
- {
- $this->_azureSelect->from($from);
- return $this;
- }
-
- /**
- * WHERE clause (conditions to be used)
- *
- * @param string $where
- * @param mixed $value Value or array of values to be inserted instead of ?
- * @param string $op Operation to use to join where clauses (AND/OR)
- * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
- */
- public function where($where, $value = null, $op = 'and')
- {
- if (!empty($value) && !is_array($value)) {
- // fix buglet in Azure - numeric values are quoted unless passed as an array
- $value = array($value);
- }
- $this->_azureSelect->where($where, $value, $op);
- return $this;
- }
-
- /**
- * WHERE clause for item ID
- *
- * This one should be used when fetching specific rows since some adapters
- * have special syntax for primary keys
- *
- * @param array $value Row ID for the document (PartitionKey, RowKey)
- * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
- */
- public function whereId($value)
- {
- if (!is_array($value)) {
- require_once 'Zend/Cloud/DocumentService/Exception.php';
- throw new Zend_Cloud_DocumentService_Exception('Invalid document key');
- }
- $this->_azureSelect->wherePartitionKey($value[0])->whereRowKey($value[1]);
- return $this;
- }
-
- /**
- * LIMIT clause (how many rows to return)
- *
- * @param int $limit
- * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
- */
- public function limit($limit)
- {
- $this->_azureSelect->top($limit);
- return $this;
- }
-
- /**
- * ORDER BY clause (sorting)
- *
- * @todo Azure service doesn't seem to support this yet; emulate?
- * @param string $sort Column to sort by
- * @param string $direction Direction - asc/desc
- * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
- * @throws Zend_Cloud_OperationNotAvailableException
- */
- public function order($sort, $direction = 'asc')
- {
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException('No support for sorting for Azure yet');
- }
-
- /**
- * Get Azure select query
- *
- * @return Zend_Service_WindowsAzure_Storage_TableEntityQuery
- */
- public function getAzureSelect()
- {
- return $this->_azureSelect;
- }
-
- /**
- * Assemble query
- *
- * Simply return the WindowsAzure table entity query object
- *
- * @return Zend_Service_WindowsAzure_Storage_TableEntityQuery
- */
- public function assemble()
- {
- return $this->getAzureSelect();
- }
-}
+_azureSelect = $select;
+ }
+
+ /**
+ * SELECT clause (fields to be selected)
+ *
+ * Does nothing for Azure.
+ *
+ * @param string $select
+ * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
+ */
+ public function select($select)
+ {
+ return $this;
+ }
+
+ /**
+ * FROM clause (table name)
+ *
+ * @param string $from
+ * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
+ */
+ public function from($from)
+ {
+ $this->_azureSelect->from($from);
+ return $this;
+ }
+
+ /**
+ * WHERE clause (conditions to be used)
+ *
+ * @param string $where
+ * @param mixed $value Value or array of values to be inserted instead of ?
+ * @param string $op Operation to use to join where clauses (AND/OR)
+ * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
+ */
+ public function where($where, $value = null, $op = 'and')
+ {
+ if (!empty($value) && !is_array($value)) {
+ // fix buglet in Azure - numeric values are quoted unless passed as an array
+ $value = array($value);
+ }
+ $this->_azureSelect->where($where, $value, $op);
+ return $this;
+ }
+
+ /**
+ * WHERE clause for item ID
+ *
+ * This one should be used when fetching specific rows since some adapters
+ * have special syntax for primary keys
+ *
+ * @param array $value Row ID for the document (PartitionKey, RowKey)
+ * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
+ */
+ public function whereId($value)
+ {
+ if (!is_array($value)) {
+ require_once 'Zend/Cloud/DocumentService/Exception.php';
+ throw new Zend_Cloud_DocumentService_Exception('Invalid document key');
+ }
+ $this->_azureSelect->wherePartitionKey($value[0])->whereRowKey($value[1]);
+ return $this;
+ }
+
+ /**
+ * LIMIT clause (how many rows to return)
+ *
+ * @param int $limit
+ * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
+ */
+ public function limit($limit)
+ {
+ $this->_azureSelect->top($limit);
+ return $this;
+ }
+
+ /**
+ * ORDER BY clause (sorting)
+ *
+ * @todo Azure service doesn't seem to support this yet; emulate?
+ * @param string $sort Column to sort by
+ * @param string $direction Direction - asc/desc
+ * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
+ * @throws Zend_Cloud_OperationNotAvailableException
+ */
+ public function order($sort, $direction = 'asc')
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('No support for sorting for Azure yet');
+ }
+
+ /**
+ * Get Azure select query
+ *
+ * @return Zend_Service_WindowsAzure_Storage_TableEntityQuery
+ */
+ public function getAzureSelect()
+ {
+ return $this->_azureSelect;
+ }
+
+ /**
+ * Assemble query
+ *
+ * Simply return the WindowsAzure table entity query object
+ *
+ * @return Zend_Service_WindowsAzure_Storage_TableEntityQuery
+ */
+ public function assemble()
+ {
+ return $this->getAzureSelect();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Document.php
--- a/web/lib/Zend/Cloud/DocumentService/Document.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Document.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,248 +1,248 @@
-_fields = $fields;
- $this->setId($id);
- }
-
- /**
- * Set document identifier
- *
- * @param mixed $id
- * @return Zend_Cloud_DocumentService_Document
- */
- public function setId($id)
- {
- $this->_id = $id;
- return $this;
- }
-
- /**
- * Get ID name.
- *
- * @return string
- */
- public function getId()
- {
- return $this->_id;
- }
-
- /**
- * Get fields as array.
- *
- * @return array
- */
- public function getFields()
- {
- return $this->_fields;
- }
-
- /**
- * Get field by name.
- *
- * @param string $name
- * @return mixed
- */
- public function getField($name)
- {
- if (isset($this->_fields[$name])) {
- return $this->_fields[$name];
- }
- return null;
- }
-
- /**
- * Set field by name.
- *
- * @param string $name
- * @param mixed $value
- * @return Zend_Cloud_DocumentService_Document
- */
- public function setField($name, $value)
- {
- $this->_fields[$name] = $value;
- return $this;
- }
-
- /**
- * Overloading: get value
- *
- * @param string $name
- * @return mixed
- */
- public function __get($name)
- {
- return $this->getField($name);
- }
-
- /**
- * Overloading: set field
- *
- * @param string $name
- * @param mixed $value
- * @return void
- */
- public function __set($name, $value)
- {
- $this->setField($name, $value);
- }
-
- /**
- * ArrayAccess: does field exist?
- *
- * @param string $name
- * @return bool
- */
- public function offsetExists($name)
- {
- return isset($this->_fields[$name]);
- }
-
- /**
- * ArrayAccess: get field by name
- *
- * @param string $name
- * @return mixed
- */
- public function offsetGet($name)
- {
- return $this->getField($name);
- }
-
- /**
- * ArrayAccess: set field to value
- *
- * @param string $name
- * @param mixed $value
- * @return void
- */
- public function offsetSet($name, $value)
- {
- $this->setField($name, $value);
- }
-
- /**
- * ArrayAccess: remove field from document
- *
- * @param string $name
- * @return void
- */
- public function offsetUnset($name)
- {
- if ($this->offsetExists($name)) {
- unset($this->_fields[$name]);
- }
- }
-
- /**
- * Overloading: retrieve and set fields by name
- *
- * @param string $name
- * @param mixed $args
- * @return mixed
- */
- public function __call($name, $args)
- {
- $prefix = substr($name, 0, 3);
- if ($prefix == 'get') {
- // Get value
- $option = substr($name, 3);
- return $this->getField($option);
- } elseif ($prefix == 'set') {
- // set value
- $option = substr($name, 3);
- return $this->setField($option, $args[0]);
- }
-
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException("Unknown operation $name");
- }
-
- /**
- * Countable: return count of fields in document
- *
- * @return int
- */
- public function count()
- {
- return count($this->_fields);
- }
-
- /**
- * IteratorAggregate: return iterator for iterating over fields
- *
- * @return Iterator
- */
- public function getIterator()
- {
- return new ArrayIterator($this->_fields);
- }
-}
+_fields = $fields;
+ $this->setId($id);
+ }
+
+ /**
+ * Set document identifier
+ *
+ * @param mixed $id
+ * @return Zend_Cloud_DocumentService_Document
+ */
+ public function setId($id)
+ {
+ $this->_id = $id;
+ return $this;
+ }
+
+ /**
+ * Get ID name.
+ *
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->_id;
+ }
+
+ /**
+ * Get fields as array.
+ *
+ * @return array
+ */
+ public function getFields()
+ {
+ return $this->_fields;
+ }
+
+ /**
+ * Get field by name.
+ *
+ * @param string $name
+ * @return mixed
+ */
+ public function getField($name)
+ {
+ if (isset($this->_fields[$name])) {
+ return $this->_fields[$name];
+ }
+ return null;
+ }
+
+ /**
+ * Set field by name.
+ *
+ * @param string $name
+ * @param mixed $value
+ * @return Zend_Cloud_DocumentService_Document
+ */
+ public function setField($name, $value)
+ {
+ $this->_fields[$name] = $value;
+ return $this;
+ }
+
+ /**
+ * Overloading: get value
+ *
+ * @param string $name
+ * @return mixed
+ */
+ public function __get($name)
+ {
+ return $this->getField($name);
+ }
+
+ /**
+ * Overloading: set field
+ *
+ * @param string $name
+ * @param mixed $value
+ * @return void
+ */
+ public function __set($name, $value)
+ {
+ $this->setField($name, $value);
+ }
+
+ /**
+ * ArrayAccess: does field exist?
+ *
+ * @param string $name
+ * @return bool
+ */
+ public function offsetExists($name)
+ {
+ return isset($this->_fields[$name]);
+ }
+
+ /**
+ * ArrayAccess: get field by name
+ *
+ * @param string $name
+ * @return mixed
+ */
+ public function offsetGet($name)
+ {
+ return $this->getField($name);
+ }
+
+ /**
+ * ArrayAccess: set field to value
+ *
+ * @param string $name
+ * @param mixed $value
+ * @return void
+ */
+ public function offsetSet($name, $value)
+ {
+ $this->setField($name, $value);
+ }
+
+ /**
+ * ArrayAccess: remove field from document
+ *
+ * @param string $name
+ * @return void
+ */
+ public function offsetUnset($name)
+ {
+ if ($this->offsetExists($name)) {
+ unset($this->_fields[$name]);
+ }
+ }
+
+ /**
+ * Overloading: retrieve and set fields by name
+ *
+ * @param string $name
+ * @param mixed $args
+ * @return mixed
+ */
+ public function __call($name, $args)
+ {
+ $prefix = substr($name, 0, 3);
+ if ($prefix == 'get') {
+ // Get value
+ $option = substr($name, 3);
+ return $this->getField($option);
+ } elseif ($prefix == 'set') {
+ // set value
+ $option = substr($name, 3);
+ return $this->setField($option, $args[0]);
+ }
+
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException("Unknown operation $name");
+ }
+
+ /**
+ * Countable: return count of fields in document
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->_fields);
+ }
+
+ /**
+ * IteratorAggregate: return iterator for iterating over fields
+ *
+ * @return Iterator
+ */
+ public function getIterator()
+ {
+ return new ArrayIterator($this->_fields);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/DocumentSet.php
--- a/web/lib/Zend/Cloud/DocumentService/DocumentSet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/DocumentSet.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,7 +23,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage DocumentService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Cloud_DocumentService_DocumentSet implements Countable, IteratorAggregate
@@ -48,7 +48,7 @@
/**
* Countable: number of documents in set
- *
+ *
* @return int
*/
public function count()
@@ -58,7 +58,7 @@
/**
* IteratorAggregate: retrieve iterator
- *
+ *
* @return Traversable
*/
public function getIterator()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/Exception.php
--- a/web/lib/Zend/Cloud/DocumentService/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,38 +1,38 @@
-foo('bar')
- * but concrete adapters should be able to recognise it
- *
- * The call will be iterpreted as clause 'foo' with argument 'bar'
- *
- * @param string $name Clause/method name
- * @param mixed $args
- * @return Zend_Cloud_DocumentService_Query
- */
- public function __call($name, $args)
- {
- $this->_clauses[] = array(strtolower($name), $args);
- return $this;
- }
-
- /**
- * SELECT clause (fields to be selected)
- *
- * @param null|string|array $select
- * @return Zend_Cloud_DocumentService_Query
- */
- public function select($select)
- {
- if (empty($select)) {
- return $this;
- }
- if (!is_string($select) && !is_array($select)) {
- require_once 'Zend/Cloud/DocumentService/Exception.php';
- throw new Zend_Cloud_DocumentService_Exception("SELECT argument must be a string or an array of strings");
- }
- $this->_clauses[] = array(self::QUERY_SELECT, $select);
- return $this;
- }
-
- /**
- * FROM clause
- *
- * @param string $name Field names
- * @return Zend_Cloud_DocumentService_Query
- */
- public function from($name)
- {
- if(!is_string($name)) {
- require_once 'Zend/Cloud/DocumentService/Exception.php';
- throw new Zend_Cloud_DocumentService_Exception("FROM argument must be a string");
- }
- $this->_clauses[] = array(self::QUERY_FROM, $name);
- return $this;
- }
-
- /**
- * WHERE query
- *
- * @param string $cond Condition
- * @param array $args Arguments to substitute instead of ?'s in condition
- * @param string $op relation to other clauses - and/or
- * @return Zend_Cloud_DocumentService_Query
- */
- public function where($cond, $value = null, $op = 'and')
- {
- if (!is_string($cond)) {
- require_once 'Zend/Cloud/DocumentService/Exception.php';
- throw new Zend_Cloud_DocumentService_Exception("WHERE argument must be a string");
- }
- $this->_clauses[] = array(self::QUERY_WHERE, array($cond, $value, $op));
- return $this;
- }
-
- /**
- * Select record or fields by ID
- *
- * @param string|int $value Identifier to select by
- * @return Zend_Cloud_DocumentService_Query
- */
- public function whereId($value)
- {
- if (!is_scalar($value)) {
- require_once 'Zend/Cloud/DocumentService/Exception.php';
- throw new Zend_Cloud_DocumentService_Exception("WHEREID argument must be a scalar");
- }
- $this->_clauses[] = array(self::QUERY_WHEREID, $value);
- return $this;
- }
-
- /**
- * LIMIT clause (how many items to return)
- *
- * @param int $limit
- * @return Zend_Cloud_DocumentService_Query
- */
- public function limit($limit)
- {
- if ($limit != (int) $limit) {
- require_once 'Zend/Cloud/DocumentService/Exception.php';
- throw new Zend_Cloud_DocumentService_Exception("LIMIT argument must be an integer");
- }
- $this->_clauses[] = array(self::QUERY_LIMIT, $limit);
- return $this;
- }
-
- /**
- * ORDER clause; field or fields to sort by, and direction to sort
- *
- * @param string|int|array $sort
- * @param string $direction
- * @return Zend_Cloud_DocumentService_Query
- */
- public function order($sort, $direction = 'asc')
- {
- $this->_clauses[] = array(self::QUERY_ORDER, array($sort, $direction));
- return $this;
- }
-
- /**
- * "Assemble" the query
- *
- * Simply returns the clauses present.
- *
- * @return array
- */
- public function assemble()
- {
- return $this->getClauses();
- }
-
- /**
- * Return query clauses as an array
- *
- * @return array Clauses in the query
- */
- public function getClauses()
- {
- return $this->_clauses;
- }
-}
+foo('bar')
+ * but concrete adapters should be able to recognise it
+ *
+ * The call will be iterpreted as clause 'foo' with argument 'bar'
+ *
+ * @param string $name Clause/method name
+ * @param mixed $args
+ * @return Zend_Cloud_DocumentService_Query
+ */
+ public function __call($name, $args)
+ {
+ $this->_clauses[] = array(strtolower($name), $args);
+ return $this;
+ }
+
+ /**
+ * SELECT clause (fields to be selected)
+ *
+ * @param null|string|array $select
+ * @return Zend_Cloud_DocumentService_Query
+ */
+ public function select($select)
+ {
+ if (empty($select)) {
+ return $this;
+ }
+ if (!is_string($select) && !is_array($select)) {
+ require_once 'Zend/Cloud/DocumentService/Exception.php';
+ throw new Zend_Cloud_DocumentService_Exception("SELECT argument must be a string or an array of strings");
+ }
+ $this->_clauses[] = array(self::QUERY_SELECT, $select);
+ return $this;
+ }
+
+ /**
+ * FROM clause
+ *
+ * @param string $name Field names
+ * @return Zend_Cloud_DocumentService_Query
+ */
+ public function from($name)
+ {
+ if(!is_string($name)) {
+ require_once 'Zend/Cloud/DocumentService/Exception.php';
+ throw new Zend_Cloud_DocumentService_Exception("FROM argument must be a string");
+ }
+ $this->_clauses[] = array(self::QUERY_FROM, $name);
+ return $this;
+ }
+
+ /**
+ * WHERE query
+ *
+ * @param string $cond Condition
+ * @param array $args Arguments to substitute instead of ?'s in condition
+ * @param string $op relation to other clauses - and/or
+ * @return Zend_Cloud_DocumentService_Query
+ */
+ public function where($cond, $value = null, $op = 'and')
+ {
+ if (!is_string($cond)) {
+ require_once 'Zend/Cloud/DocumentService/Exception.php';
+ throw new Zend_Cloud_DocumentService_Exception("WHERE argument must be a string");
+ }
+ $this->_clauses[] = array(self::QUERY_WHERE, array($cond, $value, $op));
+ return $this;
+ }
+
+ /**
+ * Select record or fields by ID
+ *
+ * @param string|int $value Identifier to select by
+ * @return Zend_Cloud_DocumentService_Query
+ */
+ public function whereId($value)
+ {
+ if (!is_scalar($value)) {
+ require_once 'Zend/Cloud/DocumentService/Exception.php';
+ throw new Zend_Cloud_DocumentService_Exception("WHEREID argument must be a scalar");
+ }
+ $this->_clauses[] = array(self::QUERY_WHEREID, $value);
+ return $this;
+ }
+
+ /**
+ * LIMIT clause (how many items to return)
+ *
+ * @param int $limit
+ * @return Zend_Cloud_DocumentService_Query
+ */
+ public function limit($limit)
+ {
+ if ($limit != (int) $limit) {
+ require_once 'Zend/Cloud/DocumentService/Exception.php';
+ throw new Zend_Cloud_DocumentService_Exception("LIMIT argument must be an integer");
+ }
+ $this->_clauses[] = array(self::QUERY_LIMIT, $limit);
+ return $this;
+ }
+
+ /**
+ * ORDER clause; field or fields to sort by, and direction to sort
+ *
+ * @param string|int|array $sort
+ * @param string $direction
+ * @return Zend_Cloud_DocumentService_Query
+ */
+ public function order($sort, $direction = 'asc')
+ {
+ $this->_clauses[] = array(self::QUERY_ORDER, array($sort, $direction));
+ return $this;
+ }
+
+ /**
+ * "Assemble" the query
+ *
+ * Simply returns the clauses present.
+ *
+ * @return array
+ */
+ public function assemble()
+ {
+ return $this->getClauses();
+ }
+
+ /**
+ * Return query clauses as an array
+ *
+ * @return array Clauses in the query
+ */
+ public function getClauses()
+ {
+ return $this->_clauses;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/DocumentService/QueryAdapter.php
--- a/web/lib/Zend/Cloud/DocumentService/QueryAdapter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/DocumentService/QueryAdapter.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,102 +1,102 @@
-_clientException = $clientException;
- parent::__construct($message, $code, $clientException);
- }
-
- public function getClientException() {
- return $this->_getPrevious();
- }
-}
-
+_clientException = $clientException;
+ parent::__construct($message, $code, $clientException);
+ }
+
+ public function getClientException() {
+ return $this->_getPrevious();
+ }
+}
+
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/Infrastructure/Adapter.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/Infrastructure/Adapter.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,167 @@
+adapterResult;
+ }
+
+ /**
+ * Wait for status $status with a timeout of $timeout seconds
+ *
+ * @param string $id
+ * @param string $status
+ * @param integer $timeout
+ * @return boolean
+ */
+ public function waitStatusInstance($id, $status, $timeout = self::TIMEOUT_STATUS_CHANGE)
+ {
+ if (empty($id) || empty($status)) {
+ return false;
+ }
+
+ $num = 0;
+ while (($num<$timeout) && ($this->statusInstance($id) != $status)) {
+ sleep(self::TIME_STEP_STATUS_CHANGE);
+ $num += self::TIME_STEP_STATUS_CHANGE;
+ }
+ return ($num < $timeout);
+ }
+
+ /**
+ * Run arbitrary shell script on an instance
+ *
+ * @param string $id
+ * @param array $param
+ * @param string|array $cmd
+ * @return string|array
+ */
+ public function deployInstance($id, $params, $cmd)
+ {
+ if (!function_exists("ssh2_connect")) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Deployment requires the PHP "SSH" extension (ext/ssh2)');
+ }
+
+ if (empty($id)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You must specify the instance where to deploy');
+ }
+
+ if (empty($cmd)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You must specify the shell commands to run on the instance');
+ }
+
+ if (empty($params)
+ || empty($params[Zend_Cloud_Infrastructure_Instance::SSH_USERNAME])
+ || (empty($params[Zend_Cloud_Infrastructure_Instance::SSH_PASSWORD])
+ && empty($params[Zend_Cloud_Infrastructure_Instance::SSH_KEY]))
+ ) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You must specify the params for the SSH connection');
+ }
+
+ $host = $this->publicDnsInstance($id);
+ if (empty($host)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception(sprintf(
+ 'The instance identified by "%s" does not exist',
+ $id
+ ));
+ }
+
+ $conn = ssh2_connect($host);
+ if (!ssh2_auth_password($conn, $params[Zend_Cloud_Infrastructure_Instance::SSH_USERNAME],
+ $params[Zend_Cloud_Infrastructure_Instance::SSH_PASSWORD])) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('SSH authentication failed');
+ }
+
+ if (is_array($cmd)) {
+ $result = array();
+ foreach ($cmd as $command) {
+ $stream = ssh2_exec($conn, $command);
+ $errorStream = ssh2_fetch_stream($stream, SSH2_STREAM_STDERR);
+
+ stream_set_blocking($errorStream, true);
+ stream_set_blocking($stream, true);
+
+ $output = stream_get_contents($stream);
+ $error = stream_get_contents($errorStream);
+
+ if (empty($error)) {
+ $result[$command] = $output;
+ } else {
+ $result[$command] = $error;
+ }
+ }
+ } else {
+ $stream = ssh2_exec($conn, $cmd);
+ $result = stream_set_blocking($stream, true);
+ $errorStream = ssh2_fetch_stream($stream, SSH2_STREAM_STDERR);
+
+ stream_set_blocking($errorStream, true);
+ stream_set_blocking($stream, true);
+
+ $output = stream_get_contents($stream);
+ $error = stream_get_contents($errorStream);
+
+ if (empty($error)) {
+ $result = $output;
+ } else {
+ $result = $error;
+ }
+ }
+ return $result;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/Infrastructure/Adapter/Ec2.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/Infrastructure/Adapter/Ec2.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,496 @@
+ Zend_Cloud_Infrastructure_Instance::STATUS_RUNNING,
+ 'terminated' => Zend_Cloud_Infrastructure_Instance::STATUS_TERMINATED,
+ 'pending' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'shutting-down' => Zend_Cloud_Infrastructure_Instance::STATUS_SHUTTING_DOWN,
+ 'stopping' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'stopped' => Zend_Cloud_Infrastructure_Instance::STATUS_STOPPED,
+ 'rebooting' => Zend_Cloud_Infrastructure_Instance::STATUS_REBOOTING,
+ );
+
+ /**
+ * Map monitor metrics between Infrastructure and EC2
+ *
+ * @var array
+ */
+ protected $mapMetrics= array (
+ Zend_Cloud_Infrastructure_Instance::MONITOR_CPU => 'CPUUtilization',
+ Zend_Cloud_Infrastructure_Instance::MONITOR_DISK_READ => 'DiskReadBytes',
+ Zend_Cloud_Infrastructure_Instance::MONITOR_DISK_WRITE => 'DiskWriteBytes',
+ Zend_Cloud_Infrastructure_Instance::MONITOR_NETWORK_IN => 'NetworkIn',
+ Zend_Cloud_Infrastructure_Instance::MONITOR_NETWORK_OUT => 'NetworkOut',
+ );
+
+ /**
+ * Constructor
+ *
+ * @param array|Zend_Config $options
+ * @return void
+ */
+ public function __construct($options = array())
+ {
+ if (is_object($options)) {
+ if (method_exists($options, 'toArray')) {
+ $options= $options->toArray();
+ } elseif ($options instanceof Traversable) {
+ $options = iterator_to_array($options);
+ }
+ }
+
+ if (empty($options) || !is_array($options)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Invalid options provided');
+ }
+
+ if (!isset($options[self::AWS_ACCESS_KEY])
+ || !isset($options[self::AWS_SECRET_KEY])
+ ) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('AWS keys not specified!');
+ }
+
+ $this->accessKey = $options[self::AWS_ACCESS_KEY];
+ $this->accessSecret = $options[self::AWS_SECRET_KEY];
+ $this->region = '';
+
+ if (isset($options[self::AWS_REGION])) {
+ $this->region= $options[self::AWS_REGION];
+ }
+
+ try {
+ $this->ec2 = new Zend_Service_Amazon_Ec2_Instance($options[self::AWS_ACCESS_KEY], $options[self::AWS_SECRET_KEY], $this->region);
+ } catch (Exception $e) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Error on create: ' . $e->getMessage(), $e->getCode(), $e);
+ }
+
+ if (isset($options[self::HTTP_ADAPTER])) {
+ $this->ec2->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
+ }
+ }
+
+ /**
+ * Convert the attributes of EC2 into attributes of Infrastructure
+ *
+ * @param array $attr
+ * @return array|boolean
+ */
+ private function convertAttributes($attr)
+ {
+ $result = array();
+ if (!empty($attr) && is_array($attr)) {
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_ID] = $attr['instanceId'];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STATUS] = $this->mapStatus[$attr['instanceState']['name']];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_IMAGEID] = $attr['imageId'];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_ZONE] = $attr['availabilityZone'];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_LAUNCHTIME] = $attr['launchTime'];
+
+ switch ($attr['instanceType']) {
+ case Zend_Service_Amazon_Ec2_Instance::MICRO:
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_CPU] = '1 virtual core';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_RAM] = '613MB';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STORAGE] = '0GB';
+ break;
+ case Zend_Service_Amazon_Ec2_Instance::SMALL:
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_CPU] = '1 virtual core';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_RAM] = '1.7GB';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STORAGE] = '160GB';
+ break;
+ case Zend_Service_Amazon_Ec2_Instance::LARGE:
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_CPU] = '2 virtual core';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_RAM] = '7.5GB';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STORAGE] = '850GB';
+ break;
+ case Zend_Service_Amazon_Ec2_Instance::XLARGE:
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_CPU] = '4 virtual core';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_RAM] = '15GB';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STORAGE] = '1690GB';
+ break;
+ case Zend_Service_Amazon_Ec2_Instance::HCPU_MEDIUM:
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_CPU] = '2 virtual core';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_RAM] = '1.7GB';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STORAGE] = '350GB';
+ break;
+ case Zend_Service_Amazon_Ec2_Instance::HCPU_XLARGE:
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_CPU] = '8 virtual core';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_RAM] = '7GB';
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STORAGE] = '1690GB';
+ break;
+ }
+ }
+ return $result;
+ }
+
+ /**
+ * Return a list of the available instancies
+ *
+ * @return Zend_Cloud_Infrastructure_InstanceList
+ */
+ public function listInstances()
+ {
+ $this->adapterResult = $this->ec2->describe();
+
+ $result = array();
+ foreach ($this->adapterResult['instances'] as $instance) {
+ $result[]= $this->convertAttributes($instance);
+ }
+ return new Zend_Cloud_Infrastructure_InstanceList($this, $result);
+ }
+
+ /**
+ * Return the status of an instance
+ *
+ * @param string
+ * @return string|boolean
+ */
+ public function statusInstance($id)
+ {
+ $this->adapterResult = $this->ec2->describe($id);
+ if (empty($this->adapterResult['instances'])) {
+ return false;
+ }
+ $result = $this->adapterResult['instances'][0];
+ return $this->mapStatus[$result['instanceState']['name']];
+ }
+
+ /**
+ * Return the public DNS name of the instance
+ *
+ * @param string $id
+ * @return string|boolean
+ */
+ public function publicDnsInstance($id)
+ {
+ $this->adapterResult = $this->ec2->describe($id);
+ if (empty($this->adapterResult['instances'])) {
+ return false;
+ }
+ $result = $this->adapterResult['instances'][0];
+ return $result['dnsName'];
+ }
+
+ /**
+ * Reboot an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function rebootInstance($id)
+ {
+ $this->adapterResult= $this->ec2->reboot($id);
+ return $this->adapterResult;
+ }
+
+ /**
+ * Create a new instance
+ *
+ * @param string $name
+ * @param array $options
+ * @return Instance|boolean
+ */
+ public function createInstance($name, $options)
+ {
+ // @todo instance's name management?
+ $this->adapterResult = $this->ec2->run($options);
+ if (empty($this->adapterResult['instances'])) {
+ return false;
+ }
+ $this->error= false;
+ return new Zend_Cloud_Infrastructure_Instance($this, $this->convertAttributes($this->adapterResult['instances'][0]));
+ }
+
+ /**
+ * Stop an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function stopInstance($id)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The stopInstance method is not implemented in the adapter');
+ }
+
+ /**
+ * Start an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function startInstance($id)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The startInstance method is not implemented in the adapter');
+ }
+
+ /**
+ * Destroy an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function destroyInstance($id)
+ {
+ $this->adapterResult = $this->ec2->terminate($id);
+ return (!empty($this->adapterResult));
+ }
+
+ /**
+ * Return a list of all the available instance images
+ *
+ * @return ImageList
+ */
+ public function imagesInstance()
+ {
+ if (!isset($this->ec2Image)) {
+ $this->ec2Image = new Zend_Service_Amazon_Ec2_Image($this->accessKey, $this->accessSecret, $this->region);
+ }
+
+ $this->adapterResult = $this->ec2Image->describe();
+
+ $images = array();
+
+ foreach ($this->adapterResult as $result) {
+ switch (strtolower($result['platform'])) {
+ case 'windows' :
+ $platform = Zend_Cloud_Infrastructure_Image::IMAGE_WINDOWS;
+ break;
+ default:
+ $platform = Zend_Cloud_Infrastructure_Image::IMAGE_LINUX;
+ break;
+ }
+
+ $images[]= array (
+ Zend_Cloud_Infrastructure_Image::IMAGE_ID => $result['imageId'],
+ Zend_Cloud_Infrastructure_Image::IMAGE_NAME => '',
+ Zend_Cloud_Infrastructure_Image::IMAGE_DESCRIPTION => $result['imageLocation'],
+ Zend_Cloud_Infrastructure_Image::IMAGE_OWNERID => $result['imageOwnerId'],
+ Zend_Cloud_Infrastructure_Image::IMAGE_ARCHITECTURE => $result['architecture'],
+ Zend_Cloud_Infrastructure_Image::IMAGE_PLATFORM => $platform,
+ );
+ }
+ return new Zend_Cloud_Infrastructure_ImageList($images,$this->ec2Image);
+ }
+
+ /**
+ * Return all the available zones
+ *
+ * @return array
+ */
+ public function zonesInstance()
+ {
+ if (!isset($this->ec2Zone)) {
+ $this->ec2Zone = new Zend_Service_Amazon_Ec2_AvailabilityZones($this->accessKey,$this->accessSecret,$this->region);
+ }
+ $this->adapterResult = $this->ec2Zone->describe();
+
+ $zones = array();
+ foreach ($this->adapterResult as $zone) {
+ if (strtolower($zone['zoneState']) === 'available') {
+ $zones[] = array (
+ Zend_Cloud_Infrastructure_Instance::INSTANCE_ZONE => $zone['zoneName'],
+ );
+ }
+ }
+ return $zones;
+ }
+
+ /**
+ * Return the system information about the $metric of an instance
+ *
+ * @param string $id
+ * @param string $metric
+ * @param null|array $options
+ * @return array
+ */
+ public function monitorInstance($id, $metric, $options = null)
+ {
+ if (empty($id) || empty($metric)) {
+ return false;
+ }
+
+ if (!in_array($metric,$this->validMetrics)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception(sprintf(
+ 'The metric "%s" is not valid',
+ $metric
+ ));
+ }
+
+ if (!empty($options) && !is_array($options)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The options must be an array');
+ }
+
+ if (!empty($options)
+ && (empty($options[Zend_Cloud_Infrastructure_Instance::MONITOR_START_TIME])
+ || empty($options[Zend_Cloud_Infrastructure_Instance::MONITOR_END_TIME]))
+ ) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception(sprintf(
+ 'The options array must contain: "%s" and "%s"',
+ $options[Zend_Cloud_Infrastructure_Instance::MONITOR_START_TIME],
+ $options[Zend_Cloud_Infrastructure_Instance::MONITOR_END_TIME]
+ ));
+ }
+
+ if (!isset($this->ec2Monitor)) {
+ $this->ec2Monitor = new Zend_Service_Amazon_Ec2_CloudWatch($this->accessKey, $this->accessSecret, $this->region);
+ }
+
+ $param = array(
+ 'MeasureName' => $this->mapMetrics[$metric],
+ 'Statistics' => array('Average'),
+ 'Dimensions' => array('InstanceId' => $id),
+ );
+
+ if (!empty($options)) {
+ $param['StartTime'] = $options[Zend_Cloud_Infrastructure_Instance::MONITOR_START_TIME];
+ $param['EndTime'] = $options[Zend_Cloud_Infrastructure_Instance::MONITOR_END_TIME];
+ }
+
+ $this->adapterResult = $this->ec2Monitor->getMetricStatistics($param);
+
+ $monitor = array();
+ $num = 0;
+ $average = 0;
+
+ if (!empty($this->adapterResult['datapoints'])) {
+ foreach ($this->adapterResult['datapoints'] as $result) {
+ $monitor['series'][] = array (
+ 'timestamp' => $result['Timestamp'],
+ 'value' => $result['Average'],
+ );
+ $average += $result['Average'];
+ $num++;
+ }
+ }
+
+ if ($num > 0) {
+ $monitor['average'] = $average / $num;
+ }
+
+ return $monitor;
+ }
+
+ /**
+ * Get the adapter
+ *
+ * @return Zend_Service_Amazon_Ec2_Instance
+ */
+ public function getAdapter()
+ {
+ return $this->ec2;
+ }
+
+ /**
+ * Get last HTTP request
+ *
+ * @return string
+ */
+ public function getLastHttpRequest()
+ {
+ return $this->ec2->getHttpClient()->getLastRequest();
+ }
+
+ /**
+ * Get the last HTTP response
+ *
+ * @return Zend_Http_Response
+ */
+ public function getLastHttpResponse()
+ {
+ return $this->ec2->getHttpClient()->getLastResponse();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/Infrastructure/Adapter/Rackspace.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/Infrastructure/Adapter/Rackspace.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,483 @@
+ Zend_Cloud_Infrastructure_Instance::STATUS_RUNNING,
+ 'SUSPENDED' => Zend_Cloud_Infrastructure_Instance::STATUS_STOPPED,
+ 'BUILD' => Zend_Cloud_Infrastructure_Instance::STATUS_REBUILD,
+ 'REBUILD' => Zend_Cloud_Infrastructure_Instance::STATUS_REBUILD,
+ 'QUEUE_RESIZE' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'PREP_RESIZE' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'RESIZE' => Zend_Cloud_Infrastructure_Instance::STATUS_REBUILD,
+ 'VERIFY_RESIZE' => Zend_Cloud_Infrastructure_Instance::STATUS_REBUILD,
+ 'PASSWORD' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'RESCUE' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'REBOOT' => Zend_Cloud_Infrastructure_Instance::STATUS_REBOOTING,
+ 'HARD_REBOOT' => Zend_Cloud_Infrastructure_Instance::STATUS_REBOOTING,
+ 'SHARE_IP' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'SHARE_IP_NO_CONFIG' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'DELETE_IP' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING,
+ 'UNKNOWN' => Zend_Cloud_Infrastructure_Instance::STATUS_PENDING
+ );
+ /**
+ * Constructor
+ *
+ * @param array|Zend_Config $options
+ * @return void
+ */
+ public function __construct($options = array())
+ {
+ if (is_object($options)) {
+ if (method_exists($options, 'toArray')) {
+ $options= $options->toArray();
+ } elseif ($options instanceof Traversable) {
+ $options = iterator_to_array($options);
+ }
+ }
+
+ if (empty($options) || !is_array($options)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Invalid options provided');
+ }
+
+ if (!isset($options[self::RACKSPACE_USER])) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Rackspace access user not specified!');
+ }
+
+ if (!isset($options[self::RACKSPACE_KEY])) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Rackspace access key not specified!');
+ }
+
+ $this->accessUser = $options[self::RACKSPACE_USER];
+ $this->accessKey = $options[self::RACKSPACE_KEY];
+
+ if (isset($options[self::RACKSPACE_REGION])) {
+ switch ($options[self::RACKSPACE_REGION]) {
+ case self::RACKSPACE_ZONE_UK:
+ $this->region= Zend_Service_Rackspace_Servers::UK_AUTH_URL;
+ break;
+ case self::RACKSPACE_ZONE_USA:
+ $this->region = Zend_Service_Rackspace_Servers::US_AUTH_URL;
+ break;
+ default:
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The region is not valid');
+ }
+ } else {
+ $this->region = Zend_Service_Rackspace_Servers::US_AUTH_URL;
+ }
+
+ try {
+ $this->rackspace = new Zend_Service_Rackspace_Servers($this->accessUser,$this->accessKey, $this->region);
+ } catch (Exception $e) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Error on create: ' . $e->getMessage(), $e->getCode(), $e);
+ }
+
+ if (isset($options[self::HTTP_ADAPTER])) {
+ $this->rackspace->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
+ }
+
+ }
+ /**
+ * Convert the attributes of Rackspace server into attributes of Infrastructure
+ *
+ * @param array $attr
+ * @return array|boolean
+ */
+ protected function convertAttributes($attr)
+ {
+ $result = array();
+ if (!empty($attr) && is_array($attr)) {
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_ID] = $attr['id'];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_NAME] = $attr['name'];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STATUS] = $this->mapStatus[$attr['status']];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_IMAGEID] = $attr['imageId'];
+ if ($this->region==Zend_Service_Rackspace_Servers::US_AUTH_URL) {
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_ZONE] = self::RACKSPACE_ZONE_USA;
+ } else {
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_ZONE] = self::RACKSPACE_ZONE_UK;
+ }
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_RAM] = $this->flavors[$attr['flavorId']]['ram'];
+ $result[Zend_Cloud_Infrastructure_Instance::INSTANCE_STORAGE] = $this->flavors[$attr['flavorId']]['disk'];
+ }
+ return $result;
+ }
+ /**
+ * Return a list of the available instancies
+ *
+ * @return InstanceList|boolean
+ */
+ public function listInstances()
+ {
+ $this->adapterResult = $this->rackspace->listServers(true);
+ if ($this->adapterResult===false) {
+ return false;
+ }
+ $array= $this->adapterResult->toArray();
+ $result = array();
+ foreach ($array as $instance) {
+ $result[]= $this->convertAttributes($instance);
+ }
+ return new Zend_Cloud_Infrastructure_InstanceList($this, $result);
+ }
+ /**
+ * Return the status of an instance
+ *
+ * @param string
+ * @return string|boolean
+ */
+ public function statusInstance($id)
+ {
+ $this->adapterResult = $this->rackspace->getServer($id);
+ if ($this->adapterResult===false) {
+ return false;
+ }
+ $array= $this->adapterResult->toArray();
+ return $this->mapStatus[$array['status']];
+ }
+ /**
+ * Return the public DNS name/Ip address of the instance
+ *
+ * @param string $id
+ * @return string|boolean
+ */
+ public function publicDnsInstance($id)
+ {
+ $this->adapterResult = $this->rackspace->getServerPublicIp($id);
+ if (empty($this->adapterResult)) {
+ return false;
+ }
+ return $this->adapterResult[0];
+ }
+ /**
+ * Reboot an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function rebootInstance($id)
+ {
+ return $this->rackspace->rebootServer($id,true);
+ }
+ /**
+ * Create a new instance
+ *
+ * @param string $name
+ * @param array $options
+ * @return Instance|boolean
+ */
+ public function createInstance($name, $options)
+ {
+ if (empty($name)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You must specify the name of the instance');
+ }
+ if (empty($options) || !is_array($options)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The options must be an array');
+ }
+ // @todo create an generic abstract definition for an instance?
+ $metadata= array();
+ if (isset($options['metadata'])) {
+ $metadata= $options['metadata'];
+ unset($options['metadata']);
+ }
+ $files= array();
+ if (isset($options['files'])) {
+ $files= $options['files'];
+ unset($options['files']);
+ }
+ $options['name']= $name;
+ $this->adapterResult = $this->rackspace->createServer($options,$metadata,$files);
+ if ($this->adapterResult===false) {
+ return false;
+ }
+ return new Zend_Cloud_Infrastructure_Instance($this, $this->convertAttributes($this->adapterResult->toArray()));
+ }
+ /**
+ * Stop an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function stopInstance($id)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The stopInstance method is not implemented in the adapter');
+ }
+
+ /**
+ * Start an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function startInstance($id)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The startInstance method is not implemented in the adapter');
+ }
+
+ /**
+ * Destroy an instance
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function destroyInstance($id)
+ {
+ $this->adapterResult= $this->rackspace->deleteServer($id);
+ return $this->adapterResult;
+ }
+ /**
+ * Return a list of all the available instance images
+ *
+ * @return ImageList|boolean
+ */
+ public function imagesInstance()
+ {
+ $this->adapterResult = $this->rackspace->listImages(true);
+ if ($this->adapterResult===false) {
+ return false;
+ }
+
+ $images= $this->adapterResult->toArray();
+ $result= array();
+
+ foreach ($images as $image) {
+ if (strtolower($image['status'])==='active') {
+ if (strpos($image['name'],'Windows')!==false) {
+ $platform = Zend_Cloud_Infrastructure_Image::IMAGE_WINDOWS;
+ } else {
+ $platform = Zend_Cloud_Infrastructure_Image::IMAGE_LINUX;
+ }
+ if (strpos($image['name'],'x64')!==false) {
+ $arch = Zend_Cloud_Infrastructure_Image::ARCH_64BIT;
+ } else {
+ $arch = Zend_Cloud_Infrastructure_Image::ARCH_32BIT;
+ }
+ $result[]= array (
+ Zend_Cloud_Infrastructure_Image::IMAGE_ID => $image['id'],
+ Zend_Cloud_Infrastructure_Image::IMAGE_NAME => $image['name'],
+ Zend_Cloud_Infrastructure_Image::IMAGE_DESCRIPTION => $image['name'],
+ Zend_Cloud_Infrastructure_Image::IMAGE_ARCHITECTURE => $arch,
+ Zend_Cloud_Infrastructure_Image::IMAGE_PLATFORM => $platform,
+ );
+ }
+ }
+ return new Zend_Cloud_Infrastructure_ImageList($result,$this->adapterResult);
+ }
+ /**
+ * Return all the available zones
+ *
+ * @return array
+ */
+ public function zonesInstance()
+ {
+ return array(self::RACKSPACE_ZONE_USA,self::RACKSPACE_ZONE_UK);
+ }
+ /**
+ * Return the system information about the $metric of an instance
+ * NOTE: it works only for Linux servers
+ *
+ * @param string $id
+ * @param string $metric
+ * @param null|array $options
+ * @return array|boolean
+ */
+ public function monitorInstance($id, $metric, $options = null)
+ {
+ if (!function_exists("ssh2_connect")) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Monitor requires the PHP "SSH" extension (ext/ssh2)');
+ }
+ if (empty($id)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You must specify the id of the instance to monitor');
+ }
+ if (empty($metric)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You must specify the metric to monitor');
+ }
+ if (!in_array($metric,$this->validMetrics)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception(sprintf('The metric "%s" is not valid', $metric));
+ }
+ if (!empty($options) && !is_array($options)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The options must be an array');
+ }
+
+ switch ($metric) {
+ case Zend_Cloud_Infrastructure_Instance::MONITOR_CPU:
+ $cmd= 'top -b -n '.self::MONITOR_CPU_SAMPLES.' | grep \'Cpu\'';
+ break;
+ case Zend_Cloud_Infrastructure_Instance::MONITOR_RAM:
+ $cmd= 'top -b -n 1 | grep \'Mem\'';
+ break;
+ case Zend_Cloud_Infrastructure_Instance::MONITOR_DISK:
+ $cmd= 'df --total | grep total';
+ break;
+ }
+ if (empty($cmd)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('The metric specified is not supported by the adapter');
+ }
+
+ $params= array(
+ Zend_Cloud_Infrastructure_Instance::SSH_USERNAME => $options['username'],
+ Zend_Cloud_Infrastructure_Instance::SSH_PASSWORD => $options['password']
+ );
+ $exec_time= time();
+ $result= $this->deployInstance($id,$params,$cmd);
+
+ if (empty($result)) {
+ return false;
+ }
+
+ $monitor = array();
+ $num = 0;
+ $average = 0;
+
+ $outputs= explode("\n",$result);
+ foreach ($outputs as $output) {
+ if (!empty($output)) {
+ switch ($metric) {
+ case Zend_Cloud_Infrastructure_Instance::MONITOR_CPU:
+ if (preg_match('/(\d+\.\d)%us/', $output,$match)) {
+ $usage = (float) $match[1];
+ }
+ break;
+ case Zend_Cloud_Infrastructure_Instance::MONITOR_RAM:
+ if (preg_match('/(\d+)k total/', $output,$match)) {
+ $total = (integer) $match[1];
+ }
+ if (preg_match('/(\d+)k used/', $output,$match)) {
+ $used = (integer) $match[1];
+ }
+ if ($total>0) {
+ $usage= (float) $used/$total;
+ }
+ break;
+ case Zend_Cloud_Infrastructure_Instance::MONITOR_DISK:
+ if (preg_match('/(\d+)%/', $output,$match)) {
+ $usage = (float) $match[1];
+ }
+ break;
+ }
+
+ $monitor['series'][] = array (
+ 'timestamp' => $exec_time,
+ 'value' => number_format($usage,2).'%'
+ );
+
+ $average += $usage;
+ $exec_time+= 60; // seconds
+ $num++;
+ }
+ }
+
+ if ($num>0) {
+ $monitor['average'] = number_format($average/$num,2).'%';
+ }
+ return $monitor;
+ }
+ /**
+ * Get the adapter
+ *
+ * @return Zend_Service_Rackspace_Servers
+ */
+ public function getAdapter()
+ {
+ return $this->rackspace;
+ }
+ /**
+ * Get last HTTP request
+ *
+ * @return string
+ */
+ public function getLastHttpRequest()
+ {
+ return $this->rackspace->getHttpClient()->getLastRequest();
+ }
+ /**
+ * Get the last HTTP response
+ *
+ * @return Zend_Http_Response
+ */
+ public function getLastHttpResponse()
+ {
+ return $this->rackspace->getHttpClient()->getLastResponse();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/Infrastructure/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/Infrastructure/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,25 @@
+toArray();
+ } elseif ($data instanceof Traversable) {
+ $data = iterator_to_array($data);
+ }
+ }
+
+ if (empty($data) || !is_array($data)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You must pass an array of parameters');
+ }
+
+ foreach ($this->attributeRequired as $key) {
+ if (empty($data[$key])) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception(sprintf(
+ 'The param "%s" is a required parameter for class %s',
+ $key,
+ __CLASS__
+ ));
+ }
+ }
+
+ $this->attributes = $data;
+ $this->adapter = $adapter;
+ }
+
+ /**
+ * Get Attribute with a specific key
+ *
+ * @param array $data
+ * @return misc|boolean
+ */
+ public function getAttribute($key)
+ {
+ if (!empty($this->attributes[$key])) {
+ return $this->attributes[$key];
+ }
+ return false;
+ }
+
+ /**
+ * Get all the attributes
+ *
+ * @return array
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * Get the image ID
+ *
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->attributes[self::IMAGE_ID];
+ }
+
+ /**
+ * Get the Owner ID
+ *
+ * @return string
+ */
+ public function getOwnerId()
+ {
+ return $this->attributes[self::IMAGE_OWNERID];
+ }
+
+ /**
+ * Get the name
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->attributes[self::IMAGE_NAME];
+ }
+
+ /**
+ * Get the description
+ *
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->attributes[self::IMAGE_DESCRIPTION];
+ }
+
+ /**
+ * Get the platform
+ *
+ * @return string
+ */
+ public function getPlatform()
+ {
+ return $this->attributes[self::IMAGE_PLATFORM];
+ }
+
+ /**
+ * Get the architecture
+ *
+ * @return string
+ */
+ public function getArchitecture()
+ {
+ return $this->attributes[self::IMAGE_ARCHITECTURE];
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/Infrastructure/ImageList.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/Infrastructure/ImageList.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,218 @@
+adapter = $adapter;
+ $this->constructFromArray($images);
+ }
+
+ /**
+ * Transforms the Array to array of Instances
+ *
+ * @param array $list
+ * @return void
+ */
+ protected function constructFromArray(array $list)
+ {
+ foreach ($list as $image) {
+ $this->addImage(new Zend_Cloud_Infrastructure_Image($image, $this->adapter));
+ }
+ }
+
+ /**
+ * Add an image
+ *
+ * @param Image
+ * @return ImageList
+ */
+ protected function addImage(Zend_Cloud_Infrastructure_Image $image)
+ {
+ $this->images[] = $image;
+ return $this;
+ }
+
+ /**
+ * Return number of images
+ *
+ * Implement Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->images);
+ }
+
+ /**
+ * Return the current element
+ *
+ * Implement Iterator::current()
+ *
+ * @return Image
+ */
+ public function current()
+ {
+ return $this->images[$this->iteratorKey];
+ }
+
+ /**
+ * Return the key of the current element
+ *
+ * Implement Iterator::key()
+ *
+ * @return int
+ */
+ public function key()
+ {
+ return $this->iteratorKey;
+ }
+
+ /**
+ * Move forward to next element
+ *
+ * Implement Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ $this->iteratorKey++;
+ }
+
+ /**
+ * Rewind the Iterator to the first element
+ *
+ * Implement Iterator::rewind()
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->iteratorKey = 0;
+ }
+
+ /**
+ * Check if there is a current element after calls to rewind() or next()
+ *
+ * Implement Iterator::valid()
+ *
+ * @return bool
+ */
+ public function valid()
+ {
+ $numItems = $this->count();
+ if ($numItems > 0 && $this->iteratorKey < $numItems) {
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Whether the offset exists
+ *
+ * Implement ArrayAccess::offsetExists()
+ *
+ * @param int $offset
+ * @return bool
+ */
+ public function offsetExists($offset)
+ {
+ return ($offset < $this->count());
+ }
+
+ /**
+ * Return value at given offset
+ *
+ * Implement ArrayAccess::offsetGet()
+ *
+ * @param int $offset
+ * @throws Zend_Cloud_Infrastructure_Exception
+ * @return Image
+ */
+ public function offsetGet($offset)
+ {
+ if (!$this->offsetExists($offset)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Illegal index');
+ }
+ return $this->images[$offset];
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetSet()
+ *
+ * @param int $offset
+ * @param string $value
+ * @throws Zend_Cloud_Infrastructure_Exception
+ */
+ public function offsetSet($offset, $value)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You are trying to set read-only property');
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetUnset()
+ *
+ * @param int $offset
+ * @throws Zend_Cloud_Infrastructure_Exception
+ */
+ public function offsetUnset($offset)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You are trying to unset read-only property');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/Infrastructure/Instance.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/Infrastructure/Instance.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,320 @@
+toArray();
+ } elseif ($data instanceof Traversable) {
+ $data = iterator_to_array($data);
+ }
+ }
+
+ if (empty($data) || !is_array($data)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception("You must pass an array of parameters");
+ }
+
+ foreach ($this->attributeRequired as $key) {
+ if (empty($data[$key])) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception(sprintf(
+ 'The param "%s" is a required param for %s',
+ $key,
+ __CLASS__
+ ));
+ }
+ }
+
+ $this->adapter = $adapter;
+ $this->attributes = $data;
+ }
+
+ /**
+ * Get Attribute with a specific key
+ *
+ * @param array $data
+ * @return misc|false
+ */
+ public function getAttribute($key)
+ {
+ if (!empty($this->attributes[$key])) {
+ return $this->attributes[$key];
+ }
+ return false;
+ }
+
+ /**
+ * Get all the attributes
+ *
+ * @return array
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * Get the instance's id
+ *
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->attributes[self::INSTANCE_ID];
+ }
+
+ /**
+ * Get the instance's image id
+ *
+ * @return string
+ */
+ public function getImageId()
+ {
+ return $this->attributes[self::INSTANCE_IMAGEID];
+ }
+
+ /**
+ * Get the instance's name
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->attributes[self::INSTANCE_NAME];
+ }
+
+ /**
+ * Get the status of the instance
+ *
+ * @return string|boolean
+ */
+ public function getStatus()
+ {
+ return $this->adapter->statusInstance($this->attributes[self::INSTANCE_ID]);
+ }
+
+ /**
+ * Wait for status $status with a timeout of $timeout seconds
+ *
+ * @param string $status
+ * @param integer $timeout
+ * @return boolean
+ */
+ public function waitStatus($status, $timeout = Adapter::TIMEOUT_STATUS_CHANGE)
+ {
+ return $this->adapter->waitStatusInstance($this->attributes[self::INSTANCE_ID], $status, $timeout);
+ }
+
+ /**
+ * Get the public DNS of the instance
+ *
+ * @return string
+ */
+ public function getPublicDns()
+ {
+ if (!isset($this->attributes[self::INSTANCE_PUBLICDNS])) {
+ $this->attributes[self::INSTANCE_PUBLICDNS] = $this->adapter->publicDnsInstance($this->attributes[self::INSTANCE_ID]);
+ }
+ return $this->attributes[self::INSTANCE_PUBLICDNS];
+ }
+
+ /**
+ * Get the instance's CPU
+ *
+ * @return string
+ */
+ public function getCpu()
+ {
+ return $this->attributes[self::INSTANCE_CPU];
+ }
+
+ /**
+ * Get the instance's RAM size
+ *
+ * @return string
+ */
+ public function getRamSize()
+ {
+ return $this->attributes[self::INSTANCE_RAM];
+ }
+
+ /**
+ * Get the instance's storage size
+ *
+ * @return string
+ */
+ public function getStorageSize()
+ {
+ return $this->attributes[self::INSTANCE_STORAGE];
+ }
+
+ /**
+ * Get the instance's zone
+ *
+ * @return string
+ */
+ public function getZone()
+ {
+ return $this->attributes[self::INSTANCE_ZONE];
+ }
+
+ /**
+ * Get the instance's launch time
+ *
+ * @return string
+ */
+ public function getLaunchTime()
+ {
+ return $this->attributes[self::INSTANCE_LAUNCHTIME];
+ }
+
+ /**
+ * Reboot the instance
+ *
+ * @return boolean
+ */
+ public function reboot()
+ {
+ return $this->adapter->rebootInstance($this->attributes[self::INSTANCE_ID]);
+ }
+
+ /**
+ * Stop the instance
+ *
+ * @return boolean
+ */
+ public function stop()
+ {
+ return $this->adapter->stopInstance($this->attributes[self::INSTANCE_ID]);
+ }
+
+ /**
+ * Start the instance
+ *
+ * @return boolean
+ */
+ public function start()
+ {
+ return $this->adapter->startInstance($this->attributes[self::INSTANCE_ID]);
+ }
+
+ /**
+ * Destroy the instance
+ *
+ * @return boolean
+ */
+ public function destroy()
+ {
+ return $this->adapter->destroyInstance($this->attributes[self::INSTANCE_ID]);
+ }
+
+ /**
+ * Return the system informations about the $metric of an instance
+ *
+ * @param string $metric
+ * @param null|array $options
+ * @return array|boolean
+ */
+ public function monitor($metric, $options = null)
+ {
+ return $this->adapter->monitorInstance($this->attributes[self::INSTANCE_ID], $metric, $options);
+ }
+
+ /**
+ * Run arbitrary shell script on the instance
+ *
+ * @param array $param
+ * @param string|array $cmd
+ * @return string|array
+ */
+ public function deploy($params, $cmd)
+ {
+ return $this->adapter->deployInstance($this->attributes[self::INSTANCE_ID], $params, $cmd);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/Infrastructure/InstanceList.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/Infrastructure/InstanceList.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,219 @@
+adapter = $adapter;
+ $this->constructFromArray($instances);
+ }
+
+ /**
+ * Transforms the Array to array of Instances
+ *
+ * @param array $list
+ * @return void
+ */
+ protected function constructFromArray(array $list)
+ {
+ foreach ($list as $instance) {
+ $this->addInstance(new Zend_Cloud_Infrastructure_Instance($this->adapter,$instance));
+ }
+ }
+
+ /**
+ * Add an instance
+ *
+ * @param Instance
+ * @return InstanceList
+ */
+ protected function addInstance(Zend_Cloud_Infrastructure_Instance $instance)
+ {
+ $this->instances[] = $instance;
+ return $this;
+ }
+
+ /**
+ * Return number of instances
+ *
+ * Implement Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->instances);
+ }
+
+ /**
+ * Return the current element
+ *
+ * Implement Iterator::current()
+ *
+ * @return Instance
+ */
+ public function current()
+ {
+ return $this->instances[$this->iteratorKey];
+ }
+
+ /**
+ * Return the key of the current element
+ *
+ * Implement Iterator::key()
+ *
+ * @return int
+ */
+ public function key()
+ {
+ return $this->iteratorKey;
+ }
+
+ /**
+ * Move forward to next element
+ *
+ * Implement Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ $this->iteratorKey++;
+ }
+
+ /**
+ * Rewind the Iterator to the first element
+ *
+ * Implement Iterator::rewind()
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->iteratorKey = 0;
+ }
+
+ /**
+ * Check if there is a current element after calls to rewind() or next()
+ *
+ * Implement Iterator::valid()
+ *
+ * @return bool
+ */
+ public function valid()
+ {
+ $numItems = $this->count();
+ if ($numItems > 0 && $this->iteratorKey < $numItems) {
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Whether the offset exists
+ *
+ * Implement ArrayAccess::offsetExists()
+ *
+ * @param int $offset
+ * @return bool
+ */
+ public function offsetExists($offset)
+ {
+ return ($offset < $this->count());
+ }
+
+ /**
+ * Return value at given offset
+ *
+ * Implement ArrayAccess::offsetGet()
+ *
+ * @param int $offset
+ * @return Instance
+ * @throws Zend_Cloud_Infrastructure_Exception
+ */
+ public function offsetGet($offset)
+ {
+ if (!$this->offsetExists($offset)) {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('Illegal index');
+ }
+ return $this->instances[$offset];
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetSet()
+ *
+ * @param int $offset
+ * @param string $value
+ * @throws Zend_Cloud_Infrastructure_Exception
+ */
+ public function offsetSet($offset, $value)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You are trying to set read-only property');
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetUnset()
+ *
+ * @param int $offset
+ * @throws Zend_Cloud_Infrastructure_Exception
+ */
+ public function offsetUnset($offset)
+ {
+ require_once 'Zend/Cloud/Infrastructure/Exception.php';
+ throw new Zend_Cloud_Infrastructure_Exception('You are trying to unset read-only property');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/OperationNotAvailableException.php
--- a/web/lib/Zend/Cloud/OperationNotAvailableException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/OperationNotAvailableException.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,34 +1,34 @@
-toArray();
@@ -85,7 +85,7 @@
if(isset($options[self::HTTP_ADAPTER])) {
$this->_sqs->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
- }
+ }
}
/**
@@ -97,7 +97,7 @@
* @param array $options
* @return string Queue ID (typically URL)
*/
- public function createQueue($name, $options = null)
+ public function createQueue($name, $options = null)
{
try {
return $this->_sqs->create($name, $options[self::CREATE_TIMEOUT]);
@@ -113,7 +113,7 @@
* @param array $options
* @return boolean true if successful, false otherwise
*/
- public function deleteQueue($queueId, $options = null)
+ public function deleteQueue($queueId, $options = null)
{
try {
return $this->_sqs->delete($queueId);
@@ -128,7 +128,7 @@
* @param array $options
* @return array Queue IDs
*/
- public function listQueues($options = null)
+ public function listQueues($options = null)
{
try {
return $this->_sqs->getQueues();
@@ -144,7 +144,7 @@
* @param array $options
* @return array
*/
- public function fetchQueueMetadata($queueId, $options = null)
+ public function fetchQueueMetadata($queueId, $options = null)
{
try {
// TODO: ZF-9050 Fix the SQS client library in trunk to return all attribute values
@@ -169,7 +169,7 @@
* @param array $options
* @return void
*/
- public function storeQueueMetadata($queueId, $metadata, $options = null)
+ public function storeQueueMetadata($queueId, $metadata, $options = null)
{
// TODO Add support for SetQueueAttributes to client library
require_once 'Zend/Cloud/OperationNotAvailableException.php';
@@ -184,7 +184,7 @@
* @param array $options
* @return string Message ID
*/
- public function sendMessage($queueId, $message, $options = null)
+ public function sendMessage($queueId, $message, $options = null)
{
try {
return $this->_sqs->send($queueId, $message);
@@ -202,7 +202,7 @@
* @param array $options
* @return array
*/
- public function receiveMessages($queueId, $max = 1, $options = null)
+ public function receiveMessages($queueId, $max = 1, $options = null)
{
try {
return $this->_makeMessages($this->_sqs->receive($queueId, $max, $options[self::VISIBILITY_TIMEOUT]));
@@ -210,11 +210,11 @@
throw new Zend_Cloud_QueueService_Exception('Error on recieving messages: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Create Zend_Cloud_QueueService_Message array for
* Sqs messages.
- *
+ *
* @param array $messages
* @return Zend_Cloud_QueueService_Message[]
*/
@@ -237,7 +237,7 @@
* @param array $options
* @return void
*/
- public function deleteMessage($queueId, $message, $options = null)
+ public function deleteMessage($queueId, $message, $options = null)
{
try {
if($message instanceof Zend_Cloud_QueueService_Message) {
@@ -249,7 +249,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on deleting a message: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Peek at the messages from the specified queue without removing them.
*
@@ -269,7 +269,7 @@
/**
* Get SQS implementation
- * @return Zend_Service_Amazon_Sqs
+ * @return Zend_Service_Amazon_Sqs
*/
public function getClient()
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/QueueService/Adapter/WindowsAzure.php
--- a/web/lib/Zend/Cloud/QueueService/Adapter/WindowsAzure.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/QueueService/Adapter/WindowsAzure.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage QueueService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,10 +27,10 @@
* @category Zend
* @package Zend_Cloud
* @subpackage QueueService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-class Zend_Cloud_QueueService_Adapter_WindowsAzure
+class Zend_Cloud_QueueService_Adapter_WindowsAzure
extends Zend_Cloud_QueueService_Adapter_AbstractAdapter
{
/**
@@ -49,20 +49,20 @@
/** message options */
const MESSAGE_TTL = 'ttl';
-
+
const DEFAULT_HOST = Zend_Service_WindowsAzure_Storage::URL_CLOUD_QUEUE;
/**
* Storage client
- *
+ *
* @var Zend_Service_WindowsAzure_Storage_Queue
*/
protected $_storageClient = null;
-
+
/**
* Constructor
- *
- * @param array|Zend_Config $options
+ *
+ * @param array|Zend_Config $options
* @return void
*/
public function __construct($options = array())
@@ -112,9 +112,9 @@
} catch(Zend_Service_WindowsAzure_Exception $e) {
throw new Zend_Cloud_QueueService_Exception('Error on create: '.$e->getMessage(), $e->getCode(), $e);
}
-
+
}
-
+
/**
* Create a queue. Returns the ID of the created queue (typically the URL).
* It may take some time to create the queue. Check your vendor's
@@ -133,7 +133,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on queue creation: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Delete a queue. All messages in the queue will also be deleted.
*
@@ -152,7 +152,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on queue deletion: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* List all queues.
*
@@ -177,7 +177,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on listing queues: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Get a key/value array of metadata for the given queue.
*
@@ -196,12 +196,12 @@
throw new Zend_Cloud_QueueService_Exception('Error on fetching queue metadata: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Store a key/value array of metadata for the specified queue.
- * WARNING: This operation overwrites any metadata that is located at
+ * WARNING: This operation overwrites any metadata that is located at
* $destinationPath. Some adapters may not support this method.
- *
+ *
* @param string $queueId
* @param array $metadata
* @param array $options
@@ -218,10 +218,10 @@
throw new Zend_Cloud_QueueService_Exception('Error on setting queue metadata: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Send a message to the specified queue.
- *
+ *
* @param string $queueId
* @param string $message
* @param array $options
@@ -240,11 +240,11 @@
throw new Zend_Cloud_QueueService_Exception('Error on sending message: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Recieve at most $max messages from the specified queue and return the
* message IDs for messages recieved.
- *
+ *
* @param string $queueId
* @param int $max
* @param array $options
@@ -266,11 +266,11 @@
throw new Zend_Cloud_QueueService_Exception('Error on recieving messages: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Create Zend_Cloud_QueueService_Message array for
* Azure messages.
- *
+ *
* @param array $messages
* @return Zend_Cloud_QueueService_Message[]
*/
@@ -287,9 +287,9 @@
/**
* Delete the specified message from the specified queue.
- *
+ *
* @param string $queueId
- * @param Zend_Cloud_QueueService_Message $message Message ID or message
+ * @param Zend_Cloud_QueueService_Message $message Message ID or message
* @param array $options
* @return void
*/
@@ -331,10 +331,10 @@
throw new Zend_Cloud_QueueService_Exception('Error on peeking messages: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Get Azure implementation
- * @return Zend_Service_Azure_Storage_Queue
+ * @return Zend_Service_Azure_Storage_Queue
*/
public function getClient()
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/QueueService/Adapter/ZendQueue.php
--- a/web/lib/Zend/Cloud/QueueService/Adapter/ZendQueue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/QueueService/Adapter/ZendQueue.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage QueueService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,33 +27,33 @@
* @category Zend
* @package Zend_Cloud
* @subpackage QueueService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-class Zend_Cloud_QueueService_Adapter_ZendQueue
+class Zend_Cloud_QueueService_Adapter_ZendQueue
extends Zend_Cloud_QueueService_Adapter_AbstractAdapter
{
/**
* Options array keys for the Zend_Queue adapter.
*/
const ADAPTER = 'adapter';
-
+
/**
* Storage client
- *
+ *
* @var Zend_Queue
*/
protected $_queue = null;
-
+
/**
* @var array All queues
*/
protected $_queues = array();
-
+
/**
* Constructor
- *
- * @param array|Zend_Config $options
+ *
+ * @param array|Zend_Config $options
* @return void
*/
public function __construct ($options = array())
@@ -87,7 +87,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on create: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Create a queue. Returns the ID of the created queue (typically the URL).
* It may take some time to create the queue. Check your vendor's
@@ -106,7 +106,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on queue creation: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Delete a queue. All messages in the queue will also be deleted.
*
@@ -128,7 +128,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on queue deletion: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* List all queues.
*
@@ -143,7 +143,7 @@
throw new Zend_Cloud_QueueService_Exception('Error on listing queues: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Get a key/value array of metadata for the given queue.
*
@@ -162,12 +162,12 @@
throw new Zend_Cloud_QueueService_Exception('Error on fetching queue metadata: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Store a key/value array of metadata for the specified queue.
- * WARNING: This operation overwrites any metadata that is located at
+ * WARNING: This operation overwrites any metadata that is located at
* $destinationPath. Some adapters may not support this method.
- *
+ *
* @param string $queueId
* @param array $metadata
* @param array $options
@@ -184,10 +184,10 @@
throw new Zend_Cloud_QueueService_Exception('Error on setting queue metadata: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Send a message to the specified queue.
- *
+ *
* @param string $queueId
* @param string $message
* @param array $options
@@ -204,11 +204,11 @@
throw new Zend_Cloud_QueueService_Exception('Error on sending message: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Recieve at most $max messages from the specified queue and return the
* message IDs for messages recieved.
- *
+ *
* @param string $queueId
* @param int $max
* @param array $options
@@ -230,11 +230,11 @@
throw new Zend_Cloud_QueueService_Exception('Error on recieving messages: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Create Zend_Cloud_QueueService_Message array for
* Azure messages.
- *
+ *
* @param array $messages
* @return Zend_Cloud_QueueService_Message[]
*/
@@ -248,12 +248,12 @@
}
return new $setClass($result);
}
-
+
/**
* Delete the specified message from the specified queue.
- *
+ *
* @param string $queueId
- * @param Zend_Cloud_QueueService_Message $message Message ID or message
+ * @param Zend_Cloud_QueueService_Message $message Message ID or message
* @param array $options
* @return void
*/
@@ -269,13 +269,13 @@
if (!($message instanceof Zend_Queue_Message)) {
throw new Zend_Cloud_QueueService_Exception('Cannot delete the message: Zend_Queue_Message object required');
}
-
+
return $this->_queues[$queueId]->deleteMessage($message);
} catch (Zend_Queue_Exception $e) {
throw new Zend_Cloud_QueueService_Exception('Error on deleting a message: '.$e->getMessage(), $e->getCode(), $e);
}
}
-
+
/**
* Peek at the messages from the specified queue without removing them.
*
@@ -289,10 +289,10 @@
require_once 'Zend/Cloud/OperationNotAvailableException.php';
throw new Zend_Cloud_OperationNotAvailableException('ZendQueue doesn\'t currently support message peeking');
}
-
+
/**
* Get Azure implementation
- * @return Zend_Queue
+ * @return Zend_Queue
*/
public function getClient()
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/QueueService/Exception.php
--- a/web/lib/Zend/Cloud/QueueService/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/QueueService/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,37 +1,37 @@
-_body = $body;
- $this->_clientMessage = $message;
- }
-
- /**
- * Get the message body
- * @return string
- */
- public function getBody()
- {
- return $this->_body;
- }
-
- /**
- * Get the original adapter-specific message
- */
- public function getMessage()
- {
- return $this->_clientMessage;
- }
-}
+_body = $body;
+ $this->_clientMessage = $message;
+ }
+
+ /**
+ * Get the message body
+ * @return string
+ */
+ public function getBody()
+ {
+ return $this->_body;
+ }
+
+ /**
+ * Get the original adapter-specific message
+ */
+ public function getMessage()
+ {
+ return $this->_clientMessage;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/QueueService/MessageSet.php
--- a/web/lib/Zend/Cloud/QueueService/MessageSet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/QueueService/MessageSet.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage QueueService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,7 +23,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage QueueService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Cloud_QueueService_MessageSet implements Countable, IteratorAggregate
@@ -36,8 +36,8 @@
/**
* Constructor
- *
- * @param array $messages
+ *
+ * @param array $messages
* @return void
*/
public function __construct(array $messages)
@@ -48,7 +48,7 @@
/**
* Countable: number of messages in collection
- *
+ *
* @return int
*/
public function count()
@@ -58,7 +58,7 @@
/**
* IteratorAggregate: return iterable object
- *
+ *
* @return Traversable
*/
public function getIterator()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/StorageService/Adapter.php
--- a/web/lib/Zend/Cloud/StorageService/Adapter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/StorageService/Adapter.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,7 +13,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage StorageService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,7 +23,7 @@
* @category Zend
* @package Zend_Cloud
* @subpackage StorageService
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Cloud_StorageService_Adapter
@@ -39,10 +39,10 @@
* @return mixed
*/
public function fetchItem($path, $options = null);
-
+
/**
* Store an item in the storage service.
- * WARNING: This operation overwrites any item that is located at
+ * WARNING: This operation overwrites any item that is located at
* $destinationPath.
* @param string $destinationPath
* @param mixed $data
@@ -52,7 +52,7 @@
public function storeItem($destinationPath,
$data,
$options = null);
-
+
/**
* Delete an item in the storage service.
*
@@ -61,10 +61,10 @@
* @return void
*/
public function deleteItem($path, $options = null);
-
+
/**
* Copy an item in the storage service to a given path.
- *
+ *
* The $destinationPath must be a directory.
*
* @param string $sourcePath
@@ -73,10 +73,10 @@
* @return void
*/
public function copyItem($sourcePath, $destinationPath, $options = null);
-
+
/**
* Move an item in the storage service to a given path.
- *
+ *
* The $destinationPath must be a directory.
*
* @param string $sourcePath
@@ -85,7 +85,7 @@
* @return void
*/
public function moveItem($sourcePath, $destinationPath, $options = null);
-
+
/**
* Rename an item in the storage service to a given name.
*
@@ -96,10 +96,10 @@
* @return void
*/
public function renameItem($path, $name, $options = null);
-
+
/**
* List items in the given directory in the storage service
- *
+ *
* The $path must be a directory
*
*
@@ -108,7 +108,7 @@
* @return array A list of item names
*/
public function listItems($path, $options = null);
-
+
/**
* Get a key/value array of metadata for the given path.
*
@@ -117,10 +117,10 @@
* @return array
*/
public function fetchMetadata($path, $options = null);
-
+
/**
* Store a key/value array of metadata at the given path.
- * WARNING: This operation overwrites any metadata that is located at
+ * WARNING: This operation overwrites any metadata that is located at
* $destinationPath.
*
* @param string $destinationPath
@@ -128,7 +128,7 @@
* @return void
*/
public function storeMetadata($destinationPath, $metadata, $options = null);
-
+
/**
* Delete a key/value array of metadata at the given path.
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/StorageService/Adapter/FileSystem.php
--- a/web/lib/Zend/Cloud/StorageService/Adapter/FileSystem.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/StorageService/Adapter/FileSystem.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,267 +1,267 @@
-toArray();
- }
-
- if (!is_array($options)) {
- throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
- }
-
- if (isset($options[self::LOCAL_DIRECTORY])) {
- $this->_directory = $options[self::LOCAL_DIRECTORY];
- } else {
- $this->_directory = realpath(sys_get_temp_dir());
- }
- }
-
- /**
- * Get an item from the storage service.
- *
- * TODO: Support streaming
- *
- * @param string $path
- * @param array $options
- * @return false|string
- */
- public function fetchItem($path, $options = array())
- {
- $filepath = $this->_getFullPath($path);
- $path = realpath($filepath);
-
- if (!$path) {
- return false;
- }
-
- return file_get_contents($path);
- }
-
- /**
- * Store an item in the storage service.
- *
- * WARNING: This operation overwrites any item that is located at
- * $destinationPath.
- *
- * @TODO Support streams
- *
- * @param string $destinationPath
- * @param mixed $data
- * @param array $options
- * @return void
- */
- public function storeItem($destinationPath, $data, $options = array())
- {
- $path = $this->_getFullPath($destinationPath);
- file_put_contents($path, $data);
- chmod($path, 0777);
- }
-
- /**
- * Delete an item in the storage service.
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- public function deleteItem($path, $options = array())
- {
- if (!isset($path)) {
- return;
- }
-
- $filepath = $this->_getFullPath($path);
- if (file_exists($filepath)) {
- unlink($filepath);
- }
- }
-
- /**
- * Copy an item in the storage service to a given path.
- *
- * WARNING: This operation is *very* expensive for services that do not
- * support copying an item natively.
- *
- * @TODO Support streams for those services that don't support natively
- *
- * @param string $sourcePath
- * @param string $destination path
- * @param array $options
- * @return void
- */
- public function copyItem($sourcePath, $destinationPath, $options = array())
- {
- copy($this->_getFullPath($sourcePath), $this->_getFullPath($destinationPath));
- }
-
- /**
- * Move an item in the storage service to a given path.
- *
- * WARNING: This operation is *very* expensive for services that do not
- * support moving an item natively.
- *
- * @TODO Support streams for those services that don't support natively
- *
- * @param string $sourcePath
- * @param string $destination path
- * @param array $options
- * @return void
- */
- public function moveItem($sourcePath, $destinationPath, $options = array())
- {
- rename($this->_getFullPath($sourcePath), $this->_getFullPath($destinationPath));
- }
-
- /**
- * Rename an item in the storage service to a given name.
- *
- *
- * @param string $path
- * @param string $name
- * @param array $options
- * @return void
- */
- public function renameItem($path, $name, $options = null)
- {
- rename(
- $this->_getFullPath($path),
- dirname($this->_getFullPath($path)) . DIRECTORY_SEPARATOR . $name
- );
- }
-
- /**
- * List items in the given directory in the storage service
- *
- * The $path must be a directory
- *
- *
- * @param string $path Must be a directory
- * @param array $options
- * @return array A list of item names
- */
- public function listItems($path, $options = null)
- {
- $listing = scandir($this->_getFullPath($path));
-
- // Remove the hidden navigation directories
- $listing = array_diff($listing, array('.', '..'));
-
- return $listing;
- }
-
- /**
- * Get a key/value array of metadata for the given path.
- *
- * @param string $path
- * @param array $options
- * @return array
- */
- public function fetchMetadata($path, $options = array())
- {
- $fullPath = $this->_getFullPath($path);
- $metadata = null;
- if (file_exists($fullPath)) {
- $metadata = stat(realpath($fullPath));
- }
-
- return isset($metadata) ? $metadata : false;
- }
-
- /**
- * Store a key/value array of metadata at the given path.
- * WARNING: This operation overwrites any metadata that is located at
- * $destinationPath.
- *
- * @param string $destinationPath
- * @param array $options
- * @return void
- */
- public function storeMetadata($destinationPath, $metadata, $options = array())
- {
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException('Storing metadata not implemented');
- }
-
- /**
- * Delete a key/value array of metadata at the given path.
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- public function deleteMetadata($path)
- {
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException('Deleting metadata not implemented');
- }
-
- /**
- * Return the full path for the file.
- *
- * @param string $path
- * @return string
- */
- private function _getFullPath($path)
- {
- return $this->_directory . DIRECTORY_SEPARATOR . $path;
- }
-
- /**
- * Get the concrete client.
- * @return strings
- */
- public function getClient()
- {
- return $this->_directory;
- }
-}
+toArray();
+ }
+
+ if (!is_array($options)) {
+ throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
+ }
+
+ if (isset($options[self::LOCAL_DIRECTORY])) {
+ $this->_directory = $options[self::LOCAL_DIRECTORY];
+ } else {
+ $this->_directory = realpath(sys_get_temp_dir());
+ }
+ }
+
+ /**
+ * Get an item from the storage service.
+ *
+ * TODO: Support streaming
+ *
+ * @param string $path
+ * @param array $options
+ * @return false|string
+ */
+ public function fetchItem($path, $options = array())
+ {
+ $filepath = $this->_getFullPath($path);
+ $path = realpath($filepath);
+
+ if (!$path || !file_exists($path)) {
+ return false;
+ }
+
+ return file_get_contents($path);
+ }
+
+ /**
+ * Store an item in the storage service.
+ *
+ * WARNING: This operation overwrites any item that is located at
+ * $destinationPath.
+ *
+ * @TODO Support streams
+ *
+ * @param string $destinationPath
+ * @param mixed $data
+ * @param array $options
+ * @return void
+ */
+ public function storeItem($destinationPath, $data, $options = array())
+ {
+ $path = $this->_getFullPath($destinationPath);
+ file_put_contents($path, $data);
+ chmod($path, 0777);
+ }
+
+ /**
+ * Delete an item in the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteItem($path, $options = array())
+ {
+ if (!isset($path)) {
+ return;
+ }
+
+ $filepath = $this->_getFullPath($path);
+ if (file_exists($filepath)) {
+ unlink($filepath);
+ }
+ }
+
+ /**
+ * Copy an item in the storage service to a given path.
+ *
+ * WARNING: This operation is *very* expensive for services that do not
+ * support copying an item natively.
+ *
+ * @TODO Support streams for those services that don't support natively
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function copyItem($sourcePath, $destinationPath, $options = array())
+ {
+ copy($this->_getFullPath($sourcePath), $this->_getFullPath($destinationPath));
+ }
+
+ /**
+ * Move an item in the storage service to a given path.
+ *
+ * WARNING: This operation is *very* expensive for services that do not
+ * support moving an item natively.
+ *
+ * @TODO Support streams for those services that don't support natively
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function moveItem($sourcePath, $destinationPath, $options = array())
+ {
+ rename($this->_getFullPath($sourcePath), $this->_getFullPath($destinationPath));
+ }
+
+ /**
+ * Rename an item in the storage service to a given name.
+ *
+ *
+ * @param string $path
+ * @param string $name
+ * @param array $options
+ * @return void
+ */
+ public function renameItem($path, $name, $options = null)
+ {
+ rename(
+ $this->_getFullPath($path),
+ dirname($this->_getFullPath($path)) . DIRECTORY_SEPARATOR . $name
+ );
+ }
+
+ /**
+ * List items in the given directory in the storage service
+ *
+ * The $path must be a directory
+ *
+ *
+ * @param string $path Must be a directory
+ * @param array $options
+ * @return array A list of item names
+ */
+ public function listItems($path, $options = null)
+ {
+ $listing = scandir($this->_getFullPath($path));
+
+ // Remove the hidden navigation directories
+ $listing = array_diff($listing, array('.', '..'));
+
+ return $listing;
+ }
+
+ /**
+ * Get a key/value array of metadata for the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return array
+ */
+ public function fetchMetadata($path, $options = array())
+ {
+ $fullPath = $this->_getFullPath($path);
+ $metadata = null;
+ if (file_exists($fullPath)) {
+ $metadata = stat(realpath($fullPath));
+ }
+
+ return isset($metadata) ? $metadata : false;
+ }
+
+ /**
+ * Store a key/value array of metadata at the given path.
+ * WARNING: This operation overwrites any metadata that is located at
+ * $destinationPath.
+ *
+ * @param string $destinationPath
+ * @param array $options
+ * @return void
+ */
+ public function storeMetadata($destinationPath, $metadata, $options = array())
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('Storing metadata not implemented');
+ }
+
+ /**
+ * Delete a key/value array of metadata at the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteMetadata($path)
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('Deleting metadata not implemented');
+ }
+
+ /**
+ * Return the full path for the file.
+ *
+ * @param string $path
+ * @return string
+ */
+ private function _getFullPath($path)
+ {
+ return $this->_directory . DIRECTORY_SEPARATOR . $path;
+ }
+
+ /**
+ * Get the concrete client.
+ * @return strings
+ */
+ public function getClient()
+ {
+ return $this->_directory;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/StorageService/Adapter/Nirvanix.php
--- a/web/lib/Zend/Cloud/StorageService/Adapter/Nirvanix.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/StorageService/Adapter/Nirvanix.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,399 +1,399 @@
-toArray();
- }
-
- if (!is_array($options)) {
- throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
- }
-
- $auth = array(
- 'username' => $options[self::USERNAME],
- 'password' => $options[self::PASSWORD],
- 'appKey' => $options[self::APP_KEY],
- );
- $nirvanix_options = array();
- if (isset($options[self::HTTP_ADAPTER])) {
- $httpc = new Zend_Http_Client();
- $httpc->setAdapter($options[self::HTTP_ADAPTER]);
- $nirvanix_options['httpClient'] = $httpc;
- }
- try {
- $this->_nirvanix = new Zend_Service_Nirvanix($auth, $nirvanix_options);
- $this->_remoteDirectory = $options[self::REMOTE_DIRECTORY];
- $this->_imfNs = $this->_nirvanix->getService('IMFS');
- $this->_metadataNs = $this->_nirvanix->getService('Metadata');
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on create: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Get an item from the storage service.
- *
- * @param string $path
- * @param array $options
- * @return mixed
- */
- public function fetchItem($path, $options = null)
- {
- $path = $this->_getFullPath($path);
- try {
- $item = $this->_imfNs->getContents($path);
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
- }
- return $item;
- }
-
- /**
- * Store an item in the storage service.
- * WARNING: This operation overwrites any item that is located at
- * $destinationPath.
- * @param string $destinationPath
- * @param mixed $data
- * @param array $options
- * @return void
- */
- public function storeItem($destinationPath, $data, $options = null)
- {
- try {
- $path = $this->_getFullPath($destinationPath);
- $this->_imfNs->putContents($path, $data);
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on store: '.$e->getMessage(), $e->getCode(), $e);
- }
- return true;
- }
-
- /**
- * Delete an item in the storage service.
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- public function deleteItem($path, $options = null)
- {
- try {
- $path = $this->_getFullPath($path);
- $this->_imfNs->unlink($path);
- } catch(Zend_Service_Nirvanix_Exception $e) {
-// if (trim(strtoupper($e->getMessage())) != 'INVALID PATH') {
-// // TODO Differentiate among errors in the Nirvanix adapter
- throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Copy an item in the storage service to a given path.
- * WARNING: This operation is *very* expensive for services that do not
- * support copying an item natively.
- *
- * @param string $sourcePath
- * @param string $destination path
- * @param array $options
- * @return void
- */
- public function copyItem($sourcePath, $destinationPath, $options = null)
- {
- try {
- $sourcePath = $this->_getFullPath($sourcePath);
- $destinationPath = $this->_getFullPath($destinationPath);
- $this->_imfNs->CopyFiles(array('srcFilePath' => $sourcePath,
- 'destFolderPath' => $destinationPath));
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on copy: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Move an item in the storage service to a given path.
- * WARNING: This operation is *very* expensive for services that do not
- * support moving an item natively.
- *
- * @param string $sourcePath
- * @param string $destination path
- * @param array $options
- * @return void
- */
- public function moveItem($sourcePath, $destinationPath, $options = null)
- {
- try {
- $sourcePath = $this->_getFullPath($sourcePath);
- $destinationPath = $this->_getFullPath($destinationPath);
- $this->_imfNs->RenameFile(array('filePath' => $sourcePath,
- 'newFileName' => $destinationPath));
- // $this->_imfNs->MoveFiles(array('srcFilePath' => $sourcePath,
- // 'destFolderPath' => $destinationPath));
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Rename an item in the storage service to a given name.
- *
- *
- * @param string $path
- * @param string $name
- * @param array $options
- * @return void
- */
- public function renameItem($path, $name, $options = null)
- {
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException('Renaming not implemented');
- }
-
- /**
- * Get a key/value array of metadata for the given path.
- *
- * @param string $path
- * @param array $options
- * @return array An associative array of key/value pairs specifying the metadata for this object.
- * If no metadata exists, an empty array is returned.
- */
- public function fetchMetadata($path, $options = null)
- {
- $path = $this->_getFullPath($path);
- try {
- $metadataNode = $this->_metadataNs->getMetadata(array('path' => $path));
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on fetching metadata: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- $metadata = array();
- $length = count($metadataNode->Metadata);
-
- // Need to special case this as Nirvanix returns an array if there is
- // more than one, but doesn't return an array if there is only one.
- if ($length == 1)
- {
- $metadata[(string)$metadataNode->Metadata->Type->value] = (string)$metadataNode->Metadata->Value;
- }
- else if ($length > 1)
- {
- for ($i=0; $i<$length; $i++)
- {
- $metadata[(string)$metadataNode->Metadata[$i]->Type] = (string)$metadataNode->Metadata[$i]->Value;
- }
- }
- return $metadata;
- }
-
- /**
- * Store a key/value array of metadata at the given path.
- * WARNING: This operation overwrites any metadata that is located at
- * $destinationPath.
- *
- * @param array $metadata - An associative array specifying the key/value pairs for the metadata.
- * @param $destinationPath
- * @param array $options
- * @return void
- */
- public function storeMetadata($destinationPath, $metadata, $options = null)
- {
- $destinationPath = $this->_getFullPath($destinationPath);
- if ($metadata != null) {
- try {
- foreach ($metadata AS $key=>$value) {
- $metadataString = $key . ":" . $value;
- $this->_metadataNs->SetMetadata(array(
- 'path' => $destinationPath,
- 'metadata' => $metadataString,
- ));
- }
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on storing metadata: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
- }
-
- /**
- * Delete a key/value array of metadata at the given path.
- *
- * @param string $path
- * @param array $metadata - An associative array specifying the key/value pairs for the metadata
- * to be deleted. If null, all metadata associated with the object will
- * be deleted.
- * @param array $options
- * @return void
- */
- public function deleteMetadata($path, $metadata = null, $options = null)
- {
- $path = $this->_getFullPath($path);
- try {
- if ($metadata == null) {
- $this->_metadataNs->DeleteAllMetadata(array('path' => $path));
- } else {
- foreach ($metadata AS $key=>$value) {
- $this->_metadataNs->DeleteMetadata(array(
- 'path' => $path,
- 'metadata' => $key,
- ));
- }
- }
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on deleting metadata: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /*
- * Recursively traverse all the folders and build an array that contains
- * the path names for each folder.
- *
- * @param $path - The folder path to get the list of folders from.
- * @param &$resultArray - reference to the array that contains the path names
- * for each folder.
- */
- private function getAllFolders($path, &$resultArray)
- {
- $response = $this->_imfNs->ListFolder(array(
- 'folderPath' => $path,
- 'pageNumber' => 1,
- 'pageSize' => $this->maxPageSize,
- ));
- $numFolders = $response->ListFolder->TotalFolderCount;
- if ($numFolders == 0) {
- return;
- } else {
- //Need to special case this as Nirvanix returns an array if there is
- //more than one, but doesn't return an array if there is only one.
- if ($numFolders == 1) {
- $folderPath = $response->ListFolder->Folder->Path;
- array_push($resultArray, $folderPath);
- $this->getAllFolders('/' . $folderPath, $resultArray);
- } else {
- foreach ($response->ListFolder->Folder as $arrayElem) {
- $folderPath = $arrayElem->Path;
- array_push($resultArray, $folderPath);
- $this->getAllFolders('/' . $folderPath, $resultArray);
- }
- }
- }
- }
-
- /**
- * Return an array of the items contained in the given path. The items
- * returned are the files or objects that in the specified path.
- *
- * @param string $path
- * @param array $options
- * @return array
- */
- public function listItems($path, $options = null)
- {
- $path = $this->_getFullPath($path);
- $resultArray = array();
-
- if (!isset($path)) {
- return false;
- } else {
- try {
- $response = $this->_imfNs->ListFolder(array(
- 'folderPath' => $path,
- 'pageNumber' => 1,
- 'pageSize' => $this->maxPageSize,
- ));
- } catch (Zend_Service_Nirvanix_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on list: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- $numFiles = $response->ListFolder->TotalFileCount;
-
- //Add the file names to the array
- if ($numFiles != 0) {
- //Need to special case this as Nirvanix returns an array if there is
- //more than one, but doesn't return an array if there is only one.
- if ($numFiles == 1) {
- $resultArray[] = (string)$response->ListFolder->File->Name;
- }
- else {
- foreach ($response->ListFolder->File as $arrayElem) {
- $resultArray[] = (string) $arrayElem->Name;
- }
- }
- }
- }
-
- return $resultArray;
- }
-
- /**
- * Get full path to an object
- *
- * @param string $path
- * @return string
- */
- private function _getFullPath($path)
- {
- return $this->_remoteDirectory . $path;
- }
-
- /**
- * Get the concrete client.
- * @return Zend_Service_Nirvanix
- */
- public function getClient()
- {
- return $this->_nirvanix;
- }
-}
+toArray();
+ }
+
+ if (!is_array($options)) {
+ throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
+ }
+
+ $auth = array(
+ 'username' => $options[self::USERNAME],
+ 'password' => $options[self::PASSWORD],
+ 'appKey' => $options[self::APP_KEY],
+ );
+ $nirvanix_options = array();
+ if (isset($options[self::HTTP_ADAPTER])) {
+ $httpc = new Zend_Http_Client();
+ $httpc->setAdapter($options[self::HTTP_ADAPTER]);
+ $nirvanix_options['httpClient'] = $httpc;
+ }
+ try {
+ $this->_nirvanix = new Zend_Service_Nirvanix($auth, $nirvanix_options);
+ $this->_remoteDirectory = $options[self::REMOTE_DIRECTORY];
+ $this->_imfNs = $this->_nirvanix->getService('IMFS');
+ $this->_metadataNs = $this->_nirvanix->getService('Metadata');
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on create: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Get an item from the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return mixed
+ */
+ public function fetchItem($path, $options = null)
+ {
+ $path = $this->_getFullPath($path);
+ try {
+ $item = $this->_imfNs->getContents($path);
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ return $item;
+ }
+
+ /**
+ * Store an item in the storage service.
+ * WARNING: This operation overwrites any item that is located at
+ * $destinationPath.
+ * @param string $destinationPath
+ * @param mixed $data
+ * @param array $options
+ * @return void
+ */
+ public function storeItem($destinationPath, $data, $options = null)
+ {
+ try {
+ $path = $this->_getFullPath($destinationPath);
+ $this->_imfNs->putContents($path, $data);
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on store: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ return true;
+ }
+
+ /**
+ * Delete an item in the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteItem($path, $options = null)
+ {
+ try {
+ $path = $this->_getFullPath($path);
+ $this->_imfNs->unlink($path);
+ } catch(Zend_Service_Nirvanix_Exception $e) {
+// if (trim(strtoupper($e->getMessage())) != 'INVALID PATH') {
+// // TODO Differentiate among errors in the Nirvanix adapter
+ throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Copy an item in the storage service to a given path.
+ * WARNING: This operation is *very* expensive for services that do not
+ * support copying an item natively.
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function copyItem($sourcePath, $destinationPath, $options = null)
+ {
+ try {
+ $sourcePath = $this->_getFullPath($sourcePath);
+ $destinationPath = $this->_getFullPath($destinationPath);
+ $this->_imfNs->CopyFiles(array('srcFilePath' => $sourcePath,
+ 'destFolderPath' => $destinationPath));
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on copy: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Move an item in the storage service to a given path.
+ * WARNING: This operation is *very* expensive for services that do not
+ * support moving an item natively.
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function moveItem($sourcePath, $destinationPath, $options = null)
+ {
+ try {
+ $sourcePath = $this->_getFullPath($sourcePath);
+ $destinationPath = $this->_getFullPath($destinationPath);
+ $this->_imfNs->RenameFile(array('filePath' => $sourcePath,
+ 'newFileName' => $destinationPath));
+ // $this->_imfNs->MoveFiles(array('srcFilePath' => $sourcePath,
+ // 'destFolderPath' => $destinationPath));
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Rename an item in the storage service to a given name.
+ *
+ *
+ * @param string $path
+ * @param string $name
+ * @param array $options
+ * @return void
+ */
+ public function renameItem($path, $name, $options = null)
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('Renaming not implemented');
+ }
+
+ /**
+ * Get a key/value array of metadata for the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return array An associative array of key/value pairs specifying the metadata for this object.
+ * If no metadata exists, an empty array is returned.
+ */
+ public function fetchMetadata($path, $options = null)
+ {
+ $path = $this->_getFullPath($path);
+ try {
+ $metadataNode = $this->_metadataNs->getMetadata(array('path' => $path));
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on fetching metadata: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ $metadata = array();
+ $length = count($metadataNode->Metadata);
+
+ // Need to special case this as Nirvanix returns an array if there is
+ // more than one, but doesn't return an array if there is only one.
+ if ($length == 1)
+ {
+ $metadata[(string)$metadataNode->Metadata->Type->value] = (string)$metadataNode->Metadata->Value;
+ }
+ else if ($length > 1)
+ {
+ for ($i=0; $i<$length; $i++)
+ {
+ $metadata[(string)$metadataNode->Metadata[$i]->Type] = (string)$metadataNode->Metadata[$i]->Value;
+ }
+ }
+ return $metadata;
+ }
+
+ /**
+ * Store a key/value array of metadata at the given path.
+ * WARNING: This operation overwrites any metadata that is located at
+ * $destinationPath.
+ *
+ * @param string $destinationPath
+ * @param array $metadata associative array specifying the key/value pairs for the metadata.
+ * @param array $options
+ * @return void
+ */
+ public function storeMetadata($destinationPath, $metadata, $options = null)
+ {
+ $destinationPath = $this->_getFullPath($destinationPath);
+ if ($metadata != null) {
+ try {
+ foreach ($metadata AS $key=>$value) {
+ $metadataString = $key . ":" . $value;
+ $this->_metadataNs->SetMetadata(array(
+ 'path' => $destinationPath,
+ 'metadata' => $metadataString,
+ ));
+ }
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on storing metadata: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+ }
+
+ /**
+ * Delete a key/value array of metadata at the given path.
+ *
+ * @param string $path
+ * @param array $metadata - An associative array specifying the key/value pairs for the metadata
+ * to be deleted. If null, all metadata associated with the object will
+ * be deleted.
+ * @param array $options
+ * @return void
+ */
+ public function deleteMetadata($path, $metadata = null, $options = null)
+ {
+ $path = $this->_getFullPath($path);
+ try {
+ if ($metadata == null) {
+ $this->_metadataNs->DeleteAllMetadata(array('path' => $path));
+ } else {
+ foreach ($metadata AS $key=>$value) {
+ $this->_metadataNs->DeleteMetadata(array(
+ 'path' => $path,
+ 'metadata' => $key,
+ ));
+ }
+ }
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on deleting metadata: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /*
+ * Recursively traverse all the folders and build an array that contains
+ * the path names for each folder.
+ *
+ * @param string $path folder path to get the list of folders from.
+ * @param array& $resultArray reference to the array that contains the path names
+ * for each folder.
+ */
+ private function getAllFolders($path, &$resultArray)
+ {
+ $response = $this->_imfNs->ListFolder(array(
+ 'folderPath' => $path,
+ 'pageNumber' => 1,
+ 'pageSize' => $this->maxPageSize,
+ ));
+ $numFolders = $response->ListFolder->TotalFolderCount;
+ if ($numFolders == 0) {
+ return;
+ } else {
+ //Need to special case this as Nirvanix returns an array if there is
+ //more than one, but doesn't return an array if there is only one.
+ if ($numFolders == 1) {
+ $folderPath = $response->ListFolder->Folder->Path;
+ array_push($resultArray, $folderPath);
+ $this->getAllFolders('/' . $folderPath, $resultArray);
+ } else {
+ foreach ($response->ListFolder->Folder as $arrayElem) {
+ $folderPath = $arrayElem->Path;
+ array_push($resultArray, $folderPath);
+ $this->getAllFolders('/' . $folderPath, $resultArray);
+ }
+ }
+ }
+ }
+
+ /**
+ * Return an array of the items contained in the given path. The items
+ * returned are the files or objects that in the specified path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return array
+ */
+ public function listItems($path, $options = null)
+ {
+ $path = $this->_getFullPath($path);
+ $resultArray = array();
+
+ if (!isset($path)) {
+ return false;
+ } else {
+ try {
+ $response = $this->_imfNs->ListFolder(array(
+ 'folderPath' => $path,
+ 'pageNumber' => 1,
+ 'pageSize' => $this->maxPageSize,
+ ));
+ } catch (Zend_Service_Nirvanix_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on list: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ $numFiles = $response->ListFolder->TotalFileCount;
+
+ //Add the file names to the array
+ if ($numFiles != 0) {
+ //Need to special case this as Nirvanix returns an array if there is
+ //more than one, but doesn't return an array if there is only one.
+ if ($numFiles == 1) {
+ $resultArray[] = (string)$response->ListFolder->File->Name;
+ }
+ else {
+ foreach ($response->ListFolder->File as $arrayElem) {
+ $resultArray[] = (string) $arrayElem->Name;
+ }
+ }
+ }
+ }
+
+ return $resultArray;
+ }
+
+ /**
+ * Get full path to an object
+ *
+ * @param string $path
+ * @return string
+ */
+ private function _getFullPath($path)
+ {
+ return $this->_remoteDirectory . $path;
+ }
+
+ /**
+ * Get the concrete client.
+ * @return Zend_Service_Nirvanix
+ */
+ public function getClient()
+ {
+ return $this->_nirvanix;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/StorageService/Adapter/Rackspace.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Cloud/StorageService/Adapter/Rackspace.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,332 @@
+toArray();
+ }
+
+ if (!is_array($options) || empty($options)) {
+ throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
+ }
+
+ try {
+ $this->_rackspace = new Zend_Service_Rackspace_Files($options[self::USER], $options[self::API_KEY]);
+ } catch (Zend_Service_Rackspace_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on create: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ if (isset($options[self::HTTP_ADAPTER])) {
+ $this->_rackspace->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
+ }
+ if (!empty($options[self::REMOTE_CONTAINER])) {
+ $this->_container = $options[self::REMOTE_CONTAINER];
+ }
+ }
+
+ /**
+ * Get an item from the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return mixed
+ */
+ public function fetchItem($path, $options = null)
+ {
+ $item = $this->_rackspace->getObject($this->_container,$path, $options);
+ if (!$this->_rackspace->isSuccessful() && ($this->_rackspace->getErrorCode()!='404')) {
+ throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$this->_rackspace->getErrorMsg());
+ }
+ if (!empty($item)) {
+ return $item->getContent();
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ * Store an item in the storage service.
+ *
+ * @param string $destinationPath
+ * @param mixed $data
+ * @param array $options
+ * @return void
+ */
+ public function storeItem($destinationPath, $data, $options = null)
+ {
+ $this->_rackspace->storeObject($this->_container,$destinationPath,$data,$options);
+ if (!$this->_rackspace->isSuccessful()) {
+ throw new Zend_Cloud_StorageService_Exception('Error on store: '.$this->_rackspace->getErrorMsg());
+ }
+ }
+
+ /**
+ * Delete an item in the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteItem($path, $options = null)
+ {
+ $this->_rackspace->deleteObject($this->_container,$path);
+ if (!$this->_rackspace->isSuccessful()) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$this->_rackspace->getErrorMsg());
+ }
+ }
+
+ /**
+ * Copy an item in the storage service to a given path.
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function copyItem($sourcePath, $destinationPath, $options = null)
+ {
+ $this->_rackspace->copyObject($this->_container,$sourcePath,$this->_container,$destinationPath,$options);
+ if (!$this->_rackspace->isSuccessful()) {
+ throw new Zend_Cloud_StorageService_Exception('Error on copy: '.$this->_rackspace->getErrorMsg());
+ }
+ }
+
+ /**
+ * Move an item in the storage service to a given path.
+ * WARNING: This operation is *very* expensive for services that do not
+ * support moving an item natively.
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function moveItem($sourcePath, $destinationPath, $options = null)
+ {
+ try {
+ $this->copyItem($sourcePath, $destinationPath, $options);
+ } catch (Zend_Service_Rackspace_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage());
+ }
+ try {
+ $this->deleteItem($sourcePath);
+ } catch (Zend_Service_Rackspace_Exception $e) {
+ $this->deleteItem($destinationPath);
+ throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage());
+ }
+ }
+
+ /**
+ * Rename an item in the storage service to a given name.
+ *
+ * @param string $path
+ * @param string $name
+ * @param array $options
+ * @return void
+ */
+ public function renameItem($path, $name, $options = null)
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('Renaming not implemented');
+ }
+
+ /**
+ * Get a key/value array of metadata for the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return array An associative array of key/value pairs specifying the metadata for this object.
+ * If no metadata exists, an empty array is returned.
+ */
+ public function fetchMetadata($path, $options = null)
+ {
+ $result = $this->_rackspace->getMetadataObject($this->_container,$path);
+ if (!$this->_rackspace->isSuccessful()) {
+ throw new Zend_Cloud_StorageService_Exception('Error on fetch metadata: '.$this->_rackspace->getErrorMsg());
+ }
+ $metadata = array();
+ if (isset($result['metadata'])) {
+ $metadata = $result['metadata'];
+ }
+ // delete the self::DELETE_METADATA_KEY - this is a trick to remove all
+ // the metadata information of an object (see deleteMetadata).
+ // Rackspace doesn't have an API to remove the metadata of an object
+ unset($metadata[self::DELETE_METADATA_KEY]);
+ return $metadata;
+ }
+
+ /**
+ * Store a key/value array of metadata at the given path.
+ * WARNING: This operation overwrites any metadata that is located at
+ * $destinationPath.
+ *
+ * @param string $destinationPath
+ * @param array $metadata associative array specifying the key/value pairs for the metadata.
+ * @param array $options
+ * @return void
+ */
+ public function storeMetadata($destinationPath, $metadata, $options = null)
+ {
+ $this->_rackspace->setMetadataObject($this->_container, $destinationPath, $metadata);
+ if (!$this->_rackspace->isSuccessful()) {
+ throw new Zend_Cloud_StorageService_Exception('Error on store metadata: '.$this->_rackspace->getErrorMsg());
+ }
+ }
+
+ /**
+ * Delete a key/value array of metadata at the given path.
+ *
+ * @param string $path
+ * @param array $metadata - An associative array specifying the key/value pairs for the metadata
+ * to be deleted. If null, all metadata associated with the object will
+ * be deleted.
+ * @param array $options
+ * @return void
+ */
+ public function deleteMetadata($path, $metadata = null, $options = null)
+ {
+ if (empty($metadata)) {
+ $newMetadata = array(self::DELETE_METADATA_KEY => true);
+ try {
+ $this->storeMetadata($path, $newMetadata);
+ } catch (Zend_Service_Rackspace_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete metadata: '.$e->getMessage());
+ }
+ } else {
+ try {
+ $oldMetadata = $this->fetchMetadata($path);
+ } catch (Zend_Service_Rackspace_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete metadata: '.$e->getMessage());
+ }
+ $newMetadata = array_diff_assoc($oldMetadata, $metadata);
+ try {
+ $this->storeMetadata($path, $newMetadata);
+ } catch (Zend_Service_Rackspace_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete metadata: '.$e->getMessage());
+ }
+ }
+ }
+
+ /*
+ * Recursively traverse all the folders and build an array that contains
+ * the path names for each folder.
+ *
+ * @param string $path folder path to get the list of folders from.
+ * @param array& $resultArray reference to the array that contains the path names
+ * for each folder.
+ * @return void
+ */
+ private function getAllFolders($path, &$resultArray)
+ {
+ if (!empty($path)) {
+ $options = array (
+ 'prefix' => $path
+ );
+ }
+ $files = $this->_rackspace->getObjects($this->_container,$options);
+ if (!$this->_rackspace->isSuccessful()) {
+ throw new Zend_Cloud_StorageService_Exception('Error on get all folders: '.$this->_rackspace->getErrorMsg());
+ }
+ $resultArray = array();
+ foreach ($files as $file) {
+ $resultArray[dirname($file->getName())] = true;
+ }
+ $resultArray = array_keys($resultArray);
+ }
+
+ /**
+ * Return an array of the items contained in the given path. The items
+ * returned are the files or objects that in the specified path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return array
+ */
+ public function listItems($path, $options = null)
+ {
+ if (!empty($path)) {
+ $options = array (
+ 'prefix' => $path
+ );
+ }
+
+ $files = $this->_rackspace->getObjects($this->_container,$options);
+ if (!$this->_rackspace->isSuccessful()) {
+ throw new Zend_Cloud_StorageService_Exception('Error on list items: '.$this->_rackspace->getErrorMsg());
+ }
+ $resultArray = array();
+ if (!empty($files)) {
+ foreach ($files as $file) {
+ $resultArray[] = $file->getName();
+ }
+ }
+ return $resultArray;
+ }
+
+ /**
+ * Get the concrete client.
+ *
+ * @return Zend_Service_Rackspace_File
+ */
+ public function getClient()
+ {
+ return $this->_rackspace;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/StorageService/Adapter/S3.php
--- a/web/lib/Zend/Cloud/StorageService/Adapter/S3.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/StorageService/Adapter/S3.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,327 +1,332 @@
-toArray();
- }
-
- if (!is_array($options)) {
- throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
- }
-
- if (!isset($options[self::AWS_ACCESS_KEY]) || !isset($options[self::AWS_SECRET_KEY])) {
- throw new Zend_Cloud_StorageService_Exception('AWS keys not specified!');
- }
-
- try {
- $this->_s3 = new Zend_Service_Amazon_S3($options[self::AWS_ACCESS_KEY],
- $options[self::AWS_SECRET_KEY]);
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on create: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- if (isset($options[self::HTTP_ADAPTER])) {
- $this->_s3->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
- }
-
- if (isset($options[self::BUCKET_NAME])) {
- $this->_defaultBucketName = $options[self::BUCKET_NAME];
- }
-
- if (isset($options[self::BUCKET_AS_DOMAIN])) {
- $this->_defaultBucketAsDomain = $options[self::BUCKET_AS_DOMAIN];
- }
- }
-
- /**
- * Get an item from the storage service.
- *
- * @TODO Support streams
- *
- * @param string $path
- * @param array $options
- * @return string
- */
- public function fetchItem($path, $options = array())
- {
- $fullPath = $this->_getFullPath($path, $options);
- try {
- if (!empty($options[self::FETCH_STREAM])) {
- return $this->_s3->getObjectStream($fullPath, $options[self::FETCH_STREAM]);
- } else {
- return $this->_s3->getObject($fullPath);
- }
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Store an item in the storage service.
- *
- * WARNING: This operation overwrites any item that is located at
- * $destinationPath.
- *
- * @TODO Support streams
- *
- * @param string $destinationPath
- * @param string|resource $data
- * @param array $options
- * @return void
- */
- public function storeItem($destinationPath, $data, $options = array())
- {
- try {
- $fullPath = $this->_getFullPath($destinationPath, $options);
- return $this->_s3->putObject(
- $fullPath,
- $data,
- empty($options[self::METADATA]) ? null : $options[self::METADATA]
- );
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on store: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Delete an item in the storage service.
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- public function deleteItem($path, $options = array())
- {
- try {
- $this->_s3->removeObject($this->_getFullPath($path, $options));
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Copy an item in the storage service to a given path.
- *
- * WARNING: This operation is *very* expensive for services that do not
- * support copying an item natively.
- *
- * @TODO Support streams for those services that don't support natively
- *
- * @param string $sourcePath
- * @param string $destination path
- * @param array $options
- * @return void
- */
- public function copyItem($sourcePath, $destinationPath, $options = array())
- {
- try {
- // TODO We *really* need to add support for object copying in the S3 adapter
- $item = $this->fetch($_getFullPath(sourcePath), $options);
- $this->storeItem($item, $destinationPath, $options);
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on copy: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Move an item in the storage service to a given path.
- *
- * @TODO Support streams for those services that don't support natively
- *
- * @param string $sourcePath
- * @param string $destination path
- * @param array $options
- * @return void
- */
- public function moveItem($sourcePath, $destinationPath, $options = array())
- {
- try {
- $fullSourcePath = $this->_getFullPath($sourcePath, $options);
- $fullDestPath = $this->_getFullPath($destinationPath, $options);
- return $this->_s3->moveObject(
- $fullSourcePath,
- $fullDestPath,
- empty($options[self::METADATA]) ? null : $options[self::METADATA]
- );
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Rename an item in the storage service to a given name.
- *
- *
- * @param string $path
- * @param string $name
- * @param array $options
- * @return void
- */
- public function renameItem($path, $name, $options = null)
- {
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException('Rename not implemented');
- }
-
- /**
- * List items in the given directory in the storage service
- *
- * The $path must be a directory
- *
- *
- * @param string $path Must be a directory
- * @param array $options
- * @return array A list of item names
- */
- public function listItems($path, $options = null)
- {
- try {
- // TODO Support 'prefix' parameter for Zend_Service_Amazon_S3::getObjectsByBucket()
- return $this->_s3->getObjectsByBucket($this->_defaultBucketName);
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on list: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Get a key/value array of metadata for the given path.
- *
- * @param string $path
- * @param array $options
- * @return array
- */
- public function fetchMetadata($path, $options = array())
- {
- try {
- return $this->_s3->getInfo($this->_getFullPath($path, $options));
- } catch (Zend_Service_Amazon_S3_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Store a key/value array of metadata at the given path.
- * WARNING: This operation overwrites any metadata that is located at
- * $destinationPath.
- *
- * @param string $destinationPath
- * @param array $options
- * @return void
- */
- public function storeMetadata($destinationPath, $metadata, $options = array())
- {
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException('Storing separate metadata is not supported, use storeItem() with \'metadata\' option key');
- }
-
- /**
- * Delete a key/value array of metadata at the given path.
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- public function deleteMetadata($path)
- {
- require_once 'Zend/Cloud/OperationNotAvailableException.php';
- throw new Zend_Cloud_OperationNotAvailableException('Deleting metadata not supported');
- }
-
- /**
- * Get full path, including bucket, for an object
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- protected function _getFullPath($path, $options)
- {
- if (isset($options[self::BUCKET_NAME])) {
- $bucket = $options[self::BUCKET_NAME];
- } else if (isset($this->_defaultBucketName)) {
- $bucket = $this->_defaultBucketName;
- } else {
- require_once 'Zend/Cloud/StorageService/Exception.php';
- throw new Zend_Cloud_StorageService_Exception('Bucket name must be specified for S3 adapter.');
- }
-
- if (isset($options[self::BUCKET_AS_DOMAIN])) {
- // TODO: support bucket domain names
- require_once 'Zend/Cloud/StorageService/Exception.php';
- throw new Zend_Cloud_StorageService_Exception('The S3 adapter does not currently support buckets in domain names.');
- }
-
- return trim($bucket) . '/' . trim($path);
- }
-
- /**
- * Get the concrete client.
- * @return Zend_Service_Amazon_S3
- */
- public function getClient()
- {
- return $this->_s3;
- }
-}
+toArray();
+ }
+
+ if (!is_array($options)) {
+ throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
+ }
+
+ if (!isset($options[self::AWS_ACCESS_KEY]) || !isset($options[self::AWS_SECRET_KEY])) {
+ throw new Zend_Cloud_StorageService_Exception('AWS keys not specified!');
+ }
+
+ try {
+ $this->_s3 = new Zend_Service_Amazon_S3($options[self::AWS_ACCESS_KEY],
+ $options[self::AWS_SECRET_KEY]);
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on create: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ if (isset($options[self::HTTP_ADAPTER])) {
+ $this->_s3->getHttpClient()->setAdapter($options[self::HTTP_ADAPTER]);
+ }
+
+ if (isset($options[self::BUCKET_NAME])) {
+ $this->_defaultBucketName = $options[self::BUCKET_NAME];
+ }
+
+ if (isset($options[self::BUCKET_AS_DOMAIN])) {
+ $this->_defaultBucketAsDomain = $options[self::BUCKET_AS_DOMAIN];
+ }
+ }
+
+ /**
+ * Get an item from the storage service.
+ *
+ * @TODO Support streams
+ *
+ * @param string $path
+ * @param array $options
+ * @return string
+ */
+ public function fetchItem($path, $options = array())
+ {
+ $fullPath = $this->_getFullPath($path, $options);
+ try {
+ if (!empty($options[self::FETCH_STREAM])) {
+ return $this->_s3->getObjectStream($fullPath, $options[self::FETCH_STREAM]);
+ } else {
+ return $this->_s3->getObject($fullPath);
+ }
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Store an item in the storage service.
+ *
+ * WARNING: This operation overwrites any item that is located at
+ * $destinationPath.
+ *
+ * @TODO Support streams
+ *
+ * @param string $destinationPath
+ * @param string|resource $data
+ * @param array $options
+ * @return void
+ */
+ public function storeItem($destinationPath, $data, $options = array())
+ {
+ try {
+ $fullPath = $this->_getFullPath($destinationPath, $options);
+ return $this->_s3->putObject(
+ $fullPath,
+ $data,
+ empty($options[self::METADATA]) ? null : $options[self::METADATA]
+ );
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on store: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Delete an item in the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteItem($path, $options = array())
+ {
+ try {
+ $this->_s3->removeObject($this->_getFullPath($path, $options));
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Copy an item in the storage service to a given path.
+ *
+ * WARNING: This operation is *very* expensive for services that do not
+ * support copying an item natively.
+ *
+ * @TODO Support streams for those services that don't support natively
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function copyItem($sourcePath, $destinationPath, $options = array())
+ {
+ try {
+ $fullSourcePath = $this->_getFullPath($sourcePath, $options);
+ $fullDestPath = $this->_getFullPath($destinationPath, $options);
+ return $this->_s3->copyObject(
+ $fullSourcePath,
+ $fullDestPath,
+ empty($options[self::METADATA]) ? null : $options[self::METADATA]
+ );
+
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on copy: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Move an item in the storage service to a given path.
+ *
+ * @TODO Support streams for those services that don't support natively
+ *
+ * @param string $sourcePath
+ * @param string $destination path
+ * @param array $options
+ * @return void
+ */
+ public function moveItem($sourcePath, $destinationPath, $options = array())
+ {
+ try {
+ $fullSourcePath = $this->_getFullPath($sourcePath, $options);
+ $fullDestPath = $this->_getFullPath($destinationPath, $options);
+ return $this->_s3->moveObject(
+ $fullSourcePath,
+ $fullDestPath,
+ empty($options[self::METADATA]) ? null : $options[self::METADATA]
+ );
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Rename an item in the storage service to a given name.
+ *
+ *
+ * @param string $path
+ * @param string $name
+ * @param array $options
+ * @return void
+ */
+ public function renameItem($path, $name, $options = null)
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('Rename not implemented');
+ }
+
+ /**
+ * List items in the given directory in the storage service
+ *
+ * The $path must be a directory
+ *
+ *
+ * @param string $path Must be a directory
+ * @param array $options
+ * @return array A list of item names
+ */
+ public function listItems($path, $options = null)
+ {
+ try {
+ // TODO Support 'prefix' parameter for Zend_Service_Amazon_S3::getObjectsByBucket()
+ return $this->_s3->getObjectsByBucket($this->_defaultBucketName);
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on list: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Get a key/value array of metadata for the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return array
+ */
+ public function fetchMetadata($path, $options = array())
+ {
+ try {
+ return $this->_s3->getInfo($this->_getFullPath($path, $options));
+ } catch (Zend_Service_Amazon_S3_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Store a key/value array of metadata at the given path.
+ * WARNING: This operation overwrites any metadata that is located at
+ * $destinationPath.
+ *
+ * @param string $destinationPath
+ * @param array $options
+ * @return void
+ */
+ public function storeMetadata($destinationPath, $metadata, $options = array())
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('Storing separate metadata is not supported, use storeItem() with \'metadata\' option key');
+ }
+
+ /**
+ * Delete a key/value array of metadata at the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteMetadata($path)
+ {
+ require_once 'Zend/Cloud/OperationNotAvailableException.php';
+ throw new Zend_Cloud_OperationNotAvailableException('Deleting metadata not supported');
+ }
+
+ /**
+ * Get full path, including bucket, for an object
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ protected function _getFullPath($path, $options)
+ {
+ if (isset($options[self::BUCKET_NAME])) {
+ $bucket = $options[self::BUCKET_NAME];
+ } else if (isset($this->_defaultBucketName)) {
+ $bucket = $this->_defaultBucketName;
+ } else {
+ require_once 'Zend/Cloud/StorageService/Exception.php';
+ throw new Zend_Cloud_StorageService_Exception('Bucket name must be specified for S3 adapter.');
+ }
+
+ if (isset($options[self::BUCKET_AS_DOMAIN])) {
+ // TODO: support bucket domain names
+ require_once 'Zend/Cloud/StorageService/Exception.php';
+ throw new Zend_Cloud_StorageService_Exception('The S3 adapter does not currently support buckets in domain names.');
+ }
+
+ return trim($bucket) . '/' . trim($path);
+ }
+
+ /**
+ * Get the concrete client.
+ * @return Zend_Service_Amazon_S3
+ */
+ public function getClient()
+ {
+ return $this->_s3;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/StorageService/Adapter/WindowsAzure.php
--- a/web/lib/Zend/Cloud/StorageService/Adapter/WindowsAzure.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/StorageService/Adapter/WindowsAzure.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,443 +1,443 @@
-toArray();
- }
-
- if (!is_array($options)) {
- throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
- }
-
- // Build Zend_Service_WindowsAzure_Storage_Blob instance
- if (!isset($options[self::HOST])) {
- $host = self::DEFAULT_HOST;
- } else {
- $host = $options[self::HOST];
- }
-
- if (!isset($options[self::ACCOUNT_NAME])) {
- throw new Zend_Cloud_StorageService_Exception('No Windows Azure account name provided.');
- }
- if (!isset($options[self::ACCOUNT_KEY])) {
- throw new Zend_Cloud_StorageService_Exception('No Windows Azure account key provided.');
- }
-
- $this->_storageClient = new Zend_Service_WindowsAzure_Storage_Blob($host,
- $options[self::ACCOUNT_NAME], $options[self::ACCOUNT_KEY]);
-
- // Parse other options
- if (!empty($options[self::PROXY_HOST])) {
- $proxyHost = $options[self::PROXY_HOST];
- $proxyPort = isset($options[self::PROXY_PORT]) ? $options[self::PROXY_PORT] : 8080;
- $proxyCredentials = isset($options[self::PROXY_CREDENTIALS]) ? $options[self::PROXY_CREDENTIALS] : '';
-
- $this->_storageClient->setProxy(true, $proxyHost, $proxyPort, $proxyCredentials);
- }
-
- if (isset($options[self::HTTP_ADAPTER])) {
- $this->_storageClient->setHttpClientChannel($options[self::HTTP_ADAPTER]);
- }
-
- // Set container
- $this->_container = $options[self::CONTAINER];
-
- // Make sure the container exists
- if (!$this->_storageClient->containerExists($this->_container)) {
- $this->_storageClient->createContainer($this->_container);
- }
- }
-
- /**
- * Get an item from the storage service.
- *
- * @param string $path
- * @param array $options
- * @return mixed
- */
- public function fetchItem($path, $options = null)
- {
- // Options
- $returnType = self::RETURN_STRING;
- $returnPath = tempnam('', 'azr');
- $openMode = 'r';
-
- // Parse options
- if (is_array($options)) {
- if (isset($options[self::RETURN_TYPE])) {
- $returnType = $options[self::RETURN_TYPE];
- }
-
- if (isset($options[self::RETURN_PATHNAME])) {
- $returnPath = $options[self::RETURN_PATHNAME];
- }
-
- if (isset($options[self::RETURN_OPENMODE])) {
- $openMode = $options[self::RETURN_OPENMODE];
- }
- }
-
- // Fetch the blob
- try {
- $this->_storageClient->getBlob(
- $this->_container,
- $path,
- $returnPath
- );
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- if (strpos($e->getMessage(), "does not exist") !== false) {
- return false;
- }
- throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- // Return value
- if ($returnType == self::RETURN_PATH) {
- return $returnPath;
- }
- if ($returnType == self::RETURN_STRING) {
- return file_get_contents($returnPath);
- }
- if ($returnType == self::RETURN_STREAM) {
- return fopen($returnPath, $openMode);
- }
- }
-
- /**
- * Store an item in the storage service.
- * WARNING: This operation overwrites any item that is located at
- * $destinationPath.
- * @param string $destinationPath
- * @param mixed $data
- * @param array $options
- * @return boolean
- */
- public function storeItem($destinationPath, $data, $options = null)
- {
- // Create a temporary file that will be uploaded
- $temporaryFilePath = '';
- $removeTemporaryFilePath = false;
-
- if (is_resource($data)) {
- $temporaryFilePath = tempnam('', 'azr');
- $fpDestination = fopen($temporaryFilePath, 'w');
-
- $fpSource = $data;
- rewind($fpSource);
- while (!feof($fpSource)) {
- fwrite($fpDestination, fread($fpSource, 8192));
- }
-
- fclose($fpDestination);
-
- $removeTemporaryFilePath = true;
- } elseif (file_exists($data)) {
- $temporaryFilePath = $data;
- $removeTemporaryFilePath = false;
- } else {
- $temporaryFilePath = tempnam('', 'azr');
- file_put_contents($temporaryFilePath, $data);
- $removeTemporaryFilePath = true;
- }
-
- try {
- // Upload data
- $this->_storageClient->putBlob(
- $this->_container,
- $destinationPath,
- $temporaryFilePath
- );
- } catch(Zend_Service_WindowsAzure_Exception $e) {
- @unlink($temporaryFilePath);
- throw new Zend_Cloud_StorageService_Exception('Error on store: '.$e->getMessage(), $e->getCode(), $e);
- }
- if ($removeTemporaryFilePath) {
- @unlink($temporaryFilePath);
- }
- }
-
- /**
- * Delete an item in the storage service.
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- public function deleteItem($path, $options = null)
- {
- try {
- $this->_storageClient->deleteBlob(
- $this->_container,
- $path
- );
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Copy an item in the storage service to a given path.
- *
- * @param string $sourcePath
- * @param string $destinationPath
- * @param array $options
- * @return void
- */
- public function copyItem($sourcePath, $destinationPath, $options = null)
- {
- try {
- $this->_storageClient->copyBlob(
- $this->_container,
- $sourcePath,
- $this->_container,
- $destinationPath
- );
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on copy: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Move an item in the storage service to a given path.
- *
- * @param string $sourcePath
- * @param string $destinationPath
- * @param array $options
- * @return void
- */
- public function moveItem($sourcePath, $destinationPath, $options = null)
- {
- try {
- $this->_storageClient->copyBlob(
- $this->_container,
- $sourcePath,
- $this->_container,
- $destinationPath
- );
-
- $this->_storageClient->deleteBlob(
- $this->_container,
- $sourcePath
- );
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- }
-
- /**
- * Rename an item in the storage service to a given name.
- *
- *
- * @param string $path
- * @param string $name
- * @param array $options
- * @return void
- */
- public function renameItem($path, $name, $options = null)
- {
- return $this->moveItem($path, $name, $options);
- }
-
- /**
- * List items in the given directory in the storage service
- *
- * The $path must be a directory
- *
- *
- * @param string $path Must be a directory
- * @param array $options
- * @return array A list of item names
- */
- public function listItems($path, $options = null)
- {
- // Options
- $returnType = self::RETURN_NAMES; // 1: return list of paths, 2: return raw output from underlying provider
-
- // Parse options
- if (is_array($options)&& isset($options[self::RETURN_TYPE])) {
- $returnType = $options[self::RETURN_TYPE];
- }
-
- try {
- // Fetch list
- $blobList = $this->_storageClient->listBlobs(
- $this->_container,
- $path
- );
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on list: '.$e->getMessage(), $e->getCode(), $e);
- }
-
- // Return
- if ($returnType == self::RETURN_LIST) {
- return $blobList;
- }
-
- $returnValue = array();
- foreach ($blobList as $blob) {
- $returnValue[] = $blob->Name;
- }
-
- return $returnValue;
- }
-
- /**
- * Get a key/value array of metadata for the given path.
- *
- * @param string $path
- * @param array $options
- * @return array
- */
- public function fetchMetadata($path, $options = null)
- {
- try {
- return $this->_storageClient->getBlobMetaData(
- $this->_container,
- $path
- );
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- if (strpos($e->getMessage(), "could not be accessed") !== false) {
- return false;
- }
- throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Store a key/value array of metadata at the given path.
- * WARNING: This operation overwrites any metadata that is located at
- * $destinationPath.
- *
- * @param string $destinationPath
- * @param array $options
- * @return void
- */
- public function storeMetadata($destinationPath, $metadata, $options = null)
- {
- try {
- $this->_storageClient->setBlobMetadata($this->_container, $destinationPath, $metadata);
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- if (strpos($e->getMessage(), "could not be accessed") === false) {
- throw new Zend_Cloud_StorageService_Exception('Error on store metadata: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
- }
-
- /**
- * Delete a key/value array of metadata at the given path.
- *
- * @param string $path
- * @param array $options
- * @return void
- */
- public function deleteMetadata($path, $options = null)
- {
- try {
- $this->_storageClient->setBlobMetadata($this->_container, $destinationPath, array());
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- if (strpos($e->getMessage(), "could not be accessed") === false) {
- throw new Zend_Cloud_StorageService_Exception('Error on delete metadata: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
- }
-
- /**
- * Delete container
- *
- * @return void
- */
- public function deleteContainer()
- {
- try {
- $this->_storageClient->deleteContainer($this->_container);
- } catch (Zend_Service_WindowsAzure_Exception $e) {
- throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
- }
- }
-
- /**
- * Get the concrete adapter.
- * @return Zend_Service_Azure_Storage_Blob
- */
- public function getClient()
- {
- return $this->_storageClient;
- }
-}
+toArray();
+ }
+
+ if (!is_array($options)) {
+ throw new Zend_Cloud_StorageService_Exception('Invalid options provided');
+ }
+
+ // Build Zend_Service_WindowsAzure_Storage_Blob instance
+ if (!isset($options[self::HOST])) {
+ $host = self::DEFAULT_HOST;
+ } else {
+ $host = $options[self::HOST];
+ }
+
+ if (!isset($options[self::ACCOUNT_NAME])) {
+ throw new Zend_Cloud_StorageService_Exception('No Windows Azure account name provided.');
+ }
+ if (!isset($options[self::ACCOUNT_KEY])) {
+ throw new Zend_Cloud_StorageService_Exception('No Windows Azure account key provided.');
+ }
+
+ $this->_storageClient = new Zend_Service_WindowsAzure_Storage_Blob($host,
+ $options[self::ACCOUNT_NAME], $options[self::ACCOUNT_KEY]);
+
+ // Parse other options
+ if (!empty($options[self::PROXY_HOST])) {
+ $proxyHost = $options[self::PROXY_HOST];
+ $proxyPort = isset($options[self::PROXY_PORT]) ? $options[self::PROXY_PORT] : 8080;
+ $proxyCredentials = isset($options[self::PROXY_CREDENTIALS]) ? $options[self::PROXY_CREDENTIALS] : '';
+
+ $this->_storageClient->setProxy(true, $proxyHost, $proxyPort, $proxyCredentials);
+ }
+
+ if (isset($options[self::HTTP_ADAPTER])) {
+ $this->_storageClient->setHttpClientChannel($options[self::HTTP_ADAPTER]);
+ }
+
+ // Set container
+ $this->_container = $options[self::CONTAINER];
+
+ // Make sure the container exists
+ if (!$this->_storageClient->containerExists($this->_container)) {
+ $this->_storageClient->createContainer($this->_container);
+ }
+ }
+
+ /**
+ * Get an item from the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return mixed
+ */
+ public function fetchItem($path, $options = null)
+ {
+ // Options
+ $returnType = self::RETURN_STRING;
+ $returnPath = tempnam('', 'azr');
+ $openMode = 'r';
+
+ // Parse options
+ if (is_array($options)) {
+ if (isset($options[self::RETURN_TYPE])) {
+ $returnType = $options[self::RETURN_TYPE];
+ }
+
+ if (isset($options[self::RETURN_PATHNAME])) {
+ $returnPath = $options[self::RETURN_PATHNAME];
+ }
+
+ if (isset($options[self::RETURN_OPENMODE])) {
+ $openMode = $options[self::RETURN_OPENMODE];
+ }
+ }
+
+ // Fetch the blob
+ try {
+ $this->_storageClient->getBlob(
+ $this->_container,
+ $path,
+ $returnPath
+ );
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ if (strpos($e->getMessage(), "does not exist") !== false) {
+ return false;
+ }
+ throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ // Return value
+ if ($returnType == self::RETURN_PATH) {
+ return $returnPath;
+ }
+ if ($returnType == self::RETURN_STRING) {
+ return file_get_contents($returnPath);
+ }
+ if ($returnType == self::RETURN_STREAM) {
+ return fopen($returnPath, $openMode);
+ }
+ }
+
+ /**
+ * Store an item in the storage service.
+ * WARNING: This operation overwrites any item that is located at
+ * $destinationPath.
+ * @param string $destinationPath
+ * @param mixed $data
+ * @param array $options
+ * @return boolean
+ */
+ public function storeItem($destinationPath, $data, $options = null)
+ {
+ // Create a temporary file that will be uploaded
+ $temporaryFilePath = '';
+ $removeTemporaryFilePath = false;
+
+ if (is_resource($data)) {
+ $temporaryFilePath = tempnam('', 'azr');
+ $fpDestination = fopen($temporaryFilePath, 'w');
+
+ $fpSource = $data;
+ rewind($fpSource);
+ while (!feof($fpSource)) {
+ fwrite($fpDestination, fread($fpSource, 8192));
+ }
+
+ fclose($fpDestination);
+
+ $removeTemporaryFilePath = true;
+ } elseif (file_exists($data)) {
+ $temporaryFilePath = $data;
+ $removeTemporaryFilePath = false;
+ } else {
+ $temporaryFilePath = tempnam('', 'azr');
+ file_put_contents($temporaryFilePath, $data);
+ $removeTemporaryFilePath = true;
+ }
+
+ try {
+ // Upload data
+ $this->_storageClient->putBlob(
+ $this->_container,
+ $destinationPath,
+ $temporaryFilePath
+ );
+ } catch(Zend_Service_WindowsAzure_Exception $e) {
+ @unlink($temporaryFilePath);
+ throw new Zend_Cloud_StorageService_Exception('Error on store: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ if ($removeTemporaryFilePath) {
+ @unlink($temporaryFilePath);
+ }
+ }
+
+ /**
+ * Delete an item in the storage service.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteItem($path, $options = null)
+ {
+ try {
+ $this->_storageClient->deleteBlob(
+ $this->_container,
+ $path
+ );
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Copy an item in the storage service to a given path.
+ *
+ * @param string $sourcePath
+ * @param string $destinationPath
+ * @param array $options
+ * @return void
+ */
+ public function copyItem($sourcePath, $destinationPath, $options = null)
+ {
+ try {
+ $this->_storageClient->copyBlob(
+ $this->_container,
+ $sourcePath,
+ $this->_container,
+ $destinationPath
+ );
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on copy: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Move an item in the storage service to a given path.
+ *
+ * @param string $sourcePath
+ * @param string $destinationPath
+ * @param array $options
+ * @return void
+ */
+ public function moveItem($sourcePath, $destinationPath, $options = null)
+ {
+ try {
+ $this->_storageClient->copyBlob(
+ $this->_container,
+ $sourcePath,
+ $this->_container,
+ $destinationPath
+ );
+
+ $this->_storageClient->deleteBlob(
+ $this->_container,
+ $sourcePath
+ );
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on move: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ }
+
+ /**
+ * Rename an item in the storage service to a given name.
+ *
+ *
+ * @param string $path
+ * @param string $name
+ * @param array $options
+ * @return void
+ */
+ public function renameItem($path, $name, $options = null)
+ {
+ return $this->moveItem($path, $name, $options);
+ }
+
+ /**
+ * List items in the given directory in the storage service
+ *
+ * The $path must be a directory
+ *
+ *
+ * @param string $path Must be a directory
+ * @param array $options
+ * @return array A list of item names
+ */
+ public function listItems($path, $options = null)
+ {
+ // Options
+ $returnType = self::RETURN_NAMES; // 1: return list of paths, 2: return raw output from underlying provider
+
+ // Parse options
+ if (is_array($options)&& isset($options[self::RETURN_TYPE])) {
+ $returnType = $options[self::RETURN_TYPE];
+ }
+
+ try {
+ // Fetch list
+ $blobList = $this->_storageClient->listBlobs(
+ $this->_container,
+ $path
+ );
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on list: '.$e->getMessage(), $e->getCode(), $e);
+ }
+
+ // Return
+ if ($returnType == self::RETURN_LIST) {
+ return $blobList;
+ }
+
+ $returnValue = array();
+ foreach ($blobList as $blob) {
+ $returnValue[] = $blob->Name;
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * Get a key/value array of metadata for the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return array
+ */
+ public function fetchMetadata($path, $options = null)
+ {
+ try {
+ return $this->_storageClient->getBlobMetaData(
+ $this->_container,
+ $path
+ );
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ if (strpos($e->getMessage(), "could not be accessed") !== false) {
+ return false;
+ }
+ throw new Zend_Cloud_StorageService_Exception('Error on fetch: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Store a key/value array of metadata at the given path.
+ * WARNING: This operation overwrites any metadata that is located at
+ * $destinationPath.
+ *
+ * @param string $destinationPath
+ * @param array $options
+ * @return void
+ */
+ public function storeMetadata($destinationPath, $metadata, $options = null)
+ {
+ try {
+ $this->_storageClient->setBlobMetadata($this->_container, $destinationPath, $metadata);
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ if (strpos($e->getMessage(), "could not be accessed") === false) {
+ throw new Zend_Cloud_StorageService_Exception('Error on store metadata: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+ }
+
+ /**
+ * Delete a key/value array of metadata at the given path.
+ *
+ * @param string $path
+ * @param array $options
+ * @return void
+ */
+ public function deleteMetadata($path, $options = null)
+ {
+ try {
+ $this->_storageClient->setBlobMetadata($this->_container, $destinationPath, array());
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ if (strpos($e->getMessage(), "could not be accessed") === false) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete metadata: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+ }
+
+ /**
+ * Delete container
+ *
+ * @return void
+ */
+ public function deleteContainer()
+ {
+ try {
+ $this->_storageClient->deleteContainer($this->_container);
+ } catch (Zend_Service_WindowsAzure_Exception $e) {
+ throw new Zend_Cloud_StorageService_Exception('Error on delete: '.$e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ /**
+ * Get the concrete adapter.
+ * @return Zend_Service_Azure_Storage_Blob
+ */
+ public function getClient()
+ {
+ return $this->_storageClient;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Cloud/StorageService/Exception.php
--- a/web/lib/Zend/Cloud/StorageService/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Cloud/StorageService/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,38 +1,38 @@
-setConstant($const);
+ }
+
+ return $this;
+ }
+
+ /**
* setProperty()
*
* @param array|Zend_CodeGenerator_Php_Property $property
@@ -296,6 +316,9 @@
throw new Zend_CodeGenerator_Php_Exception('setProperty() expects either an array of property options or an instance of Zend_CodeGenerator_Php_Property');
}
+ if ($property->isConst()) {
+ return $this->setConstant($property);
+ }
if (isset($this->_properties[$propertyName])) {
require_once 'Zend/CodeGenerator/Php/Exception.php';
throw new Zend_CodeGenerator_Php_Exception('A property by name ' . $propertyName . ' already exists in this class.');
@@ -306,6 +329,37 @@
}
/**
+ * setConstant()
+ *
+ * @param array|Zend_CodeGenerator_Php_Property $const
+ * @return Zend_CodeGenerator_Php_Class
+ */
+ public function setConstant($const)
+ {
+ if (is_array($const)) {
+ $const = new Zend_CodeGenerator_Php_Property($const);
+ $constName = $const->getName();
+ } elseif ($const instanceof Zend_CodeGenerator_Php_Property) {
+ $constName = $const->getName();
+ } else {
+ require_once 'Zend/CodeGenerator/Php/Exception.php';
+ throw new Zend_CodeGenerator_Php_Exception('setConstant() expects either an array of property options or an instance of Zend_CodeGenerator_Php_Property');
+ }
+
+ if (!$const->isConst()) {
+ require_once 'Zend/CodeGenerator/Php/Exception.php';
+ throw new Zend_CodeGenerator_Php_Exception('setProperty() expects argument to define a constant');
+ }
+ if (isset($this->_constants[$constName])) {
+ require_once 'Zend/CodeGenerator/Php/Exception.php';
+ throw new Zend_CodeGenerator_Php_Exception('A constant by name ' . $constName . ' already exists in this class.');
+ }
+
+ $this->_constants[$constName] = $const;
+ return $this;
+ }
+
+ /**
* getProperties()
*
* @return array
@@ -316,6 +370,16 @@
}
/**
+ * getConstants()
+ *
+ * @return array
+ */
+ public function getConstants()
+ {
+ return $this->_constants;
+ }
+
+ /**
* getProperty()
*
* @param string $propertyName
@@ -332,6 +396,22 @@
}
/**
+ * getConstant()
+ *
+ * @param string $constName
+ * @return Zend_CodeGenerator_Php_Property
+ */
+ public function getConstant($constName)
+ {
+ foreach ($this->_constants as $const) {
+ if ($const->getName() == $constName) {
+ return $const;
+ }
+ }
+ return false;
+ }
+
+ /**
* hasProperty()
*
* @param string $propertyName
@@ -343,6 +423,17 @@
}
/**
+ * hasConstant()
+ *
+ * @param string $constName
+ * @return bool
+ */
+ public function hasConstant($constName)
+ {
+ return isset($this->_constants[$constName]);
+ }
+
+ /**
* setMethods()
*
* @param array $methods
@@ -437,6 +528,12 @@
}
}
+ foreach ($this->_constants as $constant) {
+ if ($constant->isSourceDirty()) {
+ return true;
+ }
+ }
+
foreach ($this->_methods as $method) {
if ($method->isSourceDirty()) {
return true;
@@ -481,6 +578,13 @@
$output .= self::LINE_FEED . '{' . self::LINE_FEED . self::LINE_FEED;
+ $constants = $this->getConstants();
+ if (!empty($constants)) {
+ foreach ($constants as $const) {
+ $output .= $const->generate() . self::LINE_FEED . self::LINE_FEED;
+ }
+ }
+
$properties = $this->getProperties();
if (!empty($properties)) {
foreach ($properties as $property) {
@@ -507,6 +611,7 @@
protected function _init()
{
$this->_properties = new Zend_CodeGenerator_Php_Member_Container(Zend_CodeGenerator_Php_Member_Container::TYPE_PROPERTY);
+ $this->_constants = new Zend_CodeGenerator_Php_Member_Container(Zend_CodeGenerator_Php_Member_Container::TYPE_PROPERTY);
$this->_methods = new Zend_CodeGenerator_Php_Member_Container(Zend_CodeGenerator_Php_Member_Container::TYPE_METHOD);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Docblock.php
--- a/web/lib/Zend/CodeGenerator/Php/Docblock.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Docblock.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Docblock.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Docblock.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Docblock extends Zend_CodeGenerator_Php_Abstract
@@ -211,7 +211,11 @@
$content = wordwrap($content, 80, self::LINE_FEED);
$lines = explode(self::LINE_FEED, $content);
foreach ($lines as $line) {
- $output .= $indent . ' * ' . $line . self::LINE_FEED;
+ $output .= $indent . ' *';
+ if ($line) {
+ $output .= " $line";
+ }
+ $output .= self::LINE_FEED;
}
$output .= $indent . ' */' . self::LINE_FEED;
return $output;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Docblock/Tag.php
--- a/web/lib/Zend/CodeGenerator/Php/Docblock/Tag.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Docblock/Tag.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,30 +15,20 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Tag.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Tag.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
- * @see Zend_CodeGenerator_Abstract
+ * @see Zend_CodeGenerator_Php_Abstract
*/
require_once 'Zend/CodeGenerator/Php/Abstract.php';
/**
- * @see Zend_CodeGenerator_Php_Docblock_Tag_Param
- */
-require_once 'Zend/CodeGenerator/Php/Docblock/Tag/Param.php';
-
-/**
- * @see Zend_CodeGenerator_Php_Docblock_Tag_Return
- */
-require_once 'Zend/CodeGenerator/Php/Docblock/Tag/Return.php';
-
-/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Docblock_Tag extends Zend_CodeGenerator_Php_Abstract
@@ -178,7 +168,11 @@
*/
public function generate()
{
- return '@' . $this->_name . ' ' . $this->_description;
+ $tag = '@' . $this->_name;
+ if ($this->_description) {
+ $tag .= ' ' . $this->_description;
+ }
+ return $tag;
}
-}
\ No newline at end of file
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Docblock/Tag/License.php
--- a/web/lib/Zend/CodeGenerator/Php/Docblock/Tag/License.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Docblock/Tag/License.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: License.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: License.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Docblock_Tag_License extends Zend_CodeGenerator_Php_Docblock_Tag
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Docblock/Tag/Param.php
--- a/web/lib/Zend/CodeGenerator/Php/Docblock/Tag/Param.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Docblock/Tag/Param.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Param.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Param.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Docblock_Tag_Param extends Zend_CodeGenerator_Php_Docblock_Tag
@@ -53,7 +53,7 @@
* fromReflection()
*
* @param Zend_Reflection_Docblock_Tag $reflectionTagParam
- * @return Zend_CodeGenerator_Php_Docblock_Tag_Param
+ * @return Zend_CodeGenerator_Php_Docblock_Tag
*/
public static function fromReflection(Zend_Reflection_Docblock_Tag $reflectionTagParam)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Docblock/Tag/Return.php
--- a/web/lib/Zend/CodeGenerator/Php/Docblock/Tag/Return.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Docblock/Tag/Return.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Return.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Return.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Docblock_Tag_Return extends Zend_CodeGenerator_Php_Docblock_Tag
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Exception.php
--- a/web/lib/Zend/CodeGenerator/Php/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Exception extends Zend_CodeGenerator_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/File.php
--- a/web/lib/Zend/CodeGenerator/Php/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
@@ -97,7 +97,7 @@
}
/**
- * fromReflectedFilePath() - use this if you intend on generating code generation objects based on the same file.
+ * fromReflectedFileName() - use this if you intend on generating code generation objects based on the same file.
* This will keep previous changes to the file in tact during the same PHP process
*
* @param string $filePath
@@ -110,7 +110,7 @@
$realpath = realpath($filePath);
if ($realpath === false) {
- if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) {
+ if ( ($realpath = Zend_Reflection_File::findRealpathInIncludePath($filePath)) === false) {
require_once 'Zend/CodeGenerator/Php/Exception.php';
throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
}
@@ -394,7 +394,7 @@
// if there are markers, put the body into the output
$body = $this->getBody();
- if (preg_match('#/\* Zend_CodeGenerator_Php_File-(.*?)Marker:#', $body)) {
+ if (preg_match('#/\* Zend_CodeGenerator_Php_File-(.*?)Marker#', $body)) {
$output .= $body;
$body = '';
}
@@ -428,6 +428,9 @@
$classes = $this->getClasses();
if (!empty($classes)) {
foreach ($classes as $class) {
+ if($this->getDocblock() == $class->getDocblock()) {
+ $class->setDocblock(null);
+ }
$regex = str_replace('?', $class->getName(), self::$_markerClass);
$regex = preg_quote($regex, '#');
if (preg_match('#'.$regex.'#', $output)) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Member/Abstract.php
--- a/web/lib/Zend/CodeGenerator/Php/Member/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Member/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_CodeGenerator_Php_Member_Abstract extends Zend_CodeGenerator_Php_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Member/Container.php
--- a/web/lib/Zend/CodeGenerator/Php/Member/Container.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Member/Container.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,15 +15,15 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Container.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Container.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Member_Container extends ArrayObject
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Method.php
--- a/web/lib/Zend/CodeGenerator/Php/Method.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Method.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Method.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Method.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Method extends Zend_CodeGenerator_Php_Member_Abstract
@@ -220,10 +220,12 @@
$output .= ')' . self::LINE_FEED . $indent . '{' . self::LINE_FEED;
- if ($this->_body) {
+ if ($this->_body && $this->isSourceDirty()) {
$output .= ' '
. str_replace(self::LINE_FEED, self::LINE_FEED . $indent . $indent, trim($this->_body))
. self::LINE_FEED;
+ } elseif ($this->_body) {
+ $output .= $this->_body . self::LINE_FEED;
}
$output .= $indent . '}' . self::LINE_FEED;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Parameter.php
--- a/web/lib/Zend/CodeGenerator/Php/Parameter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Parameter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Parameter.php 21889 2010-04-16 18:40:50Z juokaz $
+ * @version $Id: Parameter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Parameter extends Zend_CodeGenerator_Php_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Parameter/DefaultValue.php
--- a/web/lib/Zend/CodeGenerator/Php/Parameter/DefaultValue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Parameter/DefaultValue.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage Php
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DefaultValue.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DefaultValue.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage Php
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Parameter_DefaultValue
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Property.php
--- a/web/lib/Zend/CodeGenerator/Php/Property.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Property.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Property.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Property.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Property extends Zend_CodeGenerator_Php_Member_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/CodeGenerator/Php/Property/DefaultValue.php
--- a/web/lib/Zend/CodeGenerator/Php/Property/DefaultValue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/CodeGenerator/Php/Property/DefaultValue.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_CodeGenerator
* @subpackage PHP
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DefaultValue.php 21979 2010-04-24 11:07:11Z jan $
+ * @version $Id: DefaultValue.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_CodeGenerator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_CodeGenerator_Php_Property_DefaultValue extends Zend_CodeGenerator_Php_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config.php
--- a/web/lib/Zend/Config.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,16 +14,16 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Config.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Config.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config implements Countable, Iterator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Exception.php
--- a/web/lib/Zend/Config/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config_Exception extends Zend_Exception {}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Ini.php
--- a/web/lib/Zend/Config/Ini.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Ini.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ini.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Ini.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config_Ini extends Zend_Config
@@ -83,16 +83,17 @@
*
* The $options parameter may be provided as either a boolean or an array.
* If provided as a boolean, this sets the $allowModifications option of
- * Zend_Config. If provided as an array, there are two configuration
+ * Zend_Config. If provided as an array, there are three configuration
* directives that may be set. For example:
*
* $options = array(
* 'allowModifications' => false,
- * 'nestSeparator' => '->'
+ * 'nestSeparator' => ':',
+ * 'skipExtends' => false,
* );
*
* @param string $filename
- * @param string|null $section
+ * @param mixed $section
* @param boolean|array $options
* @throws Zend_Config_Exception
* @return void
@@ -157,11 +158,11 @@
$this->_loadedSection = $section;
}
-
+
/**
* Load the INI file from disk using parse_ini_file(). Use a private error
* handler to convert any loading errors into a Zend_Config_Exception
- *
+ *
* @param string $filename
* @throws Zend_Config_Exception
* @return array
@@ -171,7 +172,7 @@
set_error_handler(array($this, '_loadFileErrorHandler'));
$iniArray = parse_ini_file($filename, true); // Warnings and errors are suppressed
restore_error_handler();
-
+
// Check if there was a error while loading file
if ($this->_loadFileErrorStr !== null) {
/**
@@ -180,7 +181,7 @@
require_once 'Zend/Config/Exception.php';
throw new Zend_Config_Exception($this->_loadFileErrorStr);
}
-
+
return $iniArray;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Json.php
--- a/web/lib/Zend/Config/Json.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Json.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @package Zend_Config
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Json.php 23294 2010-11-05 00:27:34Z ramon $
+ * @version $Id: Json.php 24810 2012-05-17 21:20:12Z rob $
*/
/**
@@ -220,7 +220,9 @@
{
foreach ($this->_getConstants() as $constant) {
if (strstr($value, $constant)) {
- $value = str_replace($constant, constant($constant), $value);
+ // handle backslashes that may represent windows path names for instance
+ $replacement = str_replace('\\', '\\\\', constant($constant));
+ $value = str_replace($constant, $replacement, $value);
}
}
return $value;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Writer.php
--- a/web/lib/Zend/Config/Writer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Writer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Writer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Writer.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Config_Writer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Writer/Array.php
--- a/web/lib/Zend/Config/Writer/Array.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Writer/Array.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Array.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Array.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config_Writer_Array extends Zend_Config_Writer_FileAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Writer/FileAbstract.php
--- a/web/lib/Zend/Config/Writer/FileAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Writer/FileAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Config
* @package Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,9 +26,9 @@
*
* @category Zend
* @package Zend_package
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FileAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FileAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Config_Writer_FileAbstract extends Zend_Config_Writer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Writer/Ini.php
--- a/web/lib/Zend/Config/Writer/Ini.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Writer/Ini.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ini.php 21983 2010-04-25 08:09:09Z jan $
+ * @version $Id: Ini.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config_Writer_Ini extends Zend_Config_Writer_FileAbstract
@@ -161,11 +161,11 @@
throw new Zend_Config_Exception('Value can not contain double quotes "');
}
}
-
+
/**
* Root elements that are not assigned to any section needs to be
* on the top of config.
- *
+ *
* @see http://framework.zend.com/issues/browse/ZF-6289
* @param Zend_Config
* @return Zend_Config
@@ -174,7 +174,7 @@
{
$configArray = $config->toArray();
$sections = array();
-
+
// remove sections from config array
foreach ($configArray as $key => $value) {
if (is_array($value)) {
@@ -182,12 +182,12 @@
unset($configArray[$key]);
}
}
-
+
// readd sections to the end
foreach ($sections as $key => $value) {
$configArray[$key] = $value;
}
-
+
return new Zend_Config($configArray);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Writer/Json.php
--- a/web/lib/Zend/Config/Writer/Json.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Writer/Json.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @package Zend_Config
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Json.php 23294 2010-11-05 00:27:34Z ramon $
+ * @version $Id: Json.php 23293 2010-11-04 23:40:23Z ramon $
*/
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Writer/Xml.php
--- a/web/lib/Zend/Config/Writer/Xml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Writer/Xml.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Xml.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Xml.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config_Writer_Xml extends Zend_Config_Writer_FileAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Writer/Yaml.php
--- a/web/lib/Zend/Config/Writer/Yaml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Writer/Yaml.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @package Zend_Config
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Yaml.php 23294 2010-11-05 00:27:34Z ramon $
+ * @version $Id: Yaml.php 23650 2011-01-21 21:32:57Z mikaelkael $
*/
/**
@@ -57,7 +57,7 @@
/**
* Set callback for decoding YAML
*
- * @param $yamlEncoder the decoder to set
+ * @param callable $yamlEncoder the decoder to set
* @return Zend_Config_Yaml
*/
public function setYamlEncoder($yamlEncoder)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Xml.php
--- a/web/lib/Zend/Config/Xml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Xml.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Xml.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Xml.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config_Xml extends Zend_Config
@@ -58,10 +58,20 @@
*
* Note that the keys in $section will override any keys of the same
* name in the sections that have been included via "extends".
+ *
+ * The $options parameter may be provided as either a boolean or an array.
+ * If provided as a boolean, this sets the $allowModifications option of
+ * Zend_Config. If provided as an array, there are two configuration
+ * directives that may be set. For example:
*
- * @param string $xml XML file or string to process
- * @param mixed $section Section to process
- * @param boolean $options Whether modifications are allowed at runtime
+ * $options = array(
+ * 'allowModifications' => false,
+ * 'skipExtends' => false
+ * );
+ *
+ * @param string $xml XML file or string to process
+ * @param mixed $section Section to process
+ * @param array|boolean $options
* @throws Zend_Config_Exception When xml is not set or cannot be loaded
* @throws Zend_Config_Exception When section $sectionName cannot be found in $xml
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Config/Yaml.php
--- a/web/lib/Zend/Config/Yaml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Config/Yaml.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Yaml.php 23294 2010-11-05 00:27:34Z ramon $
+ * @version $Id: Yaml.php 25169 2012-12-22 12:23:11Z rob $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Config
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Config_Yaml extends Zend_Config
@@ -93,7 +93,7 @@
/**
* Set callback for decoding YAML
*
- * @param $yamlDecoder the decoder to set
+ * @param callable $yamlDecoder the decoder to set
* @return Zend_Config_Yaml
*/
public function setYamlDecoder($yamlDecoder)
@@ -124,9 +124,9 @@
* - skip_extends: whether or not to skip processing of parent configuration
* - yaml_decoder: a callback to use to decode the Yaml source
*
- * @param string $yaml YAML file to process
- * @param mixed $section Section to process
- * @param boolean $options Whether modifiacations are allowed at runtime
+ * @param string $yaml YAML file to process
+ * @param mixed $section Section to process
+ * @param array|boolean $options
*/
public function __construct($yaml, $section = null, $options = false)
{
@@ -201,7 +201,10 @@
foreach ($section as $sectionName) {
if (!isset($config[$sectionName])) {
require_once 'Zend/Config/Exception.php';
- throw new Zend_Config_Exception(sprintf('Section "%s" cannot be found', $section));
+ throw new Zend_Config_Exception(sprintf(
+ 'Section "%s" cannot be found',
+ implode(' ', (array)$section)
+ ));
}
$dataArray = array_merge($this->_processExtends($config, $sectionName), $dataArray);
@@ -210,7 +213,10 @@
} else {
if (!isset($config[$section])) {
require_once 'Zend/Config/Exception.php';
- throw new Zend_Config_Exception(sprintf('Section "%s" cannot be found', $section));
+ throw new Zend_Config_Exception(sprintf(
+ 'Section "%s" cannot be found',
+ implode(' ', (array)$section)
+ ));
}
$dataArray = $this->_processExtends($config, $section);
@@ -284,14 +290,13 @@
$config = array();
$inIndent = false;
while (list($n, $line) = each($lines)) {
- $lineno = $n+1;
+ $lineno = $n + 1;
+
+ $line = rtrim(preg_replace("/#.*$/", "", $line));
if (strlen($line) == 0) {
continue;
}
- if ($line[0] == '#') {
- // comment
- continue;
- }
+
$indent = strspn($line, " ");
// line without the spaces
@@ -311,20 +316,12 @@
$inIndent = true;
}
- if (preg_match("/(\w+):\s*(.*)/", $line, $m)) {
+ if (preg_match("/(?!-)([\w\-]+):\s*(.*)/", $line, $m)) {
// key: value
- if ($m[2]) {
+ if (strlen($m[2])) {
// simple key: value
- $value = $m[2];
- // Check for booleans and constants
- if (preg_match('/^(t(rue)?|on|y(es)?)$/i', $value)) {
- $value = true;
- } elseif (preg_match('/^(f(alse)?|off|n(o)?)$/i', $value)) {
- $value = false;
- } elseif (!self::$_ignoreConstants) {
- // test for constants
- $value = self::_replaceConstants($value);
- }
+ $value = preg_replace("/#.*$/", "", $m[2]);
+ $value = self::_parseValue($value);
} else {
// key: and then values on new lines
$value = self::_decodeYaml($currentIndent + 1, $lines);
@@ -337,7 +334,9 @@
// item in the list:
// - FOO
if (strlen($line) > 2) {
- $config[] = substr($line, 2);
+ $value = substr($line, 2);
+
+ $config[] = self::_parseValue($value);
} else {
$config[] = self::_decodeYaml($currentIndent + 1, $lines);
}
@@ -353,6 +352,40 @@
}
/**
+ * Parse values
+ *
+ * @param string $value
+ * @return string
+ */
+ protected static function _parseValue($value)
+ {
+ $value = trim($value);
+
+ // remove quotes from string.
+ if ('"' == $value['0']) {
+ if ('"' == $value[count($value) -1]) {
+ $value = substr($value, 1, -1);
+ }
+ } elseif ('\'' == $value['0'] && '\'' == $value[count($value) -1]) {
+ $value = strtr($value, array("''" => "'", "'" => ''));
+ }
+
+ // Check for booleans and constants
+ if (preg_match('/^(t(rue)?|on|y(es)?)$/i', $value)) {
+ $value = true;
+ } elseif (preg_match('/^(f(alse)?|off|n(o)?)$/i', $value)) {
+ $value = false;
+ } elseif (strcasecmp($value, 'null') === 0) {
+ $value = null;
+ } elseif (!self::$_ignoreConstants) {
+ // test for constants
+ $value = self::_replaceConstants($value);
+ }
+
+ return $value;
+ }
+
+ /**
* Replace any constants referenced in a string with their values
*
* @param string $value
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Console/Getopt.php
--- a/web/lib/Zend/Console/Getopt.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Console/Getopt.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Console_Getopt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Getopt.php 22191 2010-05-17 21:50:14Z jan $
+ * @version $Id: Getopt.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -80,7 +80,7 @@
*
* @category Zend
* @package Zend_Console_Getopt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version Release: @package_version@
* @since Class available since Release 0.6.0
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Console/Getopt/Exception.php
--- a/web/lib/Zend/Console/Getopt/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Console/Getopt/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Console_Getopt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Console_Getopt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Console_Getopt_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action.php
--- a/web/lib/Zend/Controller/Action.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Action.php 22792 2010-08-05 18:30:27Z matthew $
+ * @version $Id: Action.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Action implements Zend_Controller_Action_Interface
@@ -505,14 +505,18 @@
$this->_classMethods = get_class_methods($this);
}
- // preDispatch() didn't change the action, so we can continue
- if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
- if ($this->getInvokeArg('useCaseSensitiveActions')) {
- trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
+ // If pre-dispatch hooks introduced a redirect then stop dispatch
+ // @see ZF-7496
+ if (!($this->getResponse()->isRedirect())) {
+ // preDispatch() didn't change the action, so we can continue
+ if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
+ if ($this->getInvokeArg('useCaseSensitiveActions')) {
+ trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
+ }
+ $this->$action();
+ } else {
+ $this->__call($action, array());
}
- $this->$action();
- } else {
- $this->__call($action, array());
}
$this->postDispatch();
}
@@ -579,8 +583,24 @@
*/
protected function _getParam($paramName, $default = null)
{
+ return $this->getParam($paramName, $default);
+ }
+
+ /**
+ * Gets a parameter from the {@link $_request Request object}. If the
+ * parameter does not exist, NULL will be returned.
+ *
+ * If the parameter does not exist and $default is set, then
+ * $default will be returned instead of NULL.
+ *
+ * @param string $paramName
+ * @param mixed $default
+ * @return mixed
+ */
+ public function getParam($paramName, $default = null)
+ {
$value = $this->getRequest()->getParam($paramName);
- if ((null === $value || '' === $value) && (null !== $default)) {
+ if ((null === $value || '' === $value) && (null !== $default)) {
$value = $default;
}
@@ -593,9 +613,23 @@
* @param string $paramName
* @param mixed $value
* @return Zend_Controller_Action
+ * @deprecated Deprecated as of Zend Framework 1.7. Use
+ * setParam() instead.
*/
protected function _setParam($paramName, $value)
{
+ return $this->setParam($paramName, $value);
+ }
+
+ /**
+ * Set a parameter in the {@link $_request Request object}.
+ *
+ * @param string $paramName
+ * @param mixed $value
+ * @return Zend_Controller_Action
+ */
+ public function setParam($paramName, $value)
+ {
$this->getRequest()->setParam($paramName, $value);
return $this;
@@ -607,9 +641,23 @@
*
* @param string $paramName
* @return boolean
+ * @deprecated Deprecated as of Zend Framework 1.7. Use
+ * hasParam() instead.
*/
protected function _hasParam($paramName)
{
+ return $this->hasParam($paramName);
+ }
+
+ /**
+ * Determine whether a given parameter exists in the
+ * {@link $_request Request object}.
+ *
+ * @param string $paramName
+ * @return boolean
+ */
+ public function hasParam($paramName)
+ {
return null !== $this->getRequest()->getParam($paramName);
}
@@ -618,9 +666,22 @@
* as an associative array.
*
* @return array
+ * @deprecated Deprecated as of Zend Framework 1.7. Use
+ * getAllParams() instead.
*/
protected function _getAllParams()
{
+ return $this->getAllParams();
+ }
+
+ /**
+ * Return all parameters in the {@link $_request Request object}
+ * as an associative array.
+ *
+ * @return array
+ */
+ public function getAllParams()
+ {
return $this->getRequest()->getParams();
}
@@ -650,9 +711,42 @@
* @param string $module
* @param array $params
* @return void
+ * @deprecated Deprecated as of Zend Framework 1.7. Use
+ * forward() instead.
*/
final protected function _forward($action, $controller = null, $module = null, array $params = null)
{
+ $this->forward($action, $controller, $module, $params);
+ }
+
+ /**
+ * Forward to another controller/action.
+ *
+ * It is important to supply the unformatted names, i.e. "article"
+ * rather than "ArticleController". The dispatcher will do the
+ * appropriate formatting when the request is received.
+ *
+ * If only an action name is provided, forwards to that action in this
+ * controller.
+ *
+ * If an action and controller are specified, forwards to that action and
+ * controller in this module.
+ *
+ * Specifying an action, controller, and module is the most specific way to
+ * forward.
+ *
+ * A fourth argument, $params, will be used to set the request parameters.
+ * If either the controller or module are unnecessary for forwarding,
+ * simply pass null values for them before specifying the parameters.
+ *
+ * @param string $action
+ * @param string $controller
+ * @param string $module
+ * @param array $params
+ * @return void
+ */
+ final public function forward($action, $controller = null, $module = null, array $params = null)
+ {
$request = $this->getRequest();
if (null !== $params) {
@@ -680,9 +774,25 @@
* @param string $url
* @param array $options Options to be used when redirecting
* @return void
+ * @deprecated Deprecated as of Zend Framework 1.7. Use
+ * redirect() instead.
*/
protected function _redirect($url, array $options = array())
{
+ $this->redirect($url, $options);
+ }
+
+ /**
+ * Redirect to another URL
+ *
+ * Proxies to {@link Zend_Controller_Action_Helper_Redirector::gotoUrl()}.
+ *
+ * @param string $url
+ * @param array $options Options to be used when redirecting
+ * @return void
+ */
+ public function redirect($url, array $options = array())
+ {
$this->_helper->redirector->gotoUrl($url, $options);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Exception.php
--- a/web/lib/Zend/Controller/Action/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Exception extends Zend_Controller_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/Abstract.php
--- a/web/lib/Zend/Controller/Action/Helper/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20261 2010-01-13 18:55:25Z matthew $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Action_Helper_Abstract
@@ -142,13 +142,15 @@
*/
public function getName()
{
- $full_class_name = get_class($this);
-
- if (strpos($full_class_name, '_') !== false) {
- $helper_name = strrchr($full_class_name, '_');
- return ltrim($helper_name, '_');
+ $fullClassName = get_class($this);
+ if (strpos($fullClassName, '_') !== false) {
+ $helperName = strrchr($fullClassName, '_');
+ return ltrim($helperName, '_');
+ } elseif (strpos($fullClassName, '\\') !== false) {
+ $helperName = strrchr($fullClassName, '\\');
+ return ltrim($helperName, '\\');
} else {
- return $full_class_name;
+ return $fullClassName;
}
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/ActionStack.php
--- a/web/lib/Zend/Controller/Action/Helper/ActionStack.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/ActionStack.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActionStack.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActionStack.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_ActionStack extends Zend_Controller_Action_Helper_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/AjaxContext.php
--- a/web/lib/Zend/Controller/Action/Helper/AjaxContext.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/AjaxContext.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AjaxContext.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AjaxContext.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_AjaxContext extends Zend_Controller_Action_Helper_ContextSwitch
@@ -68,7 +68,10 @@
{
$this->_currentContext = null;
- if (!$this->getRequest()->isXmlHttpRequest()) {
+ $request = $this->getRequest();
+ if (!method_exists($request, 'isXmlHttpRequest') ||
+ !$this->getRequest()->isXmlHttpRequest())
+ {
return;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/AutoComplete/Abstract.php
--- a/web/lib/Zend/Controller/Action/Helper/AutoComplete/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/AutoComplete/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Action_Helper_AutoComplete_Abstract extends Zend_Controller_Action_Helper_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/AutoCompleteDojo.php
--- a/web/lib/Zend/Controller/Action/Helper/AutoCompleteDojo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/AutoCompleteDojo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AutoCompleteDojo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AutoCompleteDojo.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_AutoCompleteDojo extends Zend_Controller_Action_Helper_AutoComplete_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/AutoCompleteScriptaculous.php
--- a/web/lib/Zend/Controller/Action/Helper/AutoCompleteScriptaculous.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/AutoCompleteScriptaculous.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AutoCompleteScriptaculous.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AutoCompleteScriptaculous.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_AutoCompleteScriptaculous extends Zend_Controller_Action_Helper_AutoComplete_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/Cache.php
--- a/web/lib/Zend/Controller/Action/Helper/Cache.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/Cache.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cache.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Cache.php 24853 2012-05-31 23:19:27Z adamlundrigan $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_Cache
@@ -64,7 +64,7 @@
* @var array
*/
protected $_tags = array();
-
+
/**
* Indexed map of Extensions by Controller and Action
*
@@ -130,16 +130,26 @@
public function removePage($relativeUrl, $recursive = false)
{
$cache = $this->getCache(Zend_Cache_Manager::PAGECACHE);
+ $encodedCacheId = $this->_encodeCacheId($relativeUrl);
+
if ($recursive) {
$backend = $cache->getBackend();
if (($backend instanceof Zend_Cache_Backend)
&& method_exists($backend, 'removeRecursively')
) {
- return $backend->removeRecursively($relativeUrl);
+ $result = $backend->removeRecursively($encodedCacheId);
+ if (is_null($result) ) {
+ $result = $backend->removeRecursively($relativeUrl);
+ }
+ return $result;
}
}
- return $cache->remove($relativeUrl);
+ $result = $cache->remove($encodedCacheId);
+ if (is_null($result) ) {
+ $result = $cache->remove($relativeUrl);
+ }
+ return $result;
}
/**
@@ -189,7 +199,7 @@
->start($this->_encodeCacheId($reqUri), $tags, $extension);
}
}
-
+
/**
* Encode a Cache ID as hexadecimal. This is a workaround because Backend ID validation
* is trapped in the Frontend classes. Will try to get this reversed for ZF 2.0
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/ContextSwitch.php
--- a/web/lib/Zend/Controller/Action/Helper/ContextSwitch.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/ContextSwitch.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ContextSwitch.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ContextSwitch.php 24864 2012-06-02 00:51:50Z adamlundrigan $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_ContextSwitch extends Zend_Controller_Action_Helper_Abstract
@@ -1304,7 +1304,6 @@
if (null === $controller) {
return array();
}
- $action = (string) $action;
$contextKey = $this->_contextKey;
if (!isset($controller->$contextKey)) {
@@ -1312,6 +1311,7 @@
}
if (null !== $action) {
+ $action = (string) $action;
if (isset($controller->{$contextKey}[$action])) {
return $controller->{$contextKey}[$action];
} else {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/FlashMessenger.php
--- a/web/lib/Zend/Controller/Action/Helper/FlashMessenger.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/FlashMessenger.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -36,9 +36,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FlashMessenger.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FlashMessenger.php 24813 2012-05-22 16:49:24Z adamlundrigan $
*/
class Zend_Controller_Action_Helper_FlashMessenger extends Zend_Controller_Action_Helper_Abstract implements IteratorAggregate, Countable
{
@@ -112,6 +112,16 @@
$this->_namespace = $namespace;
return $this;
}
+
+ /**
+ * getNamespace() - return the current namepsace
+ *
+ * @return string
+ */
+ public function getNamespace()
+ {
+ return $this->_namespace;
+ }
/**
* resetNamespace() - reset the namespace to the default
@@ -130,17 +140,22 @@
* @param string $message
* @return Zend_Controller_Action_Helper_FlashMessenger Provides a fluent interface
*/
- public function addMessage($message)
+ public function addMessage($message, $namespace = null)
{
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
if (self::$_messageAdded === false) {
self::$_session->setExpirationHops(1, null, true);
}
if (!is_array(self::$_session->{$this->_namespace})) {
- self::$_session->{$this->_namespace} = array();
+ self::$_session->{$namespace} = array();
}
- self::$_session->{$this->_namespace}[] = $message;
+ self::$_session->{$namespace}[] = $message;
+ self::$_messageAdded = true;
return $this;
}
@@ -150,9 +165,13 @@
*
* @return boolean
*/
- public function hasMessages()
+ public function hasMessages($namespace = null)
{
- return isset(self::$_messages[$this->_namespace]);
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
+ return isset(self::$_messages[$namespace]);
}
/**
@@ -160,10 +179,14 @@
*
* @return array
*/
- public function getMessages()
+ public function getMessages($namespace = null)
{
- if ($this->hasMessages()) {
- return self::$_messages[$this->_namespace];
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
+ if ($this->hasMessages($namespace)) {
+ return self::$_messages[$namespace];
}
return array();
@@ -174,10 +197,14 @@
*
* @return boolean True if messages were cleared, false if none existed
*/
- public function clearMessages()
+ public function clearMessages($namespace = null)
{
- if ($this->hasMessages()) {
- unset(self::$_messages[$this->_namespace]);
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
+ if ($this->hasMessages($namespace)) {
+ unset(self::$_messages[$namespace]);
return true;
}
@@ -190,9 +217,13 @@
*
* @return boolean
*/
- public function hasCurrentMessages()
+ public function hasCurrentMessages($namespace = null)
{
- return isset(self::$_session->{$this->_namespace});
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
+ return isset(self::$_session->{$namespace});
}
/**
@@ -201,10 +232,14 @@
*
* @return array
*/
- public function getCurrentMessages()
+ public function getCurrentMessages($namespace = null)
{
- if ($this->hasCurrentMessages()) {
- return self::$_session->{$this->_namespace};
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
+ if ($this->hasCurrentMessages($namespace)) {
+ return self::$_session->{$namespace};
}
return array();
@@ -215,10 +250,14 @@
*
* @return boolean
*/
- public function clearCurrentMessages()
+ public function clearCurrentMessages($namespace = null)
{
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
if ($this->hasCurrentMessages()) {
- unset(self::$_session->{$this->_namespace});
+ unset(self::$_session->{$namespace});
return true;
}
@@ -230,10 +269,14 @@
*
* @return ArrayObject
*/
- public function getIterator()
+ public function getIterator($namespace = null)
{
- if ($this->hasMessages()) {
- return new ArrayObject($this->getMessages());
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
+ if ($this->hasMessages($namespace)) {
+ return new ArrayObject($this->getMessages($namespace));
}
return new ArrayObject();
@@ -244,10 +287,14 @@
*
* @return int
*/
- public function count()
+ public function count($namespace = null)
{
- if ($this->hasMessages()) {
- return count($this->getMessages());
+ if (!is_string($namespace) || $namespace == '') {
+ $namespace = $this->getNamespace();
+ }
+
+ if ($this->hasMessages($namespace)) {
+ return count($this->getMessages($namespace));
}
return 0;
@@ -259,8 +306,8 @@
* @param string $message
* @return void
*/
- public function direct($message)
+ public function direct($message, $namespace=NULL)
{
- return $this->addMessage($message);
+ return $this->addMessage($message, $namespace);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/Json.php
--- a/web/lib/Zend/Controller/Action/Helper/Json.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/Json.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Json.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Json.php 24829 2012-05-30 12:31:39Z adamlundrigan $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_Json extends Zend_Controller_Action_Helper_Abstract
@@ -53,23 +53,24 @@
* @param mixed $data
* @param boolean $keepLayouts
* @param boolean|array $keepLayouts
+ * @param boolean $encodeData Provided data is already JSON
* NOTE: if boolean, establish $keepLayouts to true|false
* if array, admit params for Zend_Json::encode as enableJsonExprFinder=>true|false
* if $keepLayouts and parmas for Zend_Json::encode are required
- * then, the array can contains a 'keepLayout'=>true|false
+ * then, the array can contains a 'keepLayout'=>true|false and/or 'encodeData'=>true|false
* that will not be passed to Zend_Json::encode method but will be passed
* to Zend_View_Helper_Json
* @throws Zend_Controller_Action_Helper_Json
* @return string
*/
- public function encodeJson($data, $keepLayouts = false)
+ public function encodeJson($data, $keepLayouts = false, $encodeData = true)
{
/**
* @see Zend_View_Helper_Json
*/
require_once 'Zend/View/Helper/Json.php';
$jsonHelper = new Zend_View_Helper_Json();
- $data = $jsonHelper->json($data, $keepLayouts);
+ $data = $jsonHelper->json($data, $keepLayouts, $encodeData);
if (!$keepLayouts) {
/**
@@ -87,17 +88,18 @@
*
* @param mixed $data
* @param boolean|array $keepLayouts
+ * @param $encodeData Encode $data as JSON?
* NOTE: if boolean, establish $keepLayouts to true|false
* if array, admit params for Zend_Json::encode as enableJsonExprFinder=>true|false
* if $keepLayouts and parmas for Zend_Json::encode are required
- * then, the array can contains a 'keepLayout'=>true|false
+ * then, the array can contains a 'keepLayout'=>true|false and/or 'encodeData'=>true|false
* that will not be passed to Zend_Json::encode method but will be passed
* to Zend_View_Helper_Json
* @return string|void
*/
- public function sendJson($data, $keepLayouts = false)
+ public function sendJson($data, $keepLayouts = false, $encodeData = true)
{
- $data = $this->encodeJson($data, $keepLayouts);
+ $data = $this->encodeJson($data, $keepLayouts, $encodeData);
$response = $this->getResponse();
$response->setBody($data);
@@ -118,13 +120,14 @@
* @param mixed $data
* @param boolean $sendNow
* @param boolean $keepLayouts
+ * @param boolean $encodeData Encode $data as JSON?
* @return string|void
*/
- public function direct($data, $sendNow = true, $keepLayouts = false)
+ public function direct($data, $sendNow = true, $keepLayouts = false, $encodeData = true)
{
if ($sendNow) {
- return $this->sendJson($data, $keepLayouts);
+ return $this->sendJson($data, $keepLayouts, $encodeData);
}
- return $this->encodeJson($data, $keepLayouts);
+ return $this->encodeJson($data, $keepLayouts, $encodeData);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/Redirector.php
--- a/web/lib/Zend/Controller/Action/Helper/Redirector.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/Redirector.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Redirector.php 23248 2010-10-26 12:45:52Z matthew $
+ * @version $Id: Redirector.php 24843 2012-05-31 18:43:18Z rob $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_Redirector extends Zend_Controller_Action_Helper_Abstract
@@ -100,7 +100,7 @@
}
/**
- * Retrieve HTTP status code for {@link _redirect()} behaviour
+ * Set HTTP status code for {@link _redirect()} behaviour
*
* @param int $code
* @return Zend_Controller_Action_Helper_Redirector Provides a fluent interface
@@ -123,7 +123,7 @@
}
/**
- * Retrieve exit flag for {@link _redirect()} behaviour
+ * Set exit flag for {@link _redirect()} behaviour
*
* @param boolean $flag
* @return Zend_Controller_Action_Helper_Redirector Provides a fluent interface
@@ -146,7 +146,7 @@
}
/**
- * Retrieve 'prepend base' flag for {@link _redirect()} behaviour
+ * Set 'prepend base' flag for {@link _redirect()} behaviour
*
* @param boolean $flag
* @return Zend_Controller_Action_Helper_Redirector Provides a fluent interface
@@ -294,9 +294,9 @@
}
}
- $params['module'] = $module;
- $params['controller'] = $controller;
- $params['action'] = $action;
+ $params[$request->getModuleKey()] = $module;
+ $params[$request->getControllerKey()] = $controller;
+ $params[$request->getActionKey()] = $action;
$router = $this->getFrontController()->getRouter();
$url = $router->assemble($params, 'default', true);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/Url.php
--- a/web/lib/Zend/Controller/Action/Helper/Url.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/Url.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Url.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Url.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_Url extends Zend_Controller_Action_Helper_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Helper/ViewRenderer.php
--- a/web/lib/Zend/Controller/Action/Helper/ViewRenderer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Helper/ViewRenderer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ViewRenderer.php 20261 2010-01-13 18:55:25Z matthew $
+ * @version $Id: ViewRenderer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -68,7 +68,7 @@
* @uses Zend_Controller_Action_Helper_Abstract
* @package Zend_Controller
* @subpackage Zend_Controller_Action_Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_Helper_ViewRenderer extends Zend_Controller_Action_Helper_Abstract
@@ -626,6 +626,9 @@
} elseif (null !== $action) {
$vars['action'] = $action;
}
+
+ $replacePattern = array('/[^a-z0-9]+$/i', '/^[^a-z0-9]+/i');
+ $vars['action'] = preg_replace($replacePattern, '', $vars['action']);
$inflector = $this->getInflector();
if ($this->getNoController() || $this->getNeverController()) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/HelperBroker.php
--- a/web/lib/Zend/Controller/Action/HelperBroker.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/HelperBroker.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HelperBroker.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HelperBroker.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_HelperBroker
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/HelperBroker/PriorityStack.php
--- a/web/lib/Zend/Controller/Action/HelperBroker/PriorityStack.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/HelperBroker/PriorityStack.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PriorityStack.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PriorityStack.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Action_HelperBroker_PriorityStack implements IteratorAggregate, ArrayAccess, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Action/Interface.php
--- a/web/lib/Zend/Controller/Action/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Action/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Controller_Action_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Dispatcher/Abstract.php
--- a/web/lib/Zend/Controller/Dispatcher/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Dispatcher/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Controller_Dispatcher_Interface */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Dispatcher_Abstract implements Zend_Controller_Dispatcher_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Dispatcher/Exception.php
--- a/web/lib/Zend/Controller/Dispatcher/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Dispatcher/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Dispatcher_Exception extends Zend_Controller_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Dispatcher/Interface.php
--- a/web/lib/Zend/Controller/Dispatcher/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Dispatcher/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
/**
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Controller_Dispatcher_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Dispatcher/Standard.php
--- a/web/lib/Zend/Controller/Dispatcher/Standard.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Dispatcher/Standard.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Standard.php 22038 2010-04-28 18:54:22Z matthew $
+ * @version $Id: Standard.php 24861 2012-06-01 23:40:13Z adamlundrigan $
*/
/** Zend_Loader */
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Dispatcher_Standard extends Zend_Controller_Dispatcher_Abstract
@@ -257,6 +257,19 @@
}
/**
+ * If we're in a module or prefixDefaultModule is on, we must add the module name
+ * prefix to the contents of $className, as getControllerClass does not do that automatically.
+ * We must keep a separate variable because modules are not strictly PSR-0: We need the no-module-prefix
+ * class name to do the class->file mapping, but the full class name to insantiate the controller
+ */
+ $moduleClassName = $className;
+ if (($this->_defaultModule != $this->_curModule)
+ || $this->getParam('prefixDefaultModule'))
+ {
+ $moduleClassName = $this->formatClassName($this->_curModule, $className);
+ }
+
+ /**
* Load the controller class file
*/
$className = $this->loadClass($className);
@@ -265,12 +278,12 @@
* Instantiate controller with request, response, and invocation
* arguments; throw exception if it's not an action controller
*/
- $controller = new $className($request, $this->getResponse(), $this->getParams());
+ $controller = new $moduleClassName($request, $this->getResponse(), $this->getParams());
if (!($controller instanceof Zend_Controller_Action_Interface) &&
!($controller instanceof Zend_Controller_Action)) {
require_once 'Zend/Controller/Dispatcher/Exception.php';
throw new Zend_Controller_Dispatcher_Exception(
- 'Controller "' . $className . '" is not an instance of Zend_Controller_Action_Interface'
+ 'Controller "' . $moduleClassName . '" is not an instance of Zend_Controller_Action_Interface'
);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Exception.php
--- a/web/lib/Zend/Controller/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Front.php
--- a/web/lib/Zend/Controller/Front.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Front.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Front.php 20246 2010-01-12 21:36:08Z dasprid $
+ * @version $Id: Front.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Front
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Plugin/Abstract.php
--- a/web/lib/Zend/Controller/Plugin/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Plugin/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Plugin_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Plugin/ActionStack.php
--- a/web/lib/Zend/Controller/Plugin/ActionStack.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Plugin/ActionStack.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -32,9 +32,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActionStack.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActionStack.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Controller_Plugin_ActionStack extends Zend_Controller_Plugin_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Plugin/Broker.php
--- a/web/lib/Zend/Controller/Plugin/Broker.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Plugin/Broker.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Broker.php 20255 2010-01-13 13:23:36Z matthew $
+ * @version $Id: Broker.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Controller_Plugin_Abstract */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Plugin_Broker extends Zend_Controller_Plugin_Abstract
@@ -237,7 +237,7 @@
$plugin->routeStartup($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
- throw $e;
+ throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
}
@@ -260,7 +260,7 @@
$plugin->routeShutdown($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
- throw $e;
+ throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
}
@@ -287,7 +287,7 @@
$plugin->dispatchLoopStartup($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
- throw $e;
+ throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
}
@@ -309,9 +309,11 @@
$plugin->preDispatch($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
- throw $e;
+ throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
+ // skip rendering of normal dispatch give the error handler a try
+ $this->getRequest()->setDispatched(false);
}
}
}
@@ -331,7 +333,7 @@
$plugin->postDispatch($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
- throw $e;
+ throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
}
@@ -353,7 +355,7 @@
$plugin->dispatchLoopShutdown();
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
- throw $e;
+ throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Plugin/ErrorHandler.php
--- a/web/lib/Zend/Controller/Plugin/ErrorHandler.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Plugin/ErrorHandler.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ErrorHandler.php 20246 2010-01-12 21:36:08Z dasprid $
+ * @version $Id: ErrorHandler.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Controller_Plugin_ErrorHandler extends Zend_Controller_Plugin_Abstract
{
@@ -193,8 +193,8 @@
/**
* Route shutdown hook -- Ccheck for router exceptions
- *
- * @param Zend_Controller_Request_Abstract $request
+ *
+ * @param Zend_Controller_Request_Abstract $request
*/
public function routeShutdown(Zend_Controller_Request_Abstract $request)
{
@@ -202,6 +202,17 @@
}
/**
+ * Pre dispatch hook -- check for exceptions and dispatch error handler if
+ * necessary
+ *
+ * @param Zend_Controller_Request_Abstract $request
+ */
+ public function preDispatch(Zend_Controller_Request_Abstract $request)
+ {
+ $this->_handleError($request);
+ }
+
+ /**
* Post dispatch hook -- check for exceptions and dispatch error handler if
* necessary
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Plugin/PutHandler.php
--- a/web/lib/Zend/Controller/Plugin/PutHandler.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Plugin/PutHandler.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Plugin
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PutHandler.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PutHandler.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -35,7 +35,7 @@
*
* @package Zend_Controller
* @subpackage Zend_Controller_Plugin
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Plugin_PutHandler extends Zend_Controller_Plugin_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Request/Abstract.php
--- a/web/lib/Zend/Controller/Request/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Request/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Request_Abstract
@@ -312,7 +312,7 @@
{
$this->_params = $this->_params + (array) $array;
- foreach ($this->_params as $key => $value) {
+ foreach ($array as $key => $value) {
if (null === $value) {
unset($this->_params[$key]);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Request/Apache404.php
--- a/web/lib/Zend/Controller/Request/Apache404.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Request/Apache404.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Apache404.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Apache404.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Controller_Request_Http */
@@ -50,8 +50,8 @@
$requestUri = $_SERVER['HTTP_X_REWRITE_URL'];
} elseif (isset($_SERVER['REDIRECT_URL'])) { // Check if using mod_rewrite
$requestUri = $_SERVER['REDIRECT_URL'];
- if (isset($_SERVER['REDIRECT_QUERYSTRING'])) {
- $parseUriGetVars = $_SERVER['REDIRECT_QUERYSTRING'];
+ if (isset($_SERVER['REDIRECT_QUERY_STRING'])) {
+ $parseUriGetVars = $_SERVER['REDIRECT_QUERY_STRING'];
}
} elseif (isset($_SERVER['REQUEST_URI'])) {
$requestUri = $_SERVER['REQUEST_URI'];
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Request/Exception.php
--- a/web/lib/Zend/Controller/Request/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Request/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Request
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Request
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Request_Exception extends Zend_Controller_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Request/Http.php
--- a/web/lib/Zend/Controller/Request/Http.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Request/Http.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Http.php 23414 2010-11-20 10:56:11Z bittarman $
+ * @version $Id: Http.php 24842 2012-05-31 18:31:28Z rob $
*/
/** @see Zend_Controller_Request_Abstract */
@@ -390,7 +390,11 @@
public function setRequestUri($requestUri = null)
{
if ($requestUri === null) {
- if (isset($_SERVER['HTTP_X_REWRITE_URL'])) { // check this first so IIS will catch
+ if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
+ // IIS with Microsoft Rewrite Module
+ $requestUri = $_SERVER['HTTP_X_ORIGINAL_URL'];
+ } elseif (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
+ // IIS with ISAPI_Rewrite
$requestUri = $_SERVER['HTTP_X_REWRITE_URL'];
} elseif (
// IIS7 with URL Rewrite: make sure we get the unencoded url (double slash problem)
@@ -545,13 +549,13 @@
*
* @return string
*/
- public function getBaseUrl()
+ public function getBaseUrl($raw = false)
{
if (null === $this->_baseUrl) {
$this->setBaseUrl();
}
- return urldecode($this->_baseUrl);
+ return (($raw == false) ? urldecode($this->_baseUrl) : $this->_baseUrl);
}
/**
@@ -612,31 +616,33 @@
public function setPathInfo($pathInfo = null)
{
if ($pathInfo === null) {
- $baseUrl = $this->getBaseUrl();
-
+ $baseUrl = $this->getBaseUrl(); // this actually calls setBaseUrl() & setRequestUri()
+ $baseUrlRaw = $this->getBaseUrl(false);
+ $baseUrlEncoded = urlencode($baseUrlRaw);
+
if (null === ($requestUri = $this->getRequestUri())) {
return $this;
}
-
+
// Remove the query string from REQUEST_URI
if ($pos = strpos($requestUri, '?')) {
$requestUri = substr($requestUri, 0, $pos);
}
- $requestUri = urldecode($requestUri);
-
- if (null !== $baseUrl
- && ((!empty($baseUrl) && 0 === strpos($requestUri, $baseUrl))
- || empty($baseUrl))
- && false === ($pathInfo = substr($requestUri, strlen($baseUrl)))
- ){
- // If substr() returns false then PATH_INFO is set to an empty string
- $pathInfo = '';
- } elseif (null === $baseUrl
- || (!empty($baseUrl) && false === strpos($requestUri, $baseUrl))
- ) {
- $pathInfo = $requestUri;
+ if (!empty($baseUrl) || !empty($baseUrlRaw)) {
+ if (strpos($requestUri, $baseUrl) === 0) {
+ $pathInfo = substr($requestUri, strlen($baseUrl));
+ } elseif (strpos($requestUri, $baseUrlRaw) === 0) {
+ $pathInfo = substr($requestUri, strlen($baseUrlRaw));
+ } elseif (strpos($requestUri, $baseUrlEncoded) === 0) {
+ $pathInfo = substr($requestUri, strlen($baseUrlEncoded));
+ } else {
+ $pathInfo = $requestUri;
+ }
+ } else {
+ $pathInfo = $requestUri;
}
+
}
$this->_pathInfo = (string) $pathInfo;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Request/HttpTestCase.php
--- a/web/lib/Zend/Controller/Request/HttpTestCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Request/HttpTestCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HttpTestCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HttpTestCase.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Request/Simple.php
--- a/web/lib/Zend/Controller/Request/Simple.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Request/Simple.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Request
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Simple.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Simple.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Controller_Request_Abstract */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Request
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Request_Simple extends Zend_Controller_Request_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Response/Abstract.php
--- a/web/lib/Zend/Controller/Response/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Response/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 21301 2010-03-02 23:01:19Z yoshida@zend.co.jp $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
*
* @package Zend_Controller
* @subpackage Response
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Response_Abstract
@@ -257,7 +257,9 @@
}
$key = array_search($headerRaw, $this->_headersRaw);
- unset($this->_headersRaw[$key]);
+ if ($key !== false) {
+ unset($this->_headersRaw[$key]);
+ }
return $this;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Response/Cli.php
--- a/web/lib/Zend/Controller/Response/Cli.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Response/Cli.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cli.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cli.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @uses Zend_Controller_Response_Abstract
* @package Zend_Controller
* @subpackage Response
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Response_Cli extends Zend_Controller_Response_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Response/Exception.php
--- a/web/lib/Zend/Controller/Response/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Response/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Request
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
/**
* @package Zend_Controller
* @subpackage Response
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Response_Exception extends Zend_Controller_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Response/Http.php
--- a/web/lib/Zend/Controller/Response/Http.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Response/Http.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Http.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Http.php 24593 2012-01-05 20:35:02Z matthew $
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Response/HttpTestCase.php
--- a/web/lib/Zend/Controller/Response/HttpTestCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Response/HttpTestCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HttpTestCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HttpTestCase.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Abstract.php
--- a/web/lib/Zend/Controller/Router/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,12 +31,17 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Router_Abstract implements Zend_Controller_Router_Interface
{
/**
+ * URI delimiter
+ */
+ const URI_DELIMITER = '/';
+
+ /**
* Front controller instance
* @var Zend_Controller_Front
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Exception.php
--- a/web/lib/Zend/Controller/Router/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
/**
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Router_Exception extends Zend_Controller_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Interface.php
--- a/web/lib/Zend/Controller/Router/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,15 +15,15 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Controller_Router_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Rewrite.php
--- a/web/lib/Zend/Controller/Router/Rewrite.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Rewrite.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Rewrite.php 23362 2010-11-18 17:22:41Z bittarman $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Rewrite.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -31,7 +31,7 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @see http://manuals.rubyonrails.com/read/chapter/65
*/
@@ -381,7 +381,7 @@
// Find the matching route
$routeMatched = false;
-
+
foreach (array_reverse($this->_routes, true) as $name => $route) {
// TODO: Should be an interface method. Hack for 1.0 BC
if (method_exists($route, 'isAbstract') && $route->isAbstract()) {
@@ -450,6 +450,11 @@
*/
public function assemble($userParams, $name = null, $reset = false, $encode = true)
{
+ if (!is_array($userParams)) {
+ require_once 'Zend/Controller/Router/Exception.php';
+ throw new Zend_Controller_Router_Exception('userParams must be an array');
+ }
+
if ($name == null) {
try {
$name = $this->getCurrentRouteName();
@@ -458,14 +463,14 @@
}
}
- // Use UNION (+) in order to preserve numeric keys
+ // Use UNION (+) in order to preserve numeric keys
$params = $userParams + $this->_globalParams;
$route = $this->getRoute($name);
$url = $route->assemble($params, $reset, $encode);
if (!preg_match('|^[a-z]+://|', $url)) {
- $url = rtrim($this->getFrontController()->getBaseUrl(), '/') . '/' . $url;
+ $url = rtrim($this->getFrontController()->getBaseUrl(), self::URI_DELIMITER) . self::URI_DELIMITER . $url;
}
return $url;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route.php
--- a/web/lib/Zend/Controller/Router/Route.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Route.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Route.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @see http://manuals.rubyonrails.com/read/chapter/65
*/
@@ -77,7 +77,7 @@
protected $_translatable = array();
protected $_urlVariable = ':';
- protected $_urlDelimiter = '/';
+ protected $_urlDelimiter = self::URI_DELIMITER;
protected $_regexDelimiter = '#';
protected $_defaultRegex = null;
@@ -294,6 +294,9 @@
foreach ($this->_variables as $var) {
if (!array_key_exists($var, $return)) {
return false;
+ } elseif ($return[$var] == '' || $return[$var] === null) {
+ // Empty variable? Replace with the default value.
+ $return[$var] = $this->_defaults[$var];
}
}
@@ -344,7 +347,7 @@
$value = $this->_values[$name];
} elseif (!$reset && !$useDefault && isset($this->_wildcardData[$name])) {
$value = $this->_wildcardData[$name];
- } elseif (isset($this->_defaults[$name])) {
+ } elseif (array_key_exists($name, $this->_defaults)) {
$value = $this->_defaults[$name];
} else {
require_once 'Zend/Controller/Router/Exception.php';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route/Abstract.php
--- a/web/lib/Zend/Controller/Router/Route/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -32,12 +32,17 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Controller_Router_Route_Abstract implements Zend_Controller_Router_Route_Interface
{
/**
+ * URI delimiter
+ */
+ const URI_DELIMITER = '/';
+
+ /**
* Wether this route is abstract or not
*
* @var boolean
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route/Chain.php
--- a/web/lib/Zend/Controller/Router/Route/Chain.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Chain.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Chain.php 23187 2010-10-20 18:42:37Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Chain.php 25249 2013-02-06 09:54:24Z frosch $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Router_Route_Chain extends Zend_Controller_Router_Route_Abstract
@@ -39,7 +39,8 @@
/**
* Instantiates route based on passed Zend_Config structure
*
- * @param Zend_Config $config Configuration object
+ * @param Zend_Config $config Configuration object
+ * @return Zend_Controller_Router_Route_Chain
*/
public static function getInstance(Zend_Config $config)
{
@@ -54,7 +55,7 @@
* @param string $separator
* @return Zend_Controller_Router_Route_Chain
*/
- public function chain(Zend_Controller_Router_Route_Abstract $route, $separator = '/')
+ public function chain(Zend_Controller_Router_Route_Abstract $route, $separator = self::URI_DELIMITER)
{
$this->_routes[] = $route;
$this->_separators[] = $separator;
@@ -68,18 +69,21 @@
* Assigns and returns an array of defaults on a successful match.
*
* @param Zend_Controller_Request_Http $request Request to get the path info from
+ * @param null $partial
* @return array|false An array of assigned values or a false on a mismatch
*/
public function match($request, $partial = null)
{
- $path = trim($request->getPathInfo(), '/');
- $subPath = $path;
- $values = array();
+ $path = trim($request->getPathInfo(), self::URI_DELIMITER);
+ $subPath = $path;
+ $values = array();
+ $numRoutes = count($this->_routes);
+ $matchedPath = null;
foreach ($this->_routes as $key => $route) {
- if ($key > 0
- && $matchedPath !== null
- && $subPath !== ''
+ if ($key > 0
+ && $matchedPath !== null
+ && $subPath !== ''
&& $subPath !== false
) {
$separator = substr($subPath, 0, strlen($this->_separators[$key]));
@@ -99,7 +103,7 @@
$match = $request;
}
- $res = $route->match($match, true);
+ $res = $route->match($match, true, ($key == $numRoutes - 1));
if ($res === false) {
return false;
}
@@ -126,7 +130,9 @@
/**
* Assembles a URL path defined by this route
*
- * @param array $data An array of variable and value pairs used as parameters
+ * @param array $data An array of variable and value pairs used as parameters
+ * @param bool $reset
+ * @param bool $encode
* @return string Route path with user submitted parameters
*/
public function assemble($data = array(), $reset = false, $encode = false)
@@ -169,5 +175,42 @@
}
}
}
+
+ /**
+ * Return a single parameter of route's defaults
+ *
+ * @param string $name Array key of the parameter
+ * @return string Previously set default
+ */
+ public function getDefault($name)
+ {
+ $default = null;
+ foreach ($this->_routes as $route) {
+ if (method_exists($route, 'getDefault')) {
+ $current = $route->getDefault($name);
+ if (null !== $current) {
+ $default = $current;
+ }
+ }
+ }
-}
+ return $default;
+ }
+
+ /**
+ * Return an array of defaults
+ *
+ * @return array Route defaults
+ */
+ public function getDefaults()
+ {
+ $defaults = array();
+ foreach ($this->_routes as $route) {
+ if (method_exists($route, 'getDefaults')) {
+ $defaults = array_merge($defaults, $route->getDefaults());
+ }
+ }
+
+ return $defaults;
+ }
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route/Hostname.php
--- a/web/lib/Zend/Controller/Router/Route/Hostname.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Hostname.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Hostname.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Hostname.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @see http://manuals.rubyonrails.com/read/chapter/65
*/
@@ -302,7 +302,6 @@
}
}
- $hostname = implode('.', $host);
$url = $scheme . '://' . $url;
return $url;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route/Interface.php
--- a/web/lib/Zend/Controller/Router/Route/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,7 +26,7 @@
/**
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Controller_Router_Route_Interface {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route/Module.php
--- a/web/lib/Zend/Controller/Router/Route/Module.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Module.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Module.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Module.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,18 +30,13 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @see http://manuals.rubyonrails.com/read/chapter/65
*/
class Zend_Controller_Router_Route_Module extends Zend_Controller_Router_Route_Abstract
{
/**
- * URI delimiter
- */
- const URI_DELIMITER = '/';
-
- /**
* Default values for the route (ie. module, controller, action, params)
* @var array
*/
@@ -237,29 +232,29 @@
if (is_array($value)) {
foreach ($value as $arrayValue) {
$arrayValue = ($encode) ? urlencode($arrayValue) : $arrayValue;
- $url .= '/' . $key;
- $url .= '/' . $arrayValue;
+ $url .= self::URI_DELIMITER . $key;
+ $url .= self::URI_DELIMITER . $arrayValue;
}
} else {
if ($encode) $value = urlencode($value);
- $url .= '/' . $key;
- $url .= '/' . $value;
+ $url .= self::URI_DELIMITER . $key;
+ $url .= self::URI_DELIMITER . $value;
}
}
if (!empty($url) || $action !== $this->_defaults[$this->_actionKey]) {
if ($encode) $action = urlencode($action);
- $url = '/' . $action . $url;
+ $url = self::URI_DELIMITER . $action . $url;
}
if (!empty($url) || $controller !== $this->_defaults[$this->_controllerKey]) {
if ($encode) $controller = urlencode($controller);
- $url = '/' . $controller . $url;
+ $url = self::URI_DELIMITER . $controller . $url;
}
if (isset($module)) {
if ($encode) $module = urlencode($module);
- $url = '/' . $module . $url;
+ $url = self::URI_DELIMITER . $module . $url;
}
return ltrim($url, self::URI_DELIMITER);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route/Regex.php
--- a/web/lib/Zend/Controller/Router/Route/Regex.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Regex.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Regex.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Regex.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Router_Route_Regex extends Zend_Controller_Router_Route_Abstract
@@ -74,7 +74,7 @@
public function match($path, $partial = false)
{
if (!$partial) {
- $path = trim(urldecode($path), '/');
+ $path = trim(urldecode($path), self::URI_DELIMITER);
$regex = '#^' . $this->_regex . '$#i';
} else {
$regex = '#^' . $this->_regex . '#i';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Controller/Router/Route/Static.php
--- a/web/lib/Zend/Controller/Router/Route/Static.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Static.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Static.php 23210 2010-10-21 16:10:55Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Static.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,7 +30,7 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Router_Route_Static extends Zend_Controller_Router_Route_Abstract
@@ -62,7 +62,7 @@
*/
public function __construct($route, $defaults = array())
{
- $this->_route = trim($route, '/');
+ $this->_route = trim($route, self::URI_DELIMITER);
$this->_defaults = (array) $defaults;
}
@@ -83,7 +83,7 @@
return $this->_defaults;
}
} else {
- if (trim($path, '/') == $this->_route) {
+ if (trim($path, self::URI_DELIMITER) == $this->_route) {
return $this->_defaults;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt.php
--- a/web/lib/Zend/Crypt.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Crypt.php 23089 2010-10-12 17:05:31Z padraic $
+ * @version $Id: Crypt.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/DiffieHellman.php
--- a/web/lib/Zend/Crypt/DiffieHellman.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/DiffieHellman.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage DiffieHellman
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DiffieHellman.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: DiffieHellman.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
*
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_DiffieHellman
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/DiffieHellman/Exception.php
--- a/web/lib/Zend/Crypt/DiffieHellman/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/DiffieHellman/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage DiffieHellman
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_DiffieHellman_Exception extends Zend_Crypt_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Exception.php
--- a/web/lib/Zend/Crypt/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Hmac.php
--- a/web/lib/Zend/Crypt/Hmac.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Hmac.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Hmac
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hmac.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Hmac.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @todo Check if mhash() is a required alternative (will be PECL-only soon)
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Hmac extends Zend_Crypt
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Hmac/Exception.php
--- a/web/lib/Zend/Crypt/Hmac/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Hmac/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Hmac
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Hmac_Exception extends Zend_Crypt_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Math.php
--- a/web/lib/Zend/Crypt/Math.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Math.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Math.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Math.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Math extends Zend_Crypt_Math_BigInteger
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Math/BigInteger.php
--- a/web/lib/Zend/Crypt/Math/BigInteger.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Math/BigInteger.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BigInteger.php 23439 2010-11-23 21:10:14Z alexander $
+ * @version $Id: BigInteger.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
*
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Math_BigInteger
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Math/BigInteger/Bcmath.php
--- a/web/lib/Zend/Crypt/Math/BigInteger/Bcmath.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Math/BigInteger/Bcmath.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Bcmath.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: Bcmath.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
*
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Math_BigInteger_Bcmath implements Zend_Crypt_Math_BigInteger_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Math/BigInteger/Exception.php
--- a/web/lib/Zend/Crypt/Math/BigInteger/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Math/BigInteger/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Math_BigInteger_Exception extends Zend_Crypt_Math_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Math/BigInteger/Gmp.php
--- a/web/lib/Zend/Crypt/Math/BigInteger/Gmp.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Math/BigInteger/Gmp.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Gmp.php 23439 2010-11-23 21:10:14Z alexander $
+ * @version $Id: Gmp.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
*
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Math_BigInteger_Gmp implements Zend_Crypt_Math_BigInteger_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Math/BigInteger/Interface.php
--- a/web/lib/Zend/Crypt/Math/BigInteger/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Math/BigInteger/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
*
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Crypt_Math_BigInteger_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Math/Exception.php
--- a/web/lib/Zend/Crypt/Math/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Math/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Math_Exception extends Zend_Crypt_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Rsa.php
--- a/web/lib/Zend/Crypt/Rsa.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Rsa.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Rsa
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rsa.php 23439 2010-11-23 21:10:14Z alexander $
+ * @version $Id: Rsa.php 24808 2012-05-17 19:56:09Z rob $
*/
/**
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Rsa
@@ -71,7 +71,7 @@
{
if (!extension_loaded('openssl')) {
require_once 'Zend/Crypt/Rsa/Exception.php';
- throw new Zend_Crypt_Rsa_Exception('Zend_Crypt_Rsa requires openssl extention to be loaded.');
+ throw new Zend_Crypt_Rsa_Exception('Zend_Crypt_Rsa requires openssl extension to be loaded.');
}
// Set _hashAlgorithm property when we are sure, that openssl extension is loaded
@@ -201,6 +201,13 @@
return $decrypted;
}
+ /**
+ * @param array $configargs
+ *
+ * @throws Zend_Crypt_Rsa_Exception
+ *
+ * @return ArrayObject
+ */
public function generateKeys(array $configargs = null)
{
$config = null;
@@ -215,6 +222,10 @@
$privateKey = null;
$publicKey = null;
$resource = openssl_pkey_new($config);
+ if (!$resource) {
+ require_once 'Zend/Crypt/Rsa/Exception.php';
+ throw new Zend_Crypt_Rsa_Exception('Failed to generate a new private key');
+ }
// above fails on PHP 5.3
openssl_pkey_export($resource, $private, $passPhrase);
$privateKey = new Zend_Crypt_Rsa_Key_Private($private, $passPhrase);
@@ -312,6 +323,9 @@
protected function _parseConfigArgs(array $config = null)
{
$configs = array();
+ if (isset($config['private_key_bits'])) {
+ $configs['private_key_bits'] = $config['private_key_bits'];
+ }
if (isset($config['privateKeyBits'])) {
$configs['private_key_bits'] = $config['privateKeyBits'];
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Rsa/Exception.php
--- a/web/lib/Zend/Crypt/Rsa/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Rsa/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Math
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Rsa_Exception extends Zend_Crypt_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Rsa/Key.php
--- a/web/lib/Zend/Crypt/Rsa/Key.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Rsa/Key.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,15 +15,15 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Rsa
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Key.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Key.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Rsa_Key implements Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Rsa/Key/Private.php
--- a/web/lib/Zend/Crypt/Rsa/Key/Private.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Rsa/Key/Private.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Rsa
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Private.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Private.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Rsa_Key_Private extends Zend_Crypt_Rsa_Key
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Crypt/Rsa/Key/Public.php
--- a/web/lib/Zend/Crypt/Rsa/Key/Public.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Crypt/Rsa/Key/Public.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Crypt
* @subpackage Rsa
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Public.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Public.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Crypt
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Crypt_Rsa_Key_Public extends Zend_Crypt_Rsa_Key
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Currency.php
--- a/web/lib/Zend/Currency.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Currency.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Currency
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Currency.php 22708 2010-07-28 07:25:16Z thomas $
+ * @version $Id: Currency.php 24855 2012-06-01 00:12:25Z adamlundrigan $
*/
/**
@@ -31,7 +31,7 @@
*
* @category Zend
* @package Zend_Currency
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Currency
@@ -91,6 +91,11 @@
*/
public function __construct($options = null, $locale = null)
{
+ $calloptions = $options;
+ if (is_array($options) && isset($options['display'])) {
+ $this->_options['display'] = $options['display'];
+ }
+
if (is_array($options)) {
$this->setLocale($locale);
$this->setFormat($options);
@@ -120,10 +125,13 @@
}
// Get the format
- if (!empty($this->_options['symbol'])) {
- $this->_options['display'] = self::USE_SYMBOL;
- } else if (!empty($this->_options['currency'])) {
- $this->_options['display'] = self::USE_SHORTNAME;
+ if ((is_array($calloptions) && !isset($calloptions['display']))
+ || (!is_array($calloptions) && $this->_options['display'] == self::NO_SYMBOL)) {
+ if (!empty($this->_options['symbol'])) {
+ $this->_options['display'] = self::USE_SYMBOL;
+ } else if (!empty($this->_options['currency'])) {
+ $this->_options['display'] = self::USE_SHORTNAME;
+ }
}
}
@@ -794,7 +802,7 @@
if (!class_exists($service)) {
$file = str_replace('_', DIRECTORY_SEPARATOR, $service) . '.php';
if (Zend_Loader::isReadable($file)) {
- Zend_Loader::loadClass($class);
+ Zend_Loader::loadClass($service);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Currency/CurrencyInterface.php
--- a/web/lib/Zend/Currency/CurrencyInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Currency/CurrencyInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Currency
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CurrencyInterface.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: CurrencyInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Currency
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Currency_CurrencyInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Currency/Exception.php
--- a/web/lib/Zend/Currency/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Currency/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Currency
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Currency
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Currency_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Date.php
--- a/web/lib/Zend/Date.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Date.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Date
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Date.php 22713 2010-07-29 11:41:56Z thomas $
+ * @version $Id: Date.php 24880 2012-06-12 20:35:18Z matthew $
*/
/**
@@ -30,7 +30,7 @@
/**
* @category Zend
* @package Zend_Date
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Date extends Zend_Date_DateObject
@@ -1201,7 +1201,7 @@
}
preg_match('/([+-]\d{2}):{0,1}\d{2}/', $zone, $match);
- if (!empty($match) and ($match[count($match) - 1] <= 12) and ($match[count($match) - 1] >= -12)) {
+ if (!empty($match) and ($match[count($match) - 1] <= 14) and ($match[count($match) - 1] >= -12)) {
$zone = "Etc/GMT";
$zone .= ($match[count($match) - 1] < 0) ? "+" : "-";
$zone .= (int) abs($match[count($match) - 1]);
@@ -2107,7 +2107,10 @@
break;
case self::RFC_2822:
- $result = preg_match('/^\w{3},\s(\d{1,2})\s(\w{3})\s(\d{4})\s(\d{2}):(\d{2}):{0,1}(\d{0,2})\s([+-]{1}\d{4})$/', $date, $match);
+ $result = preg_match('/^\w{3},\s(\d{1,2})\s(\w{3})\s(\d{4})\s'
+ . '(\d{2}):(\d{2}):{0,1}(\d{0,2})\s([+-]'
+ . '{1}\d{4}|\w{1,20})$/', $date, $match);
+
if (!$result) {
require_once 'Zend/Date/Exception.php';
throw new Zend_Date_Exception("no RFC 2822 format ($date)", 0, null, $date);
@@ -2641,10 +2644,8 @@
$parsed['day'] = 0;
}
- if (isset($parsed['year'])) {
- $parsed['year'] -= 1970;
- } else {
- $parsed['year'] = 0;
+ if (!isset($parsed['year'])) {
+ $parsed['year'] = 1970;
}
}
@@ -2654,7 +2655,7 @@
isset($parsed['second']) ? $parsed['second'] : 0,
isset($parsed['month']) ? (1 + $parsed['month']) : 1,
isset($parsed['day']) ? (1 + $parsed['day']) : 1,
- isset($parsed['year']) ? (1970 + $parsed['year']) : 1970,
+ $parsed['year'],
false), $this->getUnixTimestamp(), false);
} catch (Zend_Locale_Exception $e) {
if (!is_numeric($date)) {
@@ -3238,7 +3239,7 @@
/**
* Check if location is supported
*
- * @param $location array - locations array
+ * @param array $location locations array
* @return $horizon float
*/
private function _checkLocation($location)
@@ -3281,7 +3282,7 @@
* Returns the time of sunrise for this date and a given location as new date object
* For a list of cities and correct locations use the class Zend_Date_Cities
*
- * @param $location array - location of sunrise
+ * @param array $location location of sunrise
* ['horizon'] -> civil, nautic, astronomical, effective (default)
* ['longitude'] -> longitude of location
* ['latitude'] -> latitude of location
@@ -3301,7 +3302,7 @@
* Returns the time of sunset for this date and a given location as new date object
* For a list of cities and correct locations use the class Zend_Date_Cities
*
- * @param $location array - location of sunset
+ * @param array $location location of sunset
* ['horizon'] -> civil, nautic, astronomical, effective (default)
* ['longitude'] -> longitude of location
* ['latitude'] -> latitude of location
@@ -3321,7 +3322,7 @@
* Returns an array with the sunset and sunrise dates for all horizon types
* For a list of cities and correct locations use the class Zend_Date_Cities
*
- * @param $location array - location of suninfo
+ * @param array $location location of suninfo
* ['horizon'] -> civil, nautic, astronomical, effective (default)
* ['longitude'] -> longitude of location
* ['latitude'] -> latitude of location
@@ -3786,7 +3787,7 @@
* Returns the day as new date object
* Example: 20.May.1986 -> 20.Jan.1970 00:00:00
*
- * @param $locale string|Zend_Locale OPTIONAL Locale for parsing input
+ * @param Zend_Locale $locale OPTIONAL Locale for parsing input
* @return Zend_Date
*/
public function getDay($locale = null)
@@ -3798,9 +3799,9 @@
/**
* Returns the calculated day
*
- * @param $calc string Type of calculation to make
- * @param $day string|integer|Zend_Date Day to calculate, when null the actual day is calculated
- * @param $locale string|Zend_Locale Locale for parsing input
+ * @param string $calc Type of calculation to make
+ * @param Zend_Date $day Day to calculate, when null the actual day is calculated
+ * @param Zend_Locale $locale Locale for parsing input
* @return Zend_Date|integer
*/
private function _day($calc, $day, $locale)
@@ -3929,7 +3930,7 @@
* Weekday is always from 1-7
* Example: 09-Jan-2007 -> 2 = Tuesday -> 02-Jan-1970 (when 02.01.1970 is also Tuesday)
*
- * @param $locale string|Zend_Locale OPTIONAL Locale for parsing input
+ * @param Zend_Locale $locale OPTIONAL Locale for parsing input
* @return Zend_Date
*/
public function getWeekday($locale = null)
@@ -3947,9 +3948,9 @@
/**
* Returns the calculated weekday
*
- * @param $calc string Type of calculation to make
- * @param $weekday string|integer|array|Zend_Date Weekday to calculate, when null the actual weekday is calculated
- * @param $locale string|Zend_Locale Locale for parsing input
+ * @param string $calc Type of calculation to make
+ * @param Zend_Date $weekday Weekday to calculate, when null the actual weekday is calculated
+ * @param Zend_Locale $locale Locale for parsing input
* @return Zend_Date|integer
* @throws Zend_Date_Exception
*/
@@ -4166,7 +4167,7 @@
* Returns the hour as new date object
* Example: 02.Feb.1986 10:30:25 -> 01.Jan.1970 10:00:00
*
- * @param $locale string|Zend_Locale OPTIONAL Locale for parsing input
+ * @param Zend_Locale $locale OPTIONAL Locale for parsing input
* @return Zend_Date
*/
public function getHour($locale = null)
@@ -4617,7 +4618,7 @@
* Returns the week as new date object using monday as begining of the week
* Example: 12.Jan.2007 -> 08.Jan.1970 00:00:00
*
- * @param $locale string|Zend_Locale OPTIONAL Locale for parsing input
+ * @param Zend_Locale $locale OPTIONAL Locale for parsing input
* @return Zend_Date
*/
public function getWeek($locale = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Date/Cities.php
--- a/web/lib/Zend/Date/Cities.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Date/Cities.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Date
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cities.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cities.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Date
* @subpackage Zend_Date_Cities
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Date_Cities
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Date/DateObject.php
--- a/web/lib/Zend/Date/DateObject.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Date/DateObject.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,8 +14,8 @@
*
* @category Zend
* @package Zend_Date
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: DateObject.php 22712 2010-07-29 08:24:28Z thomas $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: DateObject.php 24880 2012-06-12 20:35:18Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,7 +23,7 @@
* @category Zend
* @package Zend_Date
* @subpackage Zend_Date_DateObject
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Date_DateObject {
@@ -312,6 +312,13 @@
}
if (abs($timestamp) <= 0x7FFFFFFF) {
+ // See ZF-11992
+ // "o" will sometimes resolve to the previous year (see
+ // http://php.net/date ; it's part of the ISO 8601
+ // standard). However, this is not desired, so replacing
+ // all occurrences of "o" not preceded by a backslash
+ // with "Y"
+ $format = preg_replace('/(? (boolean) Whether to use a persistent connection or not, defaults to false
* protocol => (string) The network protocol, defaults to TCPIP
* caseFolding => (int) style of case-alteration used for identifiers
+ * socket => (string) The socket or named pipe that should be used
*
* @param array|Zend_Config $config An array or instance of Zend_Config having configuration data
* @throws Zend_Db_Adapter_Exception
@@ -531,6 +532,7 @@
* @param mixed $table The table to insert data into.
* @param array $bind Column-value pairs.
* @return int The number of affected rows.
+ * @throws Zend_Db_Adapter_Exception
*/
public function insert($table, array $bind)
{
@@ -583,6 +585,7 @@
* @param array $bind Column-value pairs.
* @param mixed $where UPDATE WHERE clause(s).
* @return int The number of affected rows.
+ * @throws Zend_Db_Adapter_Exception
*/
public function update($table, array $bind, $where = '')
{
@@ -743,7 +746,7 @@
* @param string|Zend_Db_Select $sql An SQL SELECT statement.
* @param mixed $bind Data to bind into SELECT placeholders.
* @param mixed $fetchMode Override current fetch mode.
- * @return array
+ * @return mixed Array, object, or scalar depending on fetch mode.
*/
public function fetchRow($sql, $bind = array(), $fetchMode = null)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Db2.php
--- a/web/lib/Zend/Db/Adapter/Db2.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Db2.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Db2.php 23199 2010-10-21 14:27:06Z ralph $
+ * @version $Id: Db2.php 24593 2012-01-05 20:35:02Z matthew $
*
*/
@@ -39,7 +39,7 @@
/**
* @package Zend_Db
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -161,7 +161,7 @@
$this->_config['driver_options']['i5_naming'] = DB2_I5_NAMING_OFF;
}
}
-
+
if ($this->_config['host'] !== 'localhost' && !$this->_isI5) {
// if the host isn't localhost, use extended connection params
$dbname = 'DRIVER={IBM DB2 ODBC DRIVER}' .
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Db2/Exception.php
--- a/web/lib/Zend/Db/Adapter/Db2/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Db2/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
*
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Db2_Exception extends Zend_Db_Adapter_Exception
@@ -38,7 +38,7 @@
protected $code = '00000';
protected $message = 'unknown exception';
- function __construct($message = 'unknown exception', $code = '00000', Exception $e = null)
+ function __construct($message = 'unknown exception', $code = '00000', Exception $e = null)
{
parent::__construct($message, $code, $e);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Exception.php
--- a/web/lib/Zend/Db/Adapter/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Exception extends Zend_Db_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Mysqli.php
--- a/web/lib/Zend/Db/Adapter/Mysqli.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Mysqli.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mysqli.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mysqli.php 25229 2013-01-18 08:17:21Z frosch $
*/
@@ -46,7 +46,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Mysqli extends Zend_Db_Adapter_Abstract
@@ -297,6 +297,12 @@
$port = null;
}
+ if (isset($this->_config['socket'])) {
+ $socket = $this->_config['socket'];
+ } else {
+ $socket = null;
+ }
+
$this->_connection = mysqli_init();
if(!empty($this->_config['driver_options'])) {
@@ -320,7 +326,8 @@
$this->_config['username'],
$this->_config['password'],
$this->_config['dbname'],
- $port
+ $port,
+ $socket
);
if ($_isConnected === false || mysqli_connect_errno()) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Mysqli/Exception.php
--- a/web/lib/Zend/Db/Adapter/Mysqli/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Mysqli/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Mysqli_Exception extends Zend_Db_Adapter_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Oracle.php
--- a/web/lib/Zend/Db/Adapter/Oracle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Oracle.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Oracle.php 21108 2010-02-19 22:36:08Z mikaelkael $
+ * @version $Id: Oracle.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Oracle extends Zend_Db_Adapter_Abstract
@@ -147,8 +147,9 @@
public function isConnected()
{
return ((bool) (is_resource($this->_connection)
- && get_resource_type($this->_connection) == 'oci8 connection'));
- }
+ && (get_resource_type($this->_connection) == 'oci8 connection'
+ || get_resource_type($this->_connection) == 'oci8 persistent connection')));
+ }
/**
* Force the connection to close.
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Oracle/Exception.php
--- a/web/lib/Zend/Db/Adapter/Oracle/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Oracle/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Oracle_Exception extends Zend_Db_Adapter_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Abstract.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Db_Adapter_Pdo_Abstract extends Zend_Db_Adapter_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Ibm.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Ibm.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Ibm.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ibm.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Ibm.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Ibm extends Zend_Db_Adapter_Pdo_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Ibm/Db2.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Ibm/Db2.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Ibm/Db2.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Db2.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Db2.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Ibm_Db2
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Ibm/Ids.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Ibm/Ids.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Ibm/Ids.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ids.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Ids.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Ibm_Ids
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Mssql.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Mssql.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Mssql.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mssql.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mssql.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Mssql extends Zend_Db_Adapter_Pdo_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Mysql.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Mysql.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Mysql.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mysql.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mysql.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Mysql extends Zend_Db_Adapter_Pdo_Abstract
@@ -77,6 +77,19 @@
);
/**
+ * Override _dsn() and ensure that charset is incorporated in mysql
+ * @see Zend_Db_Adapter_Pdo_Abstract::_dsn()
+ */
+ protected function _dsn()
+ {
+ $dsn = parent::_dsn();
+ if (isset($this->_config['charset'])) {
+ $dsn .= ';charset=' . $this->_config['charset'];
+ }
+ return $dsn;
+ }
+
+ /**
* Creates a PDO object and connects to the database.
*
* @return void
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Oci.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Oci.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Oci.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Oci.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Oci.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Oci extends Zend_Db_Adapter_Pdo_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Pgsql.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Pgsql.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Pgsql.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pgsql.php 22788 2010-08-03 18:29:55Z ramon $
+ * @version $Id: Pgsql.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Pdo/Sqlite.php
--- a/web/lib/Zend/Db/Adapter/Pdo/Sqlite.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Pdo/Sqlite.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sqlite.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Sqlite.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Pdo_Sqlite extends Zend_Db_Adapter_Pdo_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Sqlsrv.php
--- a/web/lib/Zend/Db/Adapter/Sqlsrv.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Sqlsrv.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sqlsrv.php 21885 2010-04-16 15:13:40Z juokaz $
+ * @version $Id: Sqlsrv.php 25077 2012-11-06 20:06:24Z rob $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Sqlsrv extends Zend_Db_Adapter_Abstract
@@ -437,10 +437,10 @@
$sql = "exec sp_columns @table_name = " . $this->quoteIdentifier($tableName, true);
$stmt = $this->query($sql);
$result = $stmt->fetchAll(Zend_Db::FETCH_NUM);
-
- // ZF-7698
- $stmt->closeCursor();
+ // ZF-7698
+ $stmt->closeCursor();
+
if (count($result) == 0) {
return array();
}
@@ -622,17 +622,22 @@
} else {
$over = preg_replace('/\"[^,]*\".\"([^,]*)\"/i', '"inner_tbl"."$1"', $orderby);
}
-
+
// Remove ORDER BY clause from $sql
$sql = preg_replace('/\s+ORDER BY(.*)/', '', $sql);
-
+
// Add ORDER BY clause as an argument for ROW_NUMBER()
$sql = "SELECT ROW_NUMBER() OVER ($over) AS \"ZEND_DB_ROWNUM\", * FROM ($sql) AS inner_tbl";
-
+
$start = $offset + 1;
- $end = $offset + $count;
- $sql = "WITH outer_tbl AS ($sql) SELECT * FROM outer_tbl WHERE \"ZEND_DB_ROWNUM\" BETWEEN $start AND $end";
+ if ($count == PHP_INT_MAX) {
+ $sql = "WITH outer_tbl AS ($sql) SELECT * FROM outer_tbl WHERE \"ZEND_DB_ROWNUM\" >= $start";
+ }
+ else {
+ $end = $offset + $count;
+ $sql = "WITH outer_tbl AS ($sql) SELECT * FROM outer_tbl WHERE \"ZEND_DB_ROWNUM\" BETWEEN $start AND $end";
+ }
}
return $sql;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Adapter/Sqlsrv/Exception.php
--- a/web/lib/Zend/Db/Adapter/Sqlsrv/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Adapter/Sqlsrv/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20625 2010-01-25 21:03:53Z ralph $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Adapter_Sqlsrv_Exception extends Zend_Db_Adapter_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Exception.php
--- a/web/lib/Zend/Db/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Db
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Db
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Expr.php
--- a/web/lib/Zend/Db/Expr.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Expr.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Expr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Expr.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Expr.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Expr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Expr
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Profiler.php
--- a/web/lib/Zend/Db/Profiler.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Profiler.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Profiler.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Profiler.php 25127 2012-11-16 15:17:42Z rob $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Profiler
@@ -225,7 +225,9 @@
}
/**
- * @param integer $queryId
+ * Clone a profiler query
+ *
+ * @param Zend_Db_Profiler_Query $query
* @return integer or null
*/
public function queryClone(Zend_Db_Profiler_Query $query)
@@ -287,12 +289,12 @@
}
/**
- * Ends a query. Pass it the handle that was returned by queryStart().
+ * Ends a query. Pass it the handle that was returned by queryStart().
* This will mark the query as ended and save the time.
*
* @param integer $queryId
* @throws Zend_Db_Profiler_Exception
- * @return void
+ * @return string Inform that a query is stored or ignored.
*/
public function queryEnd($queryId)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Profiler/Exception.php
--- a/web/lib/Zend/Db/Profiler/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Profiler/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Profiler_Exception extends Zend_Db_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Profiler/Firebug.php
--- a/web/lib/Zend/Db/Profiler/Firebug.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Profiler/Firebug.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Firebug.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Firebug.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Db_Profiler */
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Profiler_Firebug extends Zend_Db_Profiler
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Profiler/Query.php
--- a/web/lib/Zend/Db/Profiler/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Profiler/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 23382 2010-11-18 22:50:50Z bittarman $
+ * @version $Id: Query.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Profiler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Profiler_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Select.php
--- a/web/lib/Zend/Db/Select.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Select.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Select
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Select.php 23254 2010-10-26 12:49:23Z matthew $
+ * @version $Id: Select.php 24833 2012-05-30 13:29:41Z adamlundrigan $
*/
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Select
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Select
@@ -207,8 +207,8 @@
* The first parameter $name can be a simple string, in which case the
* correlation name is generated automatically. If you want to specify
* the correlation name, the first parameter must be an associative
- * array in which the key is the physical table name, and the value is
- * the correlation name. For example, array('table' => 'alias').
+ * array in which the key is the correlation name, and the value is
+ * the physical table name. For example, array('alias' => 'table').
* The correlation name is prepended to all columns fetched for this
* table.
*
@@ -219,8 +219,8 @@
* no correlation name is generated or prepended to the columns named
* in the second parameter.
*
- * @param array|string|Zend_Db_Expr $name The table name or an associative array relating table name to
- * correlation name.
+ * @param array|string|Zend_Db_Expr $name The table name or an associative array
+ * relating correlation name to table name.
* @param array|string|Zend_Db_Expr $cols The columns to select from this table.
* @param string $schema The schema name to specify, if any.
* @return Zend_Db_Select This Zend_Db_Select object.
@@ -880,9 +880,13 @@
$join = $this->_adapter->quoteIdentifier(key($this->_parts[self::FROM]), true);
$from = $this->_adapter->quoteIdentifier($this->_uniqueCorrelation($name), true);
- $cond1 = $from . '.' . $cond;
- $cond2 = $join . '.' . $cond;
- $cond = $cond1 . ' = ' . $cond2;
+ $joinCond = array();
+ foreach ((array)$cond as $fieldName) {
+ $cond1 = $from . '.' . $fieldName;
+ $cond2 = $join . '.' . $fieldName;
+ $joinCond[] = $cond1 . ' = ' . $cond2;
+ }
+ $cond = implode(' '.self::SQL_AND.' ', $joinCond);
return $this->_join($type, $name, $cond, $cols, $schema);
}
@@ -896,7 +900,8 @@
private function _uniqueCorrelation($name)
{
if (is_array($name)) {
- $c = end($name);
+ $k = key($name);
+ $c = is_string($k) ? $k : end($name);
} else {
// Extract just the last name of a qualified table name
$dot = strrpos($name,'.');
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Select/Exception.php
--- a/web/lib/Zend/Db/Select/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Select/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Select
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Select
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement.php
--- a/web/lib/Zend/Db/Statement.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Statement.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Db_Statement implements Zend_Db_Statement_Interface
@@ -176,37 +176,40 @@
*/
protected function _stripQuoted($sql)
{
- // get the character for delimited id quotes,
- // this is usually " but in MySQL is `
- $d = $this->_adapter->quoteIdentifier('a');
- $d = $d[0];
-
- // get the value used as an escaped delimited id quote,
- // e.g. \" or "" or \`
- $de = $this->_adapter->quoteIdentifier($d);
- $de = substr($de, 1, 2);
- $de = str_replace('\\', '\\\\', $de);
// get the character for value quoting
// this should be '
$q = $this->_adapter->quote('a');
- $q = $q[0];
-
+ $q = $q[0];
// get the value used as an escaped quote,
// e.g. \' or ''
$qe = $this->_adapter->quote($q);
$qe = substr($qe, 1, 2);
- $qe = str_replace('\\', '\\\\', $qe);
-
+ $qe = preg_quote($qe);
+ $escapeChar = substr($qe,0,1);
+ // remove 'foo\'bar'
+ if (!empty($q)) {
+ $escapeChar = preg_quote($escapeChar);
+ // this segfaults only after 65,000 characters instead of 9,000
+ $sql = preg_replace("/$q([^$q{$escapeChar}]*|($qe)*)*$q/s", '', $sql);
+ }
+
// get a version of the SQL statement with all quoted
// values and delimited identifiers stripped out
// remove "foo\"bar"
- $sql = preg_replace("/$q($qe|\\\\{2}|[^$q])*$q/", '', $sql);
- // remove 'foo\'bar'
- if (!empty($q)) {
- $sql = preg_replace("/$q($qe|[^$q])*$q/", '', $sql);
- }
+ $sql = preg_replace("/\"(\\\\\"|[^\"])*\"/Us", '', $sql);
+ // get the character for delimited id quotes,
+ // this is usually " but in MySQL is `
+ $d = $this->_adapter->quoteIdentifier('a');
+ $d = $d[0];
+ // get the value used as an escaped delimited id quote,
+ // e.g. \" or "" or \`
+ $de = $this->_adapter->quoteIdentifier($d);
+ $de = substr($de, 1, 2);
+ $de = preg_quote($de);
+ // Note: $de and $d where never used..., now they are:
+ $sql = preg_replace("/$d($de|\\\\{2}|[^$d])*$d/Us", '', $sql);
return $sql;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Db2.php
--- a/web/lib/Zend/Db/Statement/Db2.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Db2.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Db2.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Db2.php 24625 2012-02-22 21:53:40Z adamlundrigan $
*/
/**
@@ -30,7 +30,7 @@
*
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Db2 extends Zend_Db_Statement
@@ -96,7 +96,7 @@
$datatype = DB2_CHAR;
}
- if (!db2_bind_param($this->_stmt, $position, "variable", $type, $datatype)) {
+ if (!db2_bind_param($this->_stmt, $parameter, "variable", $type, $datatype)) {
/**
* @see Zend_Db_Statement_Db2_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Db2/Exception.php
--- a/web/lib/Zend/Db/Statement/Db2/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Db2/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Exception.php
--- a/web/lib/Zend/Db/Statement/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20513 2010-01-22 07:55:48Z ralph $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Exception extends Zend_Db_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Interface.php
--- a/web/lib/Zend/Db/Statement/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Db_Statement_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Mysqli.php
--- a/web/lib/Zend/Db/Statement/Mysqli.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Mysqli.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mysqli.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mysqli.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Mysqli extends Zend_Db_Statement
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Mysqli/Exception.php
--- a/web/lib/Zend/Db/Statement/Mysqli/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Mysqli/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Oracle.php
--- a/web/lib/Zend/Db/Statement/Oracle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Oracle.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Oracle.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Oracle.php 24863 2012-06-02 00:22:47Z adamlundrigan $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Oracle extends Zend_Db_Statement
@@ -87,7 +87,7 @@
protected function _prepare($sql)
{
$connection = $this->_adapter->getConnection();
- $this->_stmt = oci_parse($connection, $sql);
+ $this->_stmt = @oci_parse($connection, $sql);
if (!$this->_stmt) {
/**
* @see Zend_Db_Statement_Oracle_Exception
@@ -240,7 +240,7 @@
}
$error = false;
foreach (array_keys($params) as $name) {
- if (!@oci_bind_by_name($this->_stmt, $name, $params[$name], -1)) {
+ if (!$this->bindParam($name, $params[$name], null, -1)) {
$error = true;
break;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Oracle/Exception.php
--- a/web/lib/Zend/Db/Statement/Oracle/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Oracle/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Pdo.php
--- a/web/lib/Zend/Db/Statement/Pdo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Pdo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pdo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Pdo.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Pdo extends Zend_Db_Statement implements IteratorAggregate
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Pdo/Ibm.php
--- a/web/lib/Zend/Db/Statement/Pdo/Ibm.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Pdo/Ibm.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ibm.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Ibm.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Pdo_Ibm extends Zend_Db_Statement_Pdo
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Pdo/Oci.php
--- a/web/lib/Zend/Db/Statement/Pdo/Oci.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Pdo/Oci.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Oci.php 21104 2010-02-19 21:26:36Z mikaelkael $
+ * @version $Id: Oci.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Pdo_Oci extends Zend_Db_Statement_Pdo
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Sqlsrv.php
--- a/web/lib/Zend/Db/Statement/Sqlsrv.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Sqlsrv.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sqlsrv.php 21887 2010-04-16 18:28:10Z juokaz $
+ * @version $Id: Sqlsrv.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Sqlsrv extends Zend_Db_Statement
@@ -376,11 +376,11 @@
require_once 'Zend/Db/Statement/Sqlsrv/Exception.php';
throw new Zend_Db_Statement_Sqlsrv_Exception(sqlsrv_errors());
}
-
- // reset column keys
- $this->_keys = null;
+
+ // reset column keys
+ $this->_keys = null;
- return true;
+ return true;
}
/**
@@ -411,8 +411,8 @@
return $num_rows;
}
-
- /**
+
+ /**
* Returns an array containing all of the result set rows.
*
* @param int $style OPTIONAL Fetch mode.
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Statement/Sqlsrv/Exception.php
--- a/web/lib/Zend/Db/Statement/Sqlsrv/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Statement/Sqlsrv/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @package Zend_Db
* @subpackage Statement
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Statement_Sqlsrv_Exception extends Zend_Db_Statement_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table.php
--- a/web/lib/Zend/Db/Table.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Table.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Table.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table extends Zend_Db_Table_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Abstract.php
--- a/web/lib/Zend/Db/Table/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 21078 2010-02-18 18:07:16Z tech13 $
+ * @version $Id: Abstract.php 24958 2012-06-15 13:44:04Z adamlundrigan $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Db_Table_Abstract
@@ -70,6 +70,7 @@
const ON_UPDATE = 'onUpdate';
const CASCADE = 'cascade';
+ const CASCADE_RECURSE = 'cascadeRecurse';
const RESTRICT = 'restrict';
const SET_NULL = 'setNull';
@@ -744,6 +745,7 @@
* Initialize database adapter.
*
* @return void
+ * @throws Zend_Db_Table_Exception
*/
protected function _setupDatabaseAdapter()
{
@@ -807,12 +809,23 @@
//get db configuration
$dbConfig = $this->_db->getConfig();
+ $port = isset($dbConfig['options']['port'])
+ ? ':'.$dbConfig['options']['port']
+ : (isset($dbConfig['port'])
+ ? ':'.$dbConfig['port']
+ : null);
+
+ $host = isset($dbConfig['options']['host'])
+ ? ':'.$dbConfig['options']['host']
+ : (isset($dbConfig['host'])
+ ? ':'.$dbConfig['host']
+ : null);
+
// Define the cache identifier where the metadata are saved
$cacheId = md5( // port:host/dbname:schema.table (based on availabilty)
- (isset($dbConfig['options']['port']) ? ':'.$dbConfig['options']['port'] : null)
- . (isset($dbConfig['options']['host']) ? ':'.$dbConfig['options']['host'] : null)
- . '/'.$dbConfig['dbname'].':'.$this->_schema.'.'.$this->_name
- );
+ $port . $host . '/'. $dbConfig['dbname'] . ':'
+ . $this->_schema. '.' . $this->_name
+ );
}
// If $this has no metadata cache or metadata cache misses
@@ -873,7 +886,7 @@
// then throw an exception.
if (empty($this->_primary)) {
require_once 'Zend/Db/Table/Exception.php';
- throw new Zend_Db_Table_Exception('A table must have a primary key, but none was found');
+ throw new Zend_Db_Table_Exception("A table must have a primary key, but none was found for table '{$this->_name}'");
}
} else if (!is_array($this->_primary)) {
$this->_primary = array(1 => $this->_primary);
@@ -961,8 +974,9 @@
* You can elect to return only a part of this information by supplying its key name,
* otherwise all information is returned as an array.
*
- * @param $key The specific info part to return OPTIONAL
+ * @param string $key The specific info part to return OPTIONAL
* @return mixed
+ * @throws Zend_Db_Table_Exception
*/
public function info($key = null)
{
@@ -1035,14 +1049,24 @@
*/
if (is_string($this->_sequence) && !isset($data[$pkIdentity])) {
$data[$pkIdentity] = $this->_db->nextSequenceId($this->_sequence);
+ $pkSuppliedBySequence = true;
}
/**
* If the primary key can be generated automatically, and no value was
* specified in the user-supplied data, then omit it from the tuple.
+ *
+ * Note: this checks for sensible values in the supplied primary key
+ * position of the data. The following values are considered empty:
+ * null, false, true, '', array()
*/
- if (array_key_exists($pkIdentity, $data) && $data[$pkIdentity] === null) {
- unset($data[$pkIdentity]);
+ if (!isset($pkSuppliedBySequence) && array_key_exists($pkIdentity, $data)) {
+ if ($data[$pkIdentity] === null // null
+ || $data[$pkIdentity] === '' // empty string
+ || is_bool($data[$pkIdentity]) // boolean
+ || (is_array($data[$pkIdentity]) && empty($data[$pkIdentity]))) { // empty array
+ unset($data[$pkIdentity]);
+ }
}
/**
@@ -1157,6 +1181,22 @@
*/
public function delete($where)
{
+ $depTables = $this->getDependentTables();
+ if (!empty($depTables)) {
+ $resultSet = $this->fetchAll($where);
+ if (count($resultSet) > 0 ) {
+ foreach ($resultSet as $row) {
+ /**
+ * Execute cascading deletes against dependent tables
+ */
+ foreach ($depTables as $tableClass) {
+ $t = self::getTableFromString($tableClass, $this);
+ $t->_cascadeDelete($tableClass, $row->getPrimaryKey());
+ }
+ }
+ }
+ }
+
$tableSpec = ($this->_schema ? $this->_schema . '.' : '') . $this->_name;
return $this->_db->delete($tableSpec, $where);
}
@@ -1170,27 +1210,56 @@
*/
public function _cascadeDelete($parentTableClassname, array $primaryKey)
{
+ // setup metadata
$this->_setupMetadata();
+
+ // get this class name
+ $thisClass = get_class($this);
+ if ($thisClass === 'Zend_Db_Table') {
+ $thisClass = $this->_definitionConfigName;
+ }
+
$rowsAffected = 0;
+
foreach ($this->_getReferenceMapNormalized() as $map) {
if ($map[self::REF_TABLE_CLASS] == $parentTableClassname && isset($map[self::ON_DELETE])) {
- switch ($map[self::ON_DELETE]) {
- case self::CASCADE:
- $where = array();
- for ($i = 0; $i < count($map[self::COLUMNS]); ++$i) {
- $col = $this->_db->foldCase($map[self::COLUMNS][$i]);
- $refCol = $this->_db->foldCase($map[self::REF_COLUMNS][$i]);
- $type = $this->_metadata[$col]['DATA_TYPE'];
- $where[] = $this->_db->quoteInto(
- $this->_db->quoteIdentifier($col, true) . ' = ?',
- $primaryKey[$refCol], $type);
+
+ $where = array();
+
+ // CASCADE or CASCADE_RECURSE
+ if (in_array($map[self::ON_DELETE], array(self::CASCADE, self::CASCADE_RECURSE))) {
+ for ($i = 0; $i < count($map[self::COLUMNS]); ++$i) {
+ $col = $this->_db->foldCase($map[self::COLUMNS][$i]);
+ $refCol = $this->_db->foldCase($map[self::REF_COLUMNS][$i]);
+ $type = $this->_metadata[$col]['DATA_TYPE'];
+ $where[] = $this->_db->quoteInto(
+ $this->_db->quoteIdentifier($col, true) . ' = ?',
+ $primaryKey[$refCol], $type);
+ }
+ }
+
+ // CASCADE_RECURSE
+ if ($map[self::ON_DELETE] == self::CASCADE_RECURSE) {
+
+ /**
+ * Execute cascading deletes against dependent tables
+ */
+ $depTables = $this->getDependentTables();
+ if (!empty($depTables)) {
+ foreach ($depTables as $tableClass) {
+ $t = self::getTableFromString($tableClass, $this);
+ foreach ($this->fetchAll($where) as $depRow) {
+ $rowsAffected += $t->_cascadeDelete($thisClass, $depRow->getPrimaryKey());
+ }
}
- $rowsAffected += $this->delete($where);
- break;
- default:
- // no action
- break;
+ }
}
+
+ // CASCADE or CASCADE_RECURSE
+ if (in_array($map[self::ON_DELETE], array(self::CASCADE, self::CASCADE_RECURSE))) {
+ $rowsAffected += $this->delete($where);
+ }
+
}
}
return $rowsAffected;
@@ -1342,10 +1411,11 @@
*
* @param string|array|Zend_Db_Table_Select $where OPTIONAL An SQL WHERE clause or Zend_Db_Table_Select object.
* @param string|array $order OPTIONAL An SQL ORDER clause.
+ * @param int $offset OPTIONAL An SQL OFFSET value.
* @return Zend_Db_Table_Row_Abstract|null The row results per the
* Zend_Db_Adapter fetch mode, or null if no row found.
*/
- public function fetchRow($where = null, $order = null)
+ public function fetchRow($where = null, $order = null, $offset = null)
{
if (!($where instanceof Zend_Db_Table_Select)) {
$select = $this->select();
@@ -1358,10 +1428,10 @@
$this->_order($select, $order);
}
- $select->limit(1);
+ $select->limit(1, ((is_numeric($offset)) ? (int) $offset : null));
} else {
- $select = $where->limit(1);
+ $select = $where->limit(1, $where->getPart(Zend_Db_Select::LIMIT_OFFSET));
}
$rows = $this->_fetch($select);
@@ -1507,4 +1577,38 @@
return $data;
}
+ public static function getTableFromString($tableName, Zend_Db_Table_Abstract $referenceTable = null)
+ {
+ if ($referenceTable instanceof Zend_Db_Table_Abstract) {
+ $tableDefinition = $referenceTable->getDefinition();
+
+ if ($tableDefinition !== null && $tableDefinition->hasTableConfig($tableName)) {
+ return new Zend_Db_Table($tableName, $tableDefinition);
+ }
+ }
+
+ // assume the tableName is the class name
+ if (!class_exists($tableName)) {
+ try {
+ require_once 'Zend/Loader.php';
+ Zend_Loader::loadClass($tableName);
+ } catch (Zend_Exception $e) {
+ require_once 'Zend/Db/Table/Row/Exception.php';
+ throw new Zend_Db_Table_Row_Exception($e->getMessage(), $e->getCode(), $e);
+ }
+ }
+
+ $options = array();
+
+ if ($referenceTable instanceof Zend_Db_Table_Abstract) {
+ $options['db'] = $referenceTable->getAdapter();
+ }
+
+ if (isset($tableDefinition) && $tableDefinition !== null) {
+ $options[Zend_Db_Table_Abstract::DEFINITION] = $tableDefinition;
+ }
+
+ return new $tableName($options);
+ }
+
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Definition.php
--- a/web/lib/Zend/Db/Table/Definition.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Definition.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Definition.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Definition.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table_Definition
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Exception.php
--- a/web/lib/Zend/Db/Table/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table_Exception extends Zend_Db_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Row.php
--- a/web/lib/Zend/Db/Table/Row.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Row.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Row.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Row.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table_Row extends Zend_Db_Table_Row_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Row/Abstract.php
--- a/web/lib/Zend/Db/Table/Row/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Row/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 22229 2010-05-21 20:55:01Z ralph $
+ * @version $Id: Abstract.php 24831 2012-05-30 12:52:25Z rob $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Db_Table_Row_Abstract implements ArrayAccess, IteratorAggregate
@@ -646,7 +646,7 @@
{
return new ArrayIterator((array) $this->_data);
}
-
+
/**
* Returns the column/value data as an array.
*
@@ -725,6 +725,17 @@
}
/**
+ * Retrieves an associative array of primary keys.
+ *
+ * @param bool $useDirty
+ * @return array
+ */
+ public function getPrimaryKey($useDirty = true)
+ {
+ return $this->_getPrimaryKey($useDirty);
+ }
+
+ /**
* Constructs where statement for retrieving row(s).
*
* @param bool $useDirty
@@ -1167,37 +1178,7 @@
*/
protected function _getTableFromString($tableName)
{
-
- if ($this->_table instanceof Zend_Db_Table_Abstract) {
- $tableDefinition = $this->_table->getDefinition();
-
- if ($tableDefinition !== null && $tableDefinition->hasTableConfig($tableName)) {
- return new Zend_Db_Table($tableName, $tableDefinition);
- }
- }
-
- // assume the tableName is the class name
- if (!class_exists($tableName)) {
- try {
- require_once 'Zend/Loader.php';
- Zend_Loader::loadClass($tableName);
- } catch (Zend_Exception $e) {
- require_once 'Zend/Db/Table/Row/Exception.php';
- throw new Zend_Db_Table_Row_Exception($e->getMessage(), $e->getCode(), $e);
- }
- }
-
- $options = array();
-
- if (($table = $this->_getTable())) {
- $options['db'] = $table->getAdapter();
- }
-
- if (isset($tableDefinition) && $tableDefinition !== null) {
- $options[Zend_Db_Table_Abstract::DEFINITION] = $tableDefinition;
- }
-
- return new $tableName($options);
+ return Zend_Db_Table_Abstract::getTableFromString($tableName, $this->_table);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Row/Exception.php
--- a/web/lib/Zend/Db/Table/Row/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Row/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table_Row_Exception extends Zend_Db_Table_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Rowset.php
--- a/web/lib/Zend/Db/Table/Rowset.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Rowset.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rowset.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rowset.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table_Rowset extends Zend_Db_Table_Rowset_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Rowset/Abstract.php
--- a/web/lib/Zend/Db/Table/Rowset/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Rowset/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 23380 2010-11-18 22:22:28Z ralph $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Db_Table_Rowset_Abstract implements SeekableIterator, Countable, ArrayAccess
@@ -384,11 +384,11 @@
require_once 'Zend/Db/Table/Rowset/Exception.php';
throw new Zend_Db_Table_Rowset_Exception('No row could be found at position ' . (int) $position, 0, $e);
}
-
+
if ($seek == true) {
$this->seek($position);
}
-
+
return $row;
}
@@ -408,14 +408,14 @@
}
return $this->_data;
}
-
+
protected function _loadAndReturnRow($position)
{
if (!isset($this->_data[$position])) {
require_once 'Zend/Db/Table/Rowset/Exception.php';
throw new Zend_Db_Table_Rowset_Exception("Data for provided position does not exist");
}
-
+
// do we already have a row object for this position?
if (empty($this->_rows[$position])) {
$this->_rows[$position] = new $this->_rowClass(
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Rowset/Exception.php
--- a/web/lib/Zend/Db/Table/Rowset/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Rowset/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table_Rowset_Exception extends Zend_Db_Table_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Select.php
--- a/web/lib/Zend/Db/Table/Select.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Select.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Select
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Select.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Select.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Db_Table_Select extends Zend_Db_Select
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Db/Table/Select/Exception.php
--- a/web/lib/Zend/Db/Table/Select/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Db/Table/Select/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Db
* @subpackage Select
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Db
* @subpackage Table
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Debug.php
--- a/web/lib/Zend/Debug.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Debug.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Debug
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Debug.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Debug.php 25095 2012-11-07 20:11:07Z rob $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Debug
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -90,7 +90,12 @@
. PHP_EOL;
} else {
if(!extension_loaded('xdebug')) {
- $output = htmlspecialchars($output, ENT_QUOTES);
+ $flags = ENT_QUOTES;
+ // PHP 5.4.0+
+ if (defined('ENT_SUBSTITUTE')) {
+ $flags = ENT_QUOTES | ENT_SUBSTITUTE;
+ }
+ $output = htmlspecialchars($output, $flags);
}
$output = ''
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo.php
--- a/web/lib/Zend/Dojo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -22,9 +22,9 @@
* Enable Dojo components
*
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Dojo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Dojo.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/BuildLayer.php
--- a/web/lib/Zend/Dojo/BuildLayer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/BuildLayer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,16 +14,16 @@
*
* @category Zend
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BuildLayer.php 22280 2010-05-24 20:39:45Z matthew $
+ * @version $Id: BuildLayer.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
* Dojo module layer and custom build profile generation support
*
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_BuildLayer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Data.php
--- a/web/lib/Zend/Dojo/Data.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Data.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Data.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Data.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @uses Iterator
* @uses Countable
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_Data implements ArrayAccess,Iterator,Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Exception.php
--- a/web/lib/Zend/Dojo/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Exception */
@@ -27,7 +27,7 @@
*
* @uses Zend_Exception
* @package Zend_Dojo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form.php
--- a/web/lib/Zend/Dojo/Form.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Form
* @package Zend_Dojo
* @subpackage Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Form.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Form.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form extends Zend_Form
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/AccordionContainer.php
--- a/web/lib/Zend/Dojo/Form/Decorator/AccordionContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/AccordionContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_Form_Decorator_DijitContainer
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccordionContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AccordionContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_AccordionContainer extends Zend_Dojo_Form_Decorator_DijitContainer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/AccordionPane.php
--- a/web/lib/Zend/Dojo/Form/Decorator/AccordionPane.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/AccordionPane.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_Form_Decorator_DijitContainer
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccordionPane.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AccordionPane.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_AccordionPane extends Zend_Dojo_Form_Decorator_DijitContainer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/BorderContainer.php
--- a/web/lib/Zend/Dojo/Form/Decorator/BorderContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/BorderContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_Form_Decorator_DijitContainer
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BorderContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BorderContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_BorderContainer extends Zend_Dojo_Form_Decorator_DijitContainer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/ContentPane.php
--- a/web/lib/Zend/Dojo/Form/Decorator/ContentPane.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/ContentPane.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_Form_Decorator_DijitContainer
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ContentPane.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ContentPane.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_ContentPane extends Zend_Dojo_Form_Decorator_DijitContainer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/DijitContainer.php
--- a/web/lib/Zend/Dojo/Form/Decorator/DijitContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/DijitContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -35,9 +35,9 @@
* @uses Zend_Form_Decorator_Abstract
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DijitContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DijitContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorator_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/DijitElement.php
--- a/web/lib/Zend/Dojo/Form/Decorator/DijitElement.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/DijitElement.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -36,9 +36,9 @@
*
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DijitElement.php 20621 2010-01-25 20:25:23Z matthew $
+ * @version $Id: DijitElement.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelper
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/DijitForm.php
--- a/web/lib/Zend/Dojo/Form/Decorator/DijitForm.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/DijitForm.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -31,9 +31,9 @@
*
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DijitForm.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DijitForm.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_DijitForm extends Zend_Dojo_Form_Decorator_DijitContainer
{
@@ -56,6 +56,11 @@
$dijitParams = $this->getDijitParams();
$attribs = array_merge($this->getAttribs(), $this->getOptions());
+ // Enforce id attribute of form for dojo events
+ if (!isset($attribs['name']) || !$attribs['name']) {
+ $element->setName(get_class($element) . '_' . uniqid());
+ }
+
return $view->form($element->getName(), $attribs, $content);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/SplitContainer.php
--- a/web/lib/Zend/Dojo/Form/Decorator/SplitContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/SplitContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_Form_Decorator_DijitContainer
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SplitContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SplitContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_SplitContainer extends Zend_Dojo_Form_Decorator_DijitContainer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/StackContainer.php
--- a/web/lib/Zend/Dojo/Form/Decorator/StackContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/StackContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_Form_Decorator_DijitContainer
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StackContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: StackContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_StackContainer extends Zend_Dojo_Form_Decorator_DijitContainer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Decorator/TabContainer.php
--- a/web/lib/Zend/Dojo/Form/Decorator/TabContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Decorator/TabContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_Form_Decorator_DijitContainer
* @package Zend_Dojo
* @subpackage Form_Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TabContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TabContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Decorator_TabContainer extends Zend_Dojo_Form_Decorator_DijitContainer
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/DisplayGroup.php
--- a/web/lib/Zend/Dojo/Form/DisplayGroup.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/DisplayGroup.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Form_DisplayGroup
* @package Zend_Dojo
* @subpackage Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DisplayGroup.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DisplayGroup.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_DisplayGroup extends Zend_Form_DisplayGroup
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/Button.php
--- a/web/lib/Zend/Dojo/Form/Element/Button.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/Button.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Button.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Button.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_Button extends Zend_Dojo_Form_Element_Dijit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/CheckBox.php
--- a/web/lib/Zend/Dojo/Form/Element/CheckBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/CheckBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @uses Zend_Dojo_Form_Element_Dijit
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CheckBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CheckBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/ComboBox.php
--- a/web/lib/Zend/Dojo/Form/Element/ComboBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/ComboBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_DijitMulti
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ComboBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ComboBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/CurrencyTextBox.php
--- a/web/lib/Zend/Dojo/Form/Element/CurrencyTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/CurrencyTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_NumberTextBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CurrencyTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CurrencyTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_CurrencyTextBox extends Zend_Dojo_Form_Element_NumberTextBox
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/DateTextBox.php
--- a/web/lib/Zend/Dojo/Form/Element/DateTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/DateTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_ValidationTextBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DateTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DateTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_DateTextBox extends Zend_Dojo_Form_Element_ValidationTextBox
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/Dijit.php
--- a/web/lib/Zend/Dojo/Form/Element/Dijit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/Dijit.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Dijit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Dijit.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/DijitMulti.php
--- a/web/lib/Zend/Dojo/Form/Element/DijitMulti.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/DijitMulti.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @uses Zend_Dojo_Form_Element_Dijit
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DijitMulti.php 22322 2010-05-30 11:12:57Z thomas $
+ * @version $Id: DijitMulti.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_Dijit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/Editor.php
--- a/web/lib/Zend/Dojo/Form/Element/Editor.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/Editor.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Editor.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Editor.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_Form_Element_Dijit */
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
@@ -247,7 +247,7 @@
{
$plugin = (string) $plugin;
$plugins = $this->getPlugins();
- if (in_array($plugin, $plugins)) {
+ if (in_array($plugin, $plugins) && $plugin !== '|') {
return $this;
}
@@ -446,11 +446,11 @@
*/
public function setMinHeight($minHeight)
{
- if (!preg_match('/^\d+(em)?$/i', $minHeight)) {
+ if (!preg_match('/^\d+(em|px|%)?$/i', $minHeight)) {
require_once 'Zend/Form/Element/Exception.php';
throw new Zend_Form_Element_Exception('Invalid minHeight provided; must be integer or CSS measurement');
}
- if ('em' != substr($minHeight, -2)) {
+ if (!preg_match('/(em|px|%)$/', $minHeight)) {
$minHeight .= 'em';
}
return $this->setDijitParam('minHeight', $minHeight);
@@ -596,4 +596,102 @@
}
return $this->getDijitParam('updateInterval');
}
+
+ /**
+ * Add a single editor extra plugin.
+ *
+ * @param string $plugin
+ * @return Zend_Dojo_Form_Element_Editor
+ */
+ public function addExtraPlugin($plugin)
+ {
+ $plugin = (string) $plugin;
+ $extraPlugins = $this->getExtraPlugins();
+ if (in_array($plugin, $extraPlugins)) {
+ return $this;
+ }
+
+ $extraPlugins[] = (string) $plugin;
+ $this->setDijitParam('extraPlugins', $extraPlugins);
+ return $this;
+ }
+
+ /**
+ * Add multiple extra plugins.
+ *
+ * @param array $extraPlugins
+ * @return Zend_Dojo_Form_Element_Editor
+ */
+ public function addExtraPlugins(array $plugins)
+ {
+ foreach ($plugins as $plugin) {
+ $this->addExtraPlugin($plugin);
+ }
+ return $this;
+ }
+
+ /**
+ * Overwrite many extra plugins at once.
+ *
+ * @param array $plugins
+ * @return Zend_Dojo_Form_Element_Editor
+ */
+ public function setExtraPlugins(array $plugins)
+ {
+ $this->clearExtraPlugins();
+ $this->addExtraPlugins($plugins);
+ return $this;
+ }
+
+ /**
+ * Get all extra plugins.
+ *
+ * @return array
+ */
+ public function getExtraPlugins()
+ {
+ if (!$this->hasDijitParam('extraPlugins')) {
+ return array();
+ }
+ return $this->getDijitParam('extraPlugins');
+ }
+
+ /**
+ * Is a given extra plugin registered?
+ *
+ * @param string $plugin
+ * @return bool
+ */
+ public function hasExtraPlugin($plugin)
+ {
+ $extraPlugins = $this->getExtraPlugins();
+ return in_array((string) $plugin, $extraPlugins);
+ }
+
+ /**
+ * Remove a given extra plugin.
+ *
+ * @param string $plugin
+ * @return Zend_Dojo_Form_Element_Editor
+ */
+ public function removeExtraPlugin($plugin)
+ {
+ $extraPlugins = $this->getExtraPlugins();
+ if (false === ($index = array_search($plugin, $extraPlugins))) {
+ return $this;
+ }
+ unset($extraPlugins[$index]);
+ $this->setDijitParam('extraPlugins', $extraPlugins);
+ return $this;
+ }
+
+ /**
+ * Clear all extra plugins.
+ *
+ * @return Zend_Dojo_Form_Element_Editor
+ */
+ public function clearExtraPlugins()
+ {
+ return $this->removeDijitParam('extraPlugins');
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/FilteringSelect.php
--- a/web/lib/Zend/Dojo/Form/Element/FilteringSelect.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/FilteringSelect.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_ComboBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FilteringSelect.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FilteringSelect.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_FilteringSelect extends Zend_Dojo_Form_Element_ComboBox
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/HorizontalSlider.php
--- a/web/lib/Zend/Dojo/Form/Element/HorizontalSlider.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/HorizontalSlider.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_Slider
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HorizontalSlider.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HorizontalSlider.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Slider
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/NumberSpinner.php
--- a/web/lib/Zend/Dojo/Form/Element/NumberSpinner.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/NumberSpinner.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_ValidationTextBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NumberSpinner.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NumberSpinner.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_NumberSpinner extends Zend_Dojo_Form_Element_ValidationTextBox
{
@@ -92,7 +92,7 @@
*/
public function setLargeDelta($delta)
{
- $this->setDijitParam('largeDelta', (int) $delta);
+ $this->setDijitParam('largeDelta', (float) $delta);
return $this;
}
@@ -114,7 +114,7 @@
*/
public function setSmallDelta($delta)
{
- $this->setDijitParam('smallDelta', (int) $delta);
+ $this->setDijitParam('smallDelta', (float) $delta);
return $this;
}
@@ -187,7 +187,7 @@
if ($this->hasDijitParam('constraints')) {
$constraints = $this->getDijitParam('constraints');
}
- $constraints['min'] = (int) $value;
+ $constraints['min'] = (float) $value;
$this->setDijitParam('constraints', $constraints);
return $this;
}
@@ -221,7 +221,7 @@
if ($this->hasDijitParam('constraints')) {
$constraints = $this->getDijitParam('constraints');
}
- $constraints['max'] = (int) $value;
+ $constraints['max'] = (float) $value;
$this->setDijitParam('constraints', $constraints);
return $this;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/NumberTextBox.php
--- a/web/lib/Zend/Dojo/Form/Element/NumberTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/NumberTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_ValidationTextBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NumberTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NumberTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_NumberTextBox extends Zend_Dojo_Form_Element_ValidationTextBox
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/PasswordTextBox.php
--- a/web/lib/Zend/Dojo/Form/Element/PasswordTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/PasswordTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_ValidationTextBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PasswordTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PasswordTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_PasswordTextBox extends Zend_Dojo_Form_Element_ValidationTextBox
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/RadioButton.php
--- a/web/lib/Zend/Dojo/Form/Element/RadioButton.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/RadioButton.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_DijitMulti
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RadioButton.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RadioButton.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_RadioButton extends Zend_Dojo_Form_Element_DijitMulti
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/SimpleTextarea.php
--- a/web/lib/Zend/Dojo/Form/Element/SimpleTextarea.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/SimpleTextarea.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SimpleTextarea.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SimpleTextarea.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_SimpleTextarea extends Zend_Dojo_Form_Element_Dijit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/Slider.php
--- a/web/lib/Zend/Dojo/Form/Element/Slider.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/Slider.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_Dijit
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Slider.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Slider.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Dojo_Form_Element_Slider extends Zend_Dojo_Form_Element_Dijit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/SubmitButton.php
--- a/web/lib/Zend/Dojo/Form/Element/SubmitButton.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/SubmitButton.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubmitButton.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SubmitButton.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_SubmitButton extends Zend_Dojo_Form_Element_Button
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/TextBox.php
--- a/web/lib/Zend/Dojo/Form/Element/TextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/TextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_TextBox extends Zend_Dojo_Form_Element_Dijit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/Textarea.php
--- a/web/lib/Zend/Dojo/Form/Element/Textarea.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/Textarea.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Textarea.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Textarea.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_Textarea extends Zend_Dojo_Form_Element_Dijit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/TimeTextBox.php
--- a/web/lib/Zend/Dojo/Form/Element/TimeTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/TimeTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_DateTextBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TimeTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TimeTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_TimeTextBox extends Zend_Dojo_Form_Element_DateTextBox
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/ValidationTextBox.php
--- a/web/lib/Zend/Dojo/Form/Element/ValidationTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/ValidationTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_TextBox
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ValidationTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ValidationTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_TextBox
{
@@ -132,6 +132,8 @@
*/
public function setConstraints(array $constraints)
{
+ $tmp = $this->getConstraints();
+ $constraints = array_merge($tmp, $constraints);
array_walk_recursive($constraints, array($this, '_castBoolToString'));
$this->setDijitParam('constraints', $constraints);
return $this;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/Element/VerticalSlider.php
--- a/web/lib/Zend/Dojo/Form/Element/VerticalSlider.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/Element/VerticalSlider.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Dojo_Form_Element_Slider
* @package Zend_Dojo
* @subpackage Form_Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VerticalSlider.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VerticalSlider.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slider
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/Form/SubForm.php
--- a/web/lib/Zend/Dojo/Form/SubForm.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/Form/SubForm.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @uses Zend_Form_SubForm
* @package Zend_Dojo
* @subpackage Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubForm.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SubForm.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_Form_SubForm extends Zend_Form_SubForm
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Exception.php
--- a/web/lib/Zend/Dojo/View/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Exception extends Zend_Dojo_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/AccordionContainer.php
--- a/web/lib/Zend/Dojo/View/Helper/AccordionContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/AccordionContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccordionContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AccordionContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_AccordionContainer extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/AccordionPane.php
--- a/web/lib/Zend/Dojo/View/Helper/AccordionPane.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/AccordionPane.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccordionPane.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AccordionPane.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_AccordionPane extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/BorderContainer.php
--- a/web/lib/Zend/Dojo/View/Helper/BorderContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/BorderContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BorderContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BorderContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_BorderContainer extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Button.php
--- a/web/lib/Zend/Dojo/View/Helper/Button.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Button.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Button.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Button.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_Button extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/CheckBox.php
--- a/web/lib/Zend/Dojo/View/Helper/CheckBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/CheckBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CheckBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CheckBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_CheckBox extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/ComboBox.php
--- a/web/lib/Zend/Dojo/View/Helper/ComboBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/ComboBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ComboBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ComboBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_ComboBox extends Zend_Dojo_View_Helper_Dijit
@@ -100,6 +100,10 @@
return $html;
}
+ // required for correct type casting in declerative mode
+ if (isset($params['autocomplete'])) {
+ $params['autocomplete'] = ($params['autocomplete']) ? 'true' : 'false';
+ }
// do as normal select
$attribs = $this->_prepareDijit($attribs, $params, 'element');
return $this->view->formSelect($id, $value, $attribs, $options);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/ContentPane.php
--- a/web/lib/Zend/Dojo/View/Helper/ContentPane.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/ContentPane.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ContentPane.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ContentPane.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_ContentPane extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/CurrencyTextBox.php
--- a/web/lib/Zend/Dojo/View/Helper/CurrencyTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/CurrencyTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CurrencyTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CurrencyTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_CurrencyTextBox extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/CustomDijit.php
--- a/web/lib/Zend/Dojo/View/Helper/CustomDijit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/CustomDijit.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CustomDijit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CustomDijit.php 25024 2012-07-30 15:08:15Z rob $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_CustomDijit extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/DateTextBox.php
--- a/web/lib/Zend/Dojo/View/Helper/DateTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/DateTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DateTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DateTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_DateTextBox extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Dijit.php
--- a/web/lib/Zend/Dojo/View/Helper/Dijit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Dijit.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Dijit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Dijit.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_View_Helper_HtmlElement */
@@ -29,7 +29,7 @@
* @uses Zend_View_Helper_Abstract
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Dojo_View_Helper_Dijit extends Zend_View_Helper_HtmlElement
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/DijitContainer.php
--- a/web/lib/Zend/Dojo/View/Helper/DijitContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/DijitContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DijitContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DijitContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Dojo_View_Helper_DijitContainer extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Dojo.php
--- a/web/lib/Zend/Dojo/View/Helper/Dojo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Dojo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Dojo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Dojo.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -31,7 +31,7 @@
*
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_Dojo
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Dojo/Container.php
--- a/web/lib/Zend/Dojo/View/Helper/Dojo/Container.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Dojo/Container.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Container.php 23368 2010-11-18 19:56:30Z bittarman $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Container.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
*
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_Dojo_Container
@@ -882,7 +882,7 @@
*/
public function addJavascript($js)
{
- $js = preg_replace('/^\s*(.*?)\s*$/s', '$1', $js);
+ $js = trim($js);
if (!in_array(substr($js, -1), array(';', '}'))) {
$js .= ';';
}
@@ -1136,7 +1136,7 @@
}
$onLoadActions = array();
- // Get Zend specific onLoad actions; these will always be first to
+ // Get Zend specific onLoad actions; these will always be first to
// ensure that dijits are created in the correct order
foreach ($this->_getZendLoadActions() as $callback) {
$onLoadActions[] = 'dojo.addOnLoad(' . $callback . ');';
@@ -1177,12 +1177,12 @@
/**
* Add an onLoad action related to ZF dijit creation
*
- * This method is public, but prefixed with an underscore to indicate that
+ * This method is public, but prefixed with an underscore to indicate that
* it should not normally be called by userland code. It is pertinent to
- * ensuring that the correct order of operations occurs during dijit
+ * ensuring that the correct order of operations occurs during dijit
* creation.
- *
- * @param string $callback
+ *
+ * @param string $callback
* @return Zend_Dojo_View_Helper_Dojo_Container
*/
public function _addZendLoad($callback)
@@ -1195,7 +1195,7 @@
/**
* Retrieve all ZF dijit callbacks
- *
+ *
* @return array
*/
public function _getZendLoadActions()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Editor.php
--- a/web/lib/Zend/Dojo/View/Helper/Editor.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Editor.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Editor.php 20116 2010-01-07 14:18:34Z matthew $
+ * @version $Id: Editor.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -32,7 +32,7 @@
* @uses Zend_Dojo_View_Helper_Textarea
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_Editor extends Zend_Dojo_View_Helper_Dijit
@@ -57,14 +57,21 @@
'fontSize' => 'FontChoice',
'formatBlock' => 'FontChoice',
'foreColor' => 'TextColor',
- 'hiliteColor' => 'TextColor'
+ 'hiliteColor' => 'TextColor',
+ 'enterKeyHandling' => 'EnterKeyHandling',
+ 'fullScreen' => 'FullScreen',
+ 'newPage' => 'NewPage',
+ 'print' => 'Print',
+ 'tabIndent' => 'TabIndent',
+ 'toggleDir' => 'ToggleDir',
+ 'viewSource' => 'ViewSource'
);
/**
* JSON-encoded parameters
* @var array
*/
- protected $_jsonParams = array('captureEvents', 'events', 'plugins');
+ protected $_jsonParams = array('captureEvents', 'events', 'plugins', 'extraPlugins');
/**
* dijit.Editor
@@ -83,8 +90,8 @@
}
}
- // Previous versions allowed specifying "degrade" to allow using a
- // textarea instead of a div -- but this is insecure. Removing the
+ // Previous versions allowed specifying "degrade" to allow using a
+ // textarea instead of a div -- but this is insecure. Removing the
// parameter if set to prevent its injection in the dijit.
if (isset($params['degrade'])) {
unset($params['degrade']);
@@ -114,17 +121,18 @@
$attribs = $this->_prepareDijit($attribs, $params, 'textarea');
- $html = ' _htmlAttribs($hiddenAttribs) . $this->getClosingBracket();
- $html .= '_htmlAttribs($attribs) . '>'
+ $html = '
_htmlAttribs($attribs) . '>'
. $value
. "
\n";
- // Embed a textarea in a
tag to allow for graceful
+ // Embed a textarea in a tag to allow for graceful
// degradation
$html .= ''
. $this->view->formTextarea($hiddenId, $value, $attribs)
. ' ';
+ $html .= ' _htmlAttribs($hiddenAttribs) . $this->getClosingBracket();
+
return $html;
}
@@ -178,7 +186,11 @@
function() {
var form = zend.findParentForm(dojo.byId('$hiddenId'));
dojo.connect(form, 'submit', function(e) {
- dojo.byId('$hiddenId').value = dijit.byId('$editorId').getValue(false);
+ var value = dijit.byId('$editorId').getValue(false);
+ if(dojo.isFF) {
+ value = value.replace(/ /, '');
+ }
+ dojo.byId('$hiddenId').value = value;
});
}
EOJ;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/FilteringSelect.php
--- a/web/lib/Zend/Dojo/View/Helper/FilteringSelect.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/FilteringSelect.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FilteringSelect.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FilteringSelect.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_ComboBox */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_ComboBox
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_FilteringSelect extends Zend_Dojo_View_Helper_ComboBox
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Form.php
--- a/web/lib/Zend/Dojo/View/Helper/Form.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Form.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Form.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Form.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_Form extends Zend_Dojo_View_Helper_Dijit
@@ -70,10 +70,6 @@
$attribs['id'] = $id;
}
- if (false === $content) {
- $content = '';
- }
-
$attribs = $this->_prepareDijit($attribs, array(), 'layout');
return $this->getFormHelper()->form($id, $attribs, $content);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/HorizontalSlider.php
--- a/web/lib/Zend/Dojo/View/Helper/HorizontalSlider.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/HorizontalSlider.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HorizontalSlider.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HorizontalSlider.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Slider */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Slider
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_HorizontalSlider extends Zend_Dojo_View_Helper_Slider
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/NumberSpinner.php
--- a/web/lib/Zend/Dojo/View/Helper/NumberSpinner.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/NumberSpinner.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NumberSpinner.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NumberSpinner.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_NumberSpinner extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/NumberTextBox.php
--- a/web/lib/Zend/Dojo/View/Helper/NumberTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/NumberTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NumberTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NumberTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_NumberTextBox extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/PasswordTextBox.php
--- a/web/lib/Zend/Dojo/View/Helper/PasswordTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/PasswordTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PasswordTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PasswordTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_ValidationTextBox */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_PasswordTextBox extends Zend_Dojo_View_Helper_ValidationTextBox
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/RadioButton.php
--- a/web/lib/Zend/Dojo/View/Helper/RadioButton.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/RadioButton.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RadioButton.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RadioButton.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_RadioButton extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/SimpleTextarea.php
--- a/web/lib/Zend/Dojo/View/Helper/SimpleTextarea.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/SimpleTextarea.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SimpleTextarea.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SimpleTextarea.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,9 +29,9 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SimpleTextarea.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SimpleTextarea.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dojo_View_Helper_SimpleTextarea extends Zend_Dojo_View_Helper_Dijit
{
@@ -65,7 +65,6 @@
$attribs['id'] = $id;
}
$attribs['name'] = $id;
- $attribs['type'] = $this->_elementType;
$attribs = $this->_prepareDijit($attribs, $params, 'textarea');
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Slider.php
--- a/web/lib/Zend/Dojo/View/Helper/Slider.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Slider.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Slider.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Slider.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Dojo_View_Helper_Slider extends Zend_Dojo_View_Helper_Dijit
@@ -77,7 +77,7 @@
}
$content = '';
- $params['value'] = $value;
+ $attribs['value'] = $value;
if (!array_key_exists('onChange', $attribs)) {
$attribs['onChange'] = "dojo.byId('" . $id . "').value = arguments[0];";
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/SplitContainer.php
--- a/web/lib/Zend/Dojo/View/Helper/SplitContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/SplitContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SplitContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SplitContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_SplitContainer extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/StackContainer.php
--- a/web/lib/Zend/Dojo/View/Helper/StackContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/StackContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StackContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: StackContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_StackContainer extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/SubmitButton.php
--- a/web/lib/Zend/Dojo/View/Helper/SubmitButton.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/SubmitButton.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubmitButton.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SubmitButton.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Button */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Button
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_SubmitButton extends Zend_Dojo_View_Helper_Button
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/TabContainer.php
--- a/web/lib/Zend/Dojo/View/Helper/TabContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/TabContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TabContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TabContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_DijitContainer */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_DijitContainer
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_TabContainer extends Zend_Dojo_View_Helper_DijitContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/TextBox.php
--- a/web/lib/Zend/Dojo/View/Helper/TextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/TextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_TextBox extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/Textarea.php
--- a/web/lib/Zend/Dojo/View/Helper/Textarea.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/Textarea.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Textarea.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Textarea.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_Textarea extends Zend_Dojo_View_Helper_Dijit
@@ -67,7 +67,6 @@
$attribs['id'] = $id;
}
$attribs['name'] = $id;
- $attribs['type'] = $this->_elementType;
$attribs = $this->_prepareDijit($attribs, $params, 'textarea');
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/TimeTextBox.php
--- a/web/lib/Zend/Dojo/View/Helper/TimeTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/TimeTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TimeTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TimeTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_TimeTextBox extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/ValidationTextBox.php
--- a/web/lib/Zend/Dojo/View/Helper/ValidationTextBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/ValidationTextBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ValidationTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ValidationTextBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Dijit */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Dijit
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_ValidationTextBox extends Zend_Dojo_View_Helper_Dijit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dojo/View/Helper/VerticalSlider.php
--- a/web/lib/Zend/Dojo/View/Helper/VerticalSlider.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dojo/View/Helper/VerticalSlider.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VerticalSlider.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VerticalSlider.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Dojo_View_Helper_Slider */
@@ -29,7 +29,7 @@
* @uses Zend_Dojo_View_Helper_Slider
* @package Zend_Dojo
* @subpackage View
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dojo_View_Helper_VerticalSlider extends Zend_Dojo_View_Helper_Slider
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dom/Exception.php
--- a/web/lib/Zend/Dom/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dom/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Dom
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Exception */
@@ -27,7 +27,7 @@
*
* @category Zend
* @package Zend_Dom
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dom_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dom/Query.php
--- a/web/lib/Zend/Dom/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dom/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Dom
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 23062 2010-10-08 14:05:45Z matthew $
+ * @version $Id: Query.php 25033 2012-08-17 19:50:08Z matthew $
*/
/**
@@ -34,7 +34,7 @@
*
* @package Zend_Dom
* @subpackage Query
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Dom_Query
@@ -90,8 +90,8 @@
/**
* Set document encoding
- *
- * @param string $encoding
+ *
+ * @param string $encoding
* @return Zend_Dom_Query
*/
public function setEncoding($encoding)
@@ -102,7 +102,7 @@
/**
* Get document encoding
- *
+ *
* @return null|string
*/
public function getEncoding()
@@ -124,6 +124,10 @@
}
// breaking XML declaration to make syntax highlighting work
if ('<' . '?xml' == substr(trim($document), 0, 5)) {
+ if (preg_match('/]*xmlns="([^"]+)"[^>]*>/i', $document, $matches)) {
+ $this->_xpathNamespaces[] = $matches[1];
+ return $this->setDocumentXhtml($document, $encoding);
+ }
return $this->setDocumentXml($document, $encoding);
}
if (strstr($document, 'DTD XHTML')) {
@@ -205,7 +209,7 @@
/**
* Get any DOMDocument errors found
- *
+ *
* @return false|array
*/
public function getDocumentErrors()
@@ -241,6 +245,7 @@
$encoding = $this->getEncoding();
libxml_use_internal_errors(true);
+ libxml_disable_entity_loader(true);
if (null === $encoding) {
$domDoc = new DOMDocument('1.0');
} else {
@@ -250,6 +255,14 @@
switch ($type) {
case self::DOC_XML:
$success = $domDoc->loadXML($document);
+ foreach ($domDoc->childNodes as $child) {
+ if ($child->nodeType === XML_DOCUMENT_TYPE_NODE) {
+ require_once 'Zend/Dom/Exception.php';
+ throw new Zend_Dom_Exception(
+ 'Invalid XML: Detected use of illegal DOCTYPE'
+ );
+ }
+ }
break;
case self::DOC_HTML:
case self::DOC_XHTML:
@@ -262,6 +275,7 @@
$this->_documentErrors = $errors;
libxml_clear_errors();
}
+ libxml_disable_entity_loader(false);
libxml_use_internal_errors(false);
if (!$success) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dom/Query/Css2Xpath.php
--- a/web/lib/Zend/Dom/Query/Css2Xpath.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dom/Query/Css2Xpath.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Dom
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,9 +23,9 @@
*
* @package Zend_Dom
* @subpackage Query
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Css2Xpath.php 22044 2010-04-28 19:58:29Z matthew $
+ * @version $Id: Css2Xpath.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dom_Query_Css2Xpath
{
@@ -121,8 +121,8 @@
// Classes
$expression = preg_replace(
- '|\.([a-z][a-z0-9_-]*)|i',
- "[contains(concat(' ', normalize-space(@class), ' '), ' \$1 ')]",
+ '|\.([a-z][a-z0-9_-]*)|i',
+ "[contains(concat(' ', normalize-space(@class), ' '), ' \$1 ')]",
$expression
);
@@ -134,8 +134,8 @@
/**
* Callback for creating equality expressions
- *
- * @param array $matches
+ *
+ * @param array $matches
* @return string
*/
protected static function _createEqualityExpression($matches)
@@ -145,25 +145,25 @@
/**
* Callback for creating expressions to match one or more attribute values
- *
- * @param array $matches
+ *
+ * @param array $matches
* @return string
*/
protected static function _normalizeSpaceAttribute($matches)
{
- return "[contains(concat(' ', normalize-space(@" . strtolower($matches[1]) . "), ' '), ' "
+ return "[contains(concat(' ', normalize-space(@" . strtolower($matches[1]) . "), ' '), ' "
. $matches[2] . " ')]";
}
/**
* Callback for creating a strict "contains" expression
- *
- * @param array $matches
+ *
+ * @param array $matches
* @return string
*/
protected static function _createContainsExpression($matches)
{
- return "[contains(@" . strtolower($matches[1]) . ", '"
+ return "[contains(@" . strtolower($matches[1]) . ", '"
. $matches[2] . "')]";
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Dom/Query/Result.php
--- a/web/lib/Zend/Dom/Query/Result.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Dom/Query/Result.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Dom
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -24,9 +24,9 @@
* @package Zend_Dom
* @subpackage Query
* @uses Iterator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Result.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Result.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Dom_Query_Result implements Iterator,Countable
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/Event.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/Event.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,225 @@
+setName($name);
+ }
+
+ if (null !== $target) {
+ $this->setTarget($target);
+ }
+
+ if (null !== $params) {
+ $this->setParams($params);
+ }
+ }
+
+ /**
+ * Get event name
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Get the event target
+ *
+ * This may be either an object, or the name of a static method.
+ *
+ * @return string|object
+ */
+ public function getTarget()
+ {
+ return $this->target;
+ }
+
+ /**
+ * Set parameters
+ *
+ * Overwrites parameters
+ *
+ * @param array|ArrayAccess|object $params
+ * @return Event
+ */
+ public function setParams($params)
+ {
+ if (!is_array($params) && !is_object($params)) {
+ require_once 'Zend/EventManager/Exception/InvalidArgumentException.php';
+ throw new Zend_EventManager_Exception_InvalidArgumentException(sprintf(
+ 'Event parameters must be an array or object; received "%s"',
+ (is_object($params) ? get_class($params) : gettype($params))
+ ));
+ }
+
+ $this->params = $params;
+ return $this;
+ }
+
+ /**
+ * Get all parameters
+ *
+ * @return array|object|ArrayAccess
+ */
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ /**
+ * Get an individual parameter
+ *
+ * If the parameter does not exist, the $default value will be returned.
+ *
+ * @param string|int $name
+ * @param mixed $default
+ * @return mixed
+ */
+ public function getParam($name, $default = null)
+ {
+ // Check in params that are arrays or implement array access
+ if (is_array($this->params) || $this->params instanceof ArrayAccess) {
+ if (!isset($this->params[$name])) {
+ return $default;
+ }
+
+ return $this->params[$name];
+ }
+
+ // Check in normal objects
+ if (!isset($this->params->{$name})) {
+ return $default;
+ }
+ return $this->params->{$name};
+ }
+
+ /**
+ * Set the event name
+ *
+ * @param string $name
+ * @return Zend_EventManager_Event
+ */
+ public function setName($name)
+ {
+ $this->name = (string) $name;
+ return $this;
+ }
+
+ /**
+ * Set the event target/context
+ *
+ * @param null|string|object $target
+ * @return Zend_EventManager_Event
+ */
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ return $this;
+ }
+
+ /**
+ * Set an individual parameter to a value
+ *
+ * @param string|int $name
+ * @param mixed $value
+ * @return Zend_EventManager_Event
+ */
+ public function setParam($name, $value)
+ {
+ if (is_array($this->params) || $this->params instanceof ArrayAccess) {
+ // Arrays or objects implementing array access
+ $this->params[$name] = $value;
+ } else {
+ // Objects
+ $this->params->{$name} = $value;
+ }
+ return $this;
+ }
+
+ /**
+ * Stop further event propagation
+ *
+ * @param bool $flag
+ * @return void
+ */
+ public function stopPropagation($flag = true)
+ {
+ $this->stopPropagation = (bool) $flag;
+ }
+
+ /**
+ * Is propagation stopped?
+ *
+ * @return bool
+ */
+ public function propagationIsStopped()
+ {
+ return $this->stopPropagation;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/EventCollection.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/EventCollection.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,109 @@
+setIdentifiers($identifiers);
+ }
+
+ /**
+ * Set the event class to utilize
+ *
+ * @param string $class
+ * @return Zend_EventManager_EventManager
+ */
+ public function setEventClass($class)
+ {
+ $this->eventClass = $class;
+ return $this;
+ }
+
+ /**
+ * Set static collections container
+ *
+ * @param Zend_EventManager_StaticEventCollection $collections
+ * @return void
+ */
+ public function setSharedCollections(Zend_EventManager_SharedEventCollection $collections)
+ {
+ $this->sharedCollections = $collections;
+ return $this;
+ }
+
+ /**
+ * Remove any shared collections
+ *
+ * Sets {@link $sharedCollections} to boolean false to disable ability
+ * to lazy-load static event manager instance.
+ *
+ * @return void
+ */
+ public function unsetSharedCollections()
+ {
+ $this->sharedCollections = false;
+ }
+
+ /**
+ * Get static collections container
+ *
+ * @return false|Zend_EventManager_SharedEventCollection
+ */
+ public function getSharedCollections()
+ {
+ if (null === $this->sharedCollections) {
+ $this->setSharedCollections(Zend_EventManager_StaticEventManager::getInstance());
+ }
+ return $this->sharedCollections;
+ }
+
+ /**
+ * Get the identifier(s) for this Zend_EventManager_EventManager
+ *
+ * @return array
+ */
+ public function getIdentifiers()
+ {
+ return $this->identifiers;
+ }
+
+ /**
+ * Set the identifiers (overrides any currently set identifiers)
+ *
+ * @param string|int|array|Traversable $identifiers
+ * @return Zend_EventManager_EventManager
+ */
+ public function setIdentifiers($identifiers)
+ {
+ if (is_array($identifiers) || $identifiers instanceof Traversable) {
+ $this->identifiers = array_unique((array) $identifiers);
+ } elseif ($identifiers !== null) {
+ $this->identifiers = array($identifiers);
+ }
+ return $this;
+ }
+
+ /**
+ * Add some identifier(s) (appends to any currently set identifiers)
+ *
+ * @param string|int|array|Traversable $identifiers
+ * @return Zend_EventManager_EventManager
+ */
+ public function addIdentifiers($identifiers)
+ {
+ if (is_array($identifiers) || $identifiers instanceof Traversable) {
+ $this->identifiers = array_unique($this->identifiers + (array) $identifiers);
+ } elseif ($identifiers !== null) {
+ $this->identifiers = array_unique(array_merge($this->identifiers, array($identifiers)));
+ }
+ return $this;
+ }
+
+ /**
+ * Trigger all listeners for a given event
+ *
+ * Can emulate triggerUntil() if the last argument provided is a callback.
+ *
+ * @param string $event
+ * @param string|object $target Object calling emit, or symbol describing target (such as static method name)
+ * @param array|ArrayAccess $argv Array of arguments; typically, should be associative
+ * @param null|callback $callback
+ * @return Zend_EventManager_ResponseCollection All listener return values
+ */
+ public function trigger($event, $target = null, $argv = array(), $callback = null)
+ {
+ if ($event instanceof Zend_EventManager_EventDescription) {
+ $e = $event;
+ $event = $e->getName();
+ $callback = $target;
+ } elseif ($target instanceof Zend_EventManager_EventDescription) {
+ $e = $target;
+ $e->setName($event);
+ $callback = $argv;
+ } elseif ($argv instanceof Zend_EventManager_EventDescription) {
+ $e = $argv;
+ $e->setName($event);
+ $e->setTarget($target);
+ } else {
+ $e = new $this->eventClass();
+ $e->setName($event);
+ $e->setTarget($target);
+ $e->setParams($argv);
+ }
+
+ if ($callback && !is_callable($callback)) {
+ require_once 'Zend/Stdlib/Exception/InvalidCallbackException.php';
+ throw new Zend_Stdlib_Exception_InvalidCallbackException('Invalid callback provided');
+ }
+
+ return $this->triggerListeners($event, $e, $callback);
+ }
+
+ /**
+ * Trigger listeners until return value of one causes a callback to
+ * evaluate to true
+ *
+ * Triggers listeners until the provided callback evaluates the return
+ * value of one as true, or until all listeners have been executed.
+ *
+ * @param string $event
+ * @param string|object $target Object calling emit, or symbol describing target (such as static method name)
+ * @param array|ArrayAccess $argv Array of arguments; typically, should be associative
+ * @param Callable $callback
+ * @throws Zend_Stdlib_Exception_InvalidCallbackException if invalid callback provided
+ */
+ public function triggerUntil($event, $target, $argv = null, $callback = null)
+ {
+ if ($event instanceof Zend_EventManager_EventDescription) {
+ $e = $event;
+ $event = $e->getName();
+ $callback = $target;
+ } elseif ($target instanceof Zend_EventManager_EventDescription) {
+ $e = $target;
+ $e->setName($event);
+ $callback = $argv;
+ } elseif ($argv instanceof Zend_EventManager_EventDescription) {
+ $e = $argv;
+ $e->setName($event);
+ $e->setTarget($target);
+ } else {
+ $e = new $this->eventClass();
+ $e->setName($event);
+ $e->setTarget($target);
+ $e->setParams($argv);
+ }
+
+ if (!is_callable($callback)) {
+ require_once 'Zend/Stdlib/Exception/InvalidCallbackException.php';
+ throw new Zend_Stdlib_Exception_InvalidCallbackException('Invalid callback provided');
+ }
+
+ return $this->triggerListeners($event, $e, $callback);
+ }
+
+ /**
+ * Attach a listener to an event
+ *
+ * The first argument is the event, and the next argument describes a
+ * callback that will respond to that event. A CallbackHandler instance
+ * describing the event listener combination will be returned.
+ *
+ * The last argument indicates a priority at which the event should be
+ * executed. By default, this value is 1; however, you may set it for any
+ * integer value. Higher values have higher priority (i.e., execute first).
+ *
+ * You can specify "*" for the event name. In such cases, the listener will
+ * be triggered for every event.
+ *
+ * @param string|array|Zend_EventManager_ListenerAggregate $event An event or array of event names. If a ListenerAggregate, proxies to {@link attachAggregate()}.
+ * @param callback|int $callback If string $event provided, expects PHP callback; for a ListenerAggregate $event, this will be the priority
+ * @param int $priority If provided, the priority at which to register the callback
+ * @return Zend_Stdlib_CallbackHandler|mixed CallbackHandler if attaching callback (to allow later unsubscribe); mixed if attaching aggregate
+ */
+ public function attach($event, $callback = null, $priority = 1)
+ {
+ // Proxy ListenerAggregate arguments to attachAggregate()
+ if ($event instanceof Zend_EventManager_ListenerAggregate) {
+ return $this->attachAggregate($event, $callback);
+ }
+
+ // Null callback is invalid
+ if (null === $callback) {
+ require_once 'Zend/EventManager/Exception/InvalidArgumentException.php';
+ throw new Zend_EventManager_Exception_InvalidArgumentException(sprintf(
+ '%s: expects a callback; none provided',
+ __METHOD__
+ ));
+ }
+
+ // Array of events should be registered individually, and return an array of all listeners
+ if (is_array($event)) {
+ $listeners = array();
+ foreach ($event as $name) {
+ $listeners[] = $this->attach($name, $callback, $priority);
+ }
+ return $listeners;
+ }
+
+ // If we don't have a priority queue for the event yet, create one
+ if (empty($this->events[$event])) {
+ $this->events[$event] = new Zend_Stdlib_PriorityQueue();
+ }
+
+ // Create a callback handler, setting the event and priority in its metadata
+ $listener = new Zend_Stdlib_CallbackHandler($callback, array('event' => $event, 'priority' => $priority));
+
+ // Inject the callback handler into the queue
+ $this->events[$event]->insert($listener, $priority);
+ return $listener;
+ }
+
+ /**
+ * Attach a listener aggregate
+ *
+ * Listener aggregates accept an EventCollection instance, and call attach()
+ * one or more times, typically to attach to multiple events using local
+ * methods.
+ *
+ * @param Zend_EventManager_ListenerAggregate $aggregate
+ * @param int $priority If provided, a suggested priority for the aggregate to use
+ * @return mixed return value of {@link Zend_EventManager_ListenerAggregate::attach()}
+ */
+ public function attachAggregate(Zend_EventManager_ListenerAggregate $aggregate, $priority = 1)
+ {
+ return $aggregate->attach($this, $priority);
+ }
+
+ /**
+ * Unsubscribe a listener from an event
+ *
+ * @param Zend_Stdlib_CallbackHandler|Zend_EventManager_ListenerAggregate $listener
+ * @return bool Returns true if event and listener found, and unsubscribed; returns false if either event or listener not found
+ * @throws Zend_EventManager_Exception_InvalidArgumentException if invalid listener provided
+ */
+ public function detach($listener)
+ {
+ if ($listener instanceof Zend_EventManager_ListenerAggregate) {
+ return $this->detachAggregate($listener);
+ }
+
+ if (!$listener instanceof Zend_Stdlib_CallbackHandler) {
+ require_once 'Zend/EventManager/Exception/InvalidArgumentException.php';
+ throw new Zend_EventManager_Exception_InvalidArgumentException(sprintf(
+ '%s: expected a Zend_EventManager_ListenerAggregate or Zend_Stdlib_CallbackHandler; received "%s"',
+ __METHOD__,
+ (is_object($listener) ? get_class($listener) : gettype($listener))
+ ));
+ }
+
+ $event = $listener->getMetadatum('event');
+ if (!$event || empty($this->events[$event])) {
+ return false;
+ }
+ $return = $this->events[$event]->remove($listener);
+ if (!$return) {
+ return false;
+ }
+ if (!count($this->events[$event])) {
+ unset($this->events[$event]);
+ }
+ return true;
+ }
+
+ /**
+ * Detach a listener aggregate
+ *
+ * Listener aggregates accept an EventCollection instance, and call detach()
+ * of all previously attached listeners.
+ *
+ * @param Zend_EventManager_ListenerAggregate $aggregate
+ * @return mixed return value of {@link Zend_EventManager_ListenerAggregate::detach()}
+ */
+ public function detachAggregate(Zend_EventManager_ListenerAggregate $aggregate)
+ {
+ return $aggregate->detach($this);
+ }
+
+ /**
+ * Retrieve all registered events
+ *
+ * @return array
+ */
+ public function getEvents()
+ {
+ return array_keys($this->events);
+ }
+
+ /**
+ * Retrieve all listeners for a given event
+ *
+ * @param string $event
+ * @return Zend_Stdlib_PriorityQueue
+ */
+ public function getListeners($event)
+ {
+ if (!array_key_exists($event, $this->events)) {
+ return new Zend_Stdlib_PriorityQueue();
+ }
+ return $this->events[$event];
+ }
+
+ /**
+ * Clear all listeners for a given event
+ *
+ * @param string $event
+ * @return void
+ */
+ public function clearListeners($event)
+ {
+ if (!empty($this->events[$event])) {
+ unset($this->events[$event]);
+ }
+ }
+
+ /**
+ * Prepare arguments
+ *
+ * Use this method if you want to be able to modify arguments from within a
+ * listener. It returns an ArrayObject of the arguments, which may then be
+ * passed to trigger() or triggerUntil().
+ *
+ * @param array $args
+ * @return ArrayObject
+ */
+ public function prepareArgs(array $args)
+ {
+ return new ArrayObject($args);
+ }
+
+ /**
+ * Trigger listeners
+ *
+ * Actual functionality for triggering listeners, to which both trigger() and triggerUntil()
+ * delegate.
+ *
+ * @param string $event Event name
+ * @param EventDescription $e
+ * @param null|callback $callback
+ * @return ResponseCollection
+ */
+ protected function triggerListeners($event, Zend_EventManager_EventDescription $e, $callback = null)
+ {
+ $responses = new Zend_EventManager_ResponseCollection;
+ $listeners = $this->getListeners($event);
+
+ // Add shared/wildcard listeners to the list of listeners,
+ // but don't modify the listeners object
+ $sharedListeners = $this->getSharedListeners($event);
+ $sharedWildcardListeners = $this->getSharedListeners('*');
+ $wildcardListeners = $this->getListeners('*');
+ if (count($sharedListeners) || count($sharedWildcardListeners) || count($wildcardListeners)) {
+ $listeners = clone $listeners;
+ }
+
+ // Shared listeners on this specific event
+ $this->insertListeners($listeners, $sharedListeners);
+
+ // Shared wildcard listeners
+ $this->insertListeners($listeners, $sharedWildcardListeners);
+
+ // Add wildcard listeners
+ $this->insertListeners($listeners, $wildcardListeners);
+
+ if ($listeners->isEmpty()) {
+ return $responses;
+ }
+
+ foreach ($listeners as $listener) {
+ // Trigger the listener's callback, and push its result onto the
+ // response collection
+ $responses->push(call_user_func($listener->getCallback(), $e));
+
+ // If the event was asked to stop propagating, do so
+ if ($e->propagationIsStopped()) {
+ $responses->setStopped(true);
+ break;
+ }
+
+ // If the result causes our validation callback to return true,
+ // stop propagation
+ if ($callback && call_user_func($callback, $responses->last())) {
+ $responses->setStopped(true);
+ break;
+ }
+ }
+
+ return $responses;
+ }
+
+ /**
+ * Get list of all listeners attached to the shared collection for
+ * identifiers registered by this instance
+ *
+ * @param string $event
+ * @return array
+ */
+ protected function getSharedListeners($event)
+ {
+ if (!$sharedCollections = $this->getSharedCollections()) {
+ return array();
+ }
+
+ $identifiers = $this->getIdentifiers();
+ $sharedListeners = array();
+
+ foreach ($identifiers as $id) {
+ if (!$listeners = $sharedCollections->getListeners($id, $event)) {
+ continue;
+ }
+
+ if (!is_array($listeners) && !($listeners instanceof Traversable)) {
+ continue;
+ }
+
+ foreach ($listeners as $listener) {
+ if (!$listener instanceof Zend_Stdlib_CallbackHandler) {
+ continue;
+ }
+ $sharedListeners[] = $listener;
+ }
+ }
+
+ return $sharedListeners;
+ }
+
+ /**
+ * Add listeners to the master queue of listeners
+ *
+ * Used to inject shared listeners and wildcard listeners.
+ *
+ * @param Zend_Stdlib_PriorityQueue $masterListeners
+ * @param Zend_Stdlib_PriorityQueue $listeners
+ * @return void
+ */
+ protected function insertListeners($masterListeners, $listeners)
+ {
+ if (!count($listeners)) {
+ return;
+ }
+
+ foreach ($listeners as $listener) {
+ $priority = $listener->getMetadatum('priority');
+ if (null === $priority) {
+ $priority = 1;
+ } elseif (is_array($priority)) {
+ // If we have an array, likely using PriorityQueue. Grab first
+ // element of the array, as that's the actual priority.
+ $priority = array_shift($priority);
+ }
+ $masterListeners->insert($listener, $priority);
+ }
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/EventManagerAware.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/EventManagerAware.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,40 @@
+setExtractFlags(self::EXTR_BOTH);
+
+ // Iterate and remove any matches
+ $removed = false;
+ $items = array();
+ $this->rewind();
+ while (!$this->isEmpty()) {
+ $item = $this->extract();
+ if ($item['data'] === $datum) {
+ $removed = true;
+ continue;
+ }
+ $items[] = $item;
+ }
+
+ // Repopulate
+ foreach ($items as $item) {
+ $this->insert($item['data'], $item['priority']);
+ }
+
+ $this->setExtractFlags(self::EXTR_DATA);
+ return $removed;
+ }
+
+ /**
+ * Iterate the next filter in the chain
+ *
+ * Iterates and calls the next filter in the chain.
+ *
+ * @param mixed $context
+ * @param array $params
+ * @param Zend_EventManager_Filter_FilterIterator $chain
+ * @return void
+ */
+ public function next($context = null, array $params = array(), $chain = null)
+ {
+ if (empty($context) || $chain->isEmpty()) {
+ return;
+ }
+
+ $next = $this->extract();
+ if (!$next instanceof Zend_Stdlib_CallbackHandler) {
+ return;
+ }
+
+ $return = call_user_func($next->getCallback(), $context, $params, $chain);
+ return $return;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/FilterChain.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/FilterChain.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,138 @@
+filters = new Zend_EventManager_Filter_FilterIterator();
+ }
+
+ /**
+ * Apply the filters
+ *
+ * Begins iteration of the filters.
+ *
+ * @param mixed $context Object under observation
+ * @param mixed $argv Associative array of arguments
+ * @return mixed
+ */
+ public function run($context, array $argv = array())
+ {
+ $chain = clone $this->getFilters();
+
+ if ($chain->isEmpty()) {
+ return;
+ }
+
+ $next = $chain->extract();
+ if (!$next instanceof Zend_Stdlib_CallbackHandler) {
+ return;
+ }
+
+ return call_user_func($next->getCallback(), $context, $argv, $chain);
+ }
+
+ /**
+ * Connect a filter to the chain
+ *
+ * @param callback $callback PHP Callback
+ * @param int $priority Priority in the queue at which to execute; defaults to 1 (higher numbers == higher priority)
+ * @return Zend_Stdlib_CallbackHandler (to allow later unsubscribe)
+ */
+ public function attach($callback, $priority = 1)
+ {
+ if (empty($callback)) {
+ require_once 'Zend/Stdlib/Exception/InvalidCallbackException.php';
+ throw new Zend_Stdlib_Exception_InvalidCallbackException('No callback provided');
+ }
+ $filter = new Zend_Stdlib_CallbackHandler($callback, array('priority' => $priority));
+ $this->filters->insert($filter, $priority);
+ return $filter;
+ }
+
+ /**
+ * Detach a filter from the chain
+ *
+ * @param Zend_Stdlib_CallbackHandler $filter
+ * @return bool Returns true if filter found and unsubscribed; returns false otherwise
+ */
+ public function detach(Zend_Stdlib_CallbackHandler $filter)
+ {
+ return $this->filters->remove($filter);
+ }
+
+ /**
+ * Retrieve all filters
+ *
+ * @return Zend_EventManager_Filter_FilterIterator
+ */
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+
+ /**
+ * Clear all filters
+ *
+ * @return void
+ */
+ public function clearFilters()
+ {
+ $this->filters = new Zend_EventManager_Filter_FilterIterator();
+ }
+
+ /**
+ * Return current responses
+ *
+ * Only available while the chain is still being iterated. Returns the
+ * current ResponseCollection.
+ *
+ * @return null|Zend_EventManager_ResponseCollection
+ */
+ public function getResponses()
+ {
+ return $this->responses;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/GlobalEventManager.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/GlobalEventManager.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,149 @@
+trigger($event, $context, $argv);
+ }
+
+ /**
+ * Trigger listeenrs until return value of one causes a callback to evaluate
+ * to true.
+ *
+ * @param string $event
+ * @param string|object $context
+ * @param array|object $argv
+ * @param callback $callback
+ * @return Zend_EventManager_ResponseCollection
+ */
+ public static function triggerUntil($event, $context, $argv, $callback)
+ {
+ return self::getEventCollection()->triggerUntil($event, $context, $argv, $callback);
+ }
+
+ /**
+ * Attach a listener to an event
+ *
+ * @param string $event
+ * @param callback $callback
+ * @param int $priority
+ * @return Zend_Stdlib_CallbackHandler
+ */
+ public static function attach($event, $callback, $priority = 1)
+ {
+ return self::getEventCollection()->attach($event, $callback, $priority);
+ }
+
+ /**
+ * Detach a callback from a listener
+ *
+ * @param Zend_Stdlib_CallbackHandler $listener
+ * @return bool
+ */
+ public static function detach(Zend_Stdlib_CallbackHandler $listener)
+ {
+ return self::getEventCollection()->detach($listener);
+ }
+
+ /**
+ * Retrieve list of events this object manages
+ *
+ * @return array
+ */
+ public static function getEvents()
+ {
+ return self::getEventCollection()->getEvents();
+ }
+
+ /**
+ * Retrieve all listeners for a given event
+ *
+ * @param string $event
+ * @return Zend_Stdlib_PriorityQueue|array
+ */
+ public static function getListeners($event)
+ {
+ return self::getEventCollection()->getListeners($event);
+ }
+
+ /**
+ * Clear all listeners for a given event
+ *
+ * @param string $event
+ * @return void
+ */
+ public static function clearListeners($event)
+ {
+ return self::getEventCollection()->clearListeners($event);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/ListenerAggregate.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/ListenerAggregate.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,53 @@
+ true,
+ self::IT_MODE_KEEP => true,
+ );
+
+ if (!isset($expected[$mode])) {
+ throw new InvalidArgumentException(sprintf('Invalid iterator mode specified ("%s")', $mode));
+ }
+
+ $this->mode = $mode;
+ }
+
+ /**
+ * Return last element in the stack
+ *
+ * @return mixed
+ */
+ public function bottom()
+ {
+ $this->rewind();
+ $value = array_pop($this->stack);
+ array_push($this->stack, $value);
+ return $value;
+ }
+
+ /**
+ * Countable: return count of items in the stack
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return $this->count;
+ }
+
+ /**
+ * Iterator: return current item in the stack
+ *
+ * @return mixed
+ */
+ public function current()
+ {
+ if (!$this->stack) {
+ $this->rewind();
+ }
+ return current($this->stack);
+ }
+
+ /**
+ * Get iteration mode
+ *
+ * @return int
+ */
+ public function getIteratorMode()
+ {
+ return $this->mode;
+ }
+
+ /**
+ * Is the stack empty?
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return ($this->count === 0);
+ }
+
+ /**
+ * Iterator: return key of current item in the stack
+ *
+ * @return mixed
+ */
+ public function key()
+ {
+ if (!$this->stack) {
+ $this->rewind();
+ }
+ return key($this->stack);
+ }
+
+ /**
+ * Iterator: advance pointer to next item in the stack
+ *
+ * @return void
+ */
+ public function next()
+ {
+ if (!$this->stack) {
+ $this->rewind();
+ }
+ return next($this->stack);
+ }
+
+ /**
+ * ArrayAccess: does an item exist at the specified offset?
+ *
+ * @param mixed $index
+ * @return bool
+ */
+ public function offsetExists($index)
+ {
+ return array_key_exists($index, $this->data);
+ }
+
+ /**
+ * ArrayAccess: get the item at the specified offset
+ *
+ * @param mixed $index
+ * @return mixed
+ * @throws OutOfRangeException
+ */
+ public function offsetGet($index)
+ {
+ if (!$this->offsetExists($index)) {
+ throw OutOfRangeException(sprintf('Invalid index ("%s") specified', $index));
+ }
+ return $this->data[$index];
+ }
+
+ /**
+ * ArrayAccess: add an item at the specified offset
+ *
+ * @param mixed $index
+ * @param mixed $newval
+ * @return void
+ */
+ public function offsetSet($index, $newval)
+ {
+ $this->data[$index] = $newval;
+ $this->stack = false;
+ $this->count++;
+ }
+
+ /**
+ * ArrayAccess: unset the item at the specified offset
+ *
+ * @param mixed $index
+ * @return void
+ * @throws OutOfRangeException
+ */
+ public function offsetUnset($index)
+ {
+ if (!$this->offsetExists($index)) {
+ throw OutOfRangeException(sprintf('Invalid index ("%s") specified', $index));
+ }
+ unset($this->data[$index]);
+ $this->stack = false;
+ $this->count--;
+ }
+
+ /**
+ * Pop a node from the end of the stack
+ *
+ * @return mixed
+ * @throws RuntimeException
+ */
+ public function pop()
+ {
+ $val = array_pop($this->data);
+ $this->stack = false;
+ $this->count--;
+ return $val;
+ }
+
+ /**
+ * Move the iterator to the previous node
+ *
+ * @todo Does this need to be implemented?
+ * @return void
+ */
+ public function prev()
+ {
+ }
+
+ /**
+ * Push an element to the list
+ *
+ * @param mixed $value
+ * @return void
+ */
+ public function push($value)
+ {
+ array_push($this->data, $value);
+ $this->count++;
+ $this->stack = false;
+ }
+
+ /**
+ * Iterator: rewind to beginning of stack
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ if (is_array($this->stack)) {
+ return reset($this->stack);
+ }
+ $this->stack = array_reverse($this->data, true);
+ }
+
+ /**
+ * Serialize the storage
+ *
+ * @return string
+ */
+ public function serialize()
+ {
+ return serialize($this->data);
+ }
+
+ /**
+ * Shifts a node from the beginning of the list
+ *
+ * @return mixed
+ * @throws RuntimeException
+ */
+ public function shift()
+ {
+ $val = array_shift($this->data);
+ $this->stack = false;
+ $this->count--;
+ return $val;
+ }
+
+ /**
+ * Peek at the top node of the stack
+ *
+ * @return mixed
+ */
+ public function top()
+ {
+ $this->rewind();
+ $value = array_shift($this->stack);
+ array_unshift($this->stack, $value);
+ return $value;
+ }
+
+ /**
+ * Unserialize the storage
+ *
+ * @param string
+ * @return void
+ */
+ public function unserialize($serialized)
+ {
+ $this->data = unserialize($serialized);
+ $this->stack = false;
+ }
+
+ /**
+ * Unshift a node onto the beginning of the list
+ *
+ * @param mixed $value
+ * @return void
+ */
+ public function unshift($value)
+ {
+ array_unshift($this->data, $value);
+ $this->count++;
+ $this->stack = false;
+ }
+
+ /**
+ * Iterator: is the current pointer valid?
+ *
+ * @return bool
+ */
+ public function valid()
+ {
+ $key = key($this->stack);
+ $var = ($key !== null && $key !== false);
+ return $var;
+ }
+ }
+}
+
+/**
+ * Collection of signal handler return values
+ *
+ * @category Zend
+ * @package Zend_EventManager
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_EventManager_ResponseCollection extends SplStack
+{
+ protected $stopped = false;
+
+ /**
+ * Did the last response provided trigger a short circuit of the stack?
+ *
+ * @return bool
+ */
+ public function stopped()
+ {
+ return $this->stopped;
+ }
+
+ /**
+ * Mark the collection as stopped (or its opposite)
+ *
+ * @param bool $flag
+ * @return Zend_EventManager_ResponseCollection
+ */
+ public function setStopped($flag)
+ {
+ $this->stopped = (bool) $flag;
+ return $this;
+ }
+
+ /**
+ * Convenient access to the first handler return value.
+ *
+ * @return mixed The first handler return value
+ */
+ public function first()
+ {
+ return parent::bottom();
+ }
+
+ /**
+ * Convenient access to the last handler return value.
+ *
+ * If the collection is empty, returns null. Otherwise, returns value
+ * returned by last handler.
+ *
+ * @return mixed The last handler return value
+ */
+ public function last()
+ {
+ if (count($this) === 0) {
+ return null;
+ }
+ return parent::top();
+ }
+
+ /**
+ * Check if any of the responses match the given value.
+ *
+ * @param mixed $value The value to look for among responses
+ */
+ public function contains($value)
+ {
+ foreach ($this as $response) {
+ if ($response === $value) {
+ return true;
+ }
+ }
+ return false;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/SharedEventCollection.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/SharedEventCollection.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,32 @@
+
+ * SharedEventManager::getInstance()->connect(
+ * array('My\Resource\AbstractResource', 'My\Resource\EntityResource'),
+ * 'getOne',
+ * function ($e) use ($cache) {
+ * if (!$id = $e->getParam('id', false)) {
+ * return;
+ * }
+ * if (!$data = $cache->load(get_class($resource) . '::getOne::' . $id )) {
+ * return;
+ * }
+ * return $data;
+ * }
+ * );
+ *
+ *
+ * @param string|array $id Identifier(s) for event emitting component(s)
+ * @param string $event
+ * @param callback $callback PHP Callback
+ * @param int $priority Priority at which listener should execute
+ * @return void
+ */
+ public function attach($id, $event, $callback, $priority = 1)
+ {
+ $ids = (array) $id;
+ foreach ($ids as $id) {
+ if (!array_key_exists($id, $this->identifiers)) {
+ $this->identifiers[$id] = new Zend_EventManager_EventManager();
+ }
+ $this->identifiers[$id]->attach($event, $callback, $priority);
+ }
+ }
+
+ /**
+ * Detach a listener from an event offered by a given resource
+ *
+ * @param string|int $id
+ * @param Zend_Stdlib_CallbackHandler $listener
+ * @return bool Returns true if event and listener found, and unsubscribed; returns false if either event or listener not found
+ */
+ public function detach($id, Zend_Stdlib_CallbackHandler $listener)
+ {
+ if (!array_key_exists($id, $this->identifiers)) {
+ return false;
+ }
+ return $this->identifiers[$id]->detach($listener);
+ }
+
+ /**
+ * Retrieve all registered events for a given resource
+ *
+ * @param string|int $id
+ * @return array
+ */
+ public function getEvents($id)
+ {
+ if (!array_key_exists($id, $this->identifiers)) {
+ return false;
+ }
+ return $this->identifiers[$id]->getEvents();
+ }
+
+ /**
+ * Retrieve all listeners for a given identifier and event
+ *
+ * @param string|int $id
+ * @param string|int $event
+ * @return false|Zend_Stdlib_PriorityQueue
+ */
+ public function getListeners($id, $event)
+ {
+ if (!array_key_exists($id, $this->identifiers)) {
+ return false;
+ }
+ return $this->identifiers[$id]->getListeners($event);
+ }
+
+ /**
+ * Clear all listeners for a given identifier, optionally for a specific event
+ *
+ * @param string|int $id
+ * @param null|string $event
+ * @return bool
+ */
+ public function clearListeners($id, $event = null)
+ {
+ if (!array_key_exists($id, $this->identifiers)) {
+ return false;
+ }
+
+ if (null === $event) {
+ unset($this->identifiers[$id]);
+ return true;
+ }
+
+ return $this->identifiers[$id]->clearListeners($event);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/EventManager/StaticEventManager.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/EventManager/StaticEventManager.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,80 @@
+getPrevious())) {
- return $e->__toString()
- . "\n\nNext "
+ return $e->__toString()
+ . "\n\nNext "
. parent::__toString();
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed.php
--- a/web/lib/Zend/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 25160 2012-12-18 15:17:16Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed
@@ -191,7 +191,8 @@
public static function importString($string)
{
// Load the feed as an XML DOMDocument object
- $libxml_errflag = libxml_use_internal_errors(true);
+ $libxml_errflag = libxml_use_internal_errors(true);
+ $libxml_entity_loader = libxml_disable_entity_loader(true);
$doc = new DOMDocument;
if (trim($string) == '') {
require_once 'Zend/Feed/Exception.php';
@@ -199,9 +200,9 @@
. ' is an Empty string or comes from an empty HTTP response');
}
$status = $doc->loadXML($string);
+ libxml_disable_entity_loader($libxml_entity_loader);
libxml_use_internal_errors($libxml_errflag);
-
if (!$status) {
// prevent the class to generate an undefined variable notice (ZF-2590)
// Build error message
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Abstract.php
--- a/web/lib/Zend/Feed/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 25160 2012-12-18 15:17:16Z matthew $
*/
@@ -37,7 +37,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Abstract extends Zend_Feed_Element implements Iterator, Countable
@@ -81,9 +81,9 @@
* @see Zend_Feed_Exception
*/
require_once 'Zend/Feed/Exception.php';
- throw new Zend_Feed_Exception('Feed failed to load, got response code ' . $response->getStatus());
+ throw new Zend_Feed_Exception('Feed failed to load, got response code ' . $response->getStatus() . '; request: ' . $client->getLastRequest() . "\nresponse: " . $response->asString());
}
- $this->_element = $response->getBody();
+ $this->_element = $this->_importFeedFromString($response->getBody());
$this->__wakeup();
} elseif ($string !== null) {
// Retrieve the feed from $string
@@ -256,4 +256,49 @@
* @return void
*/
abstract public function send();
+
+ /**
+ * Import a feed from a string
+ *
+ * Protects against XXE attack vectors.
+ *
+ * @param string $feed
+ * @return string
+ * @throws Zend_Feed_Exception on detection of an XXE vector
+ */
+ protected function _importFeedFromString($feed)
+ {
+ // Load the feed as an XML DOMDocument object
+ $libxml_errflag = libxml_use_internal_errors(true);
+ $libxml_entity_loader = libxml_disable_entity_loader(true);
+ $doc = new DOMDocument;
+ if (trim($feed) == '') {
+ require_once 'Zend/Feed/Exception.php';
+ throw new Zend_Feed_Exception('Remote feed being imported'
+ . ' is an Empty string or comes from an empty HTTP response');
+ }
+ $status = $doc->loadXML($feed);
+ libxml_disable_entity_loader($libxml_entity_loader);
+ libxml_use_internal_errors($libxml_errflag);
+
+ if (!$status) {
+ // prevent the class to generate an undefined variable notice (ZF-2590)
+ // Build error message
+ $error = libxml_get_last_error();
+ if ($error && $error->message) {
+ $errormsg = "DOMDocument cannot parse XML: {$error->message}";
+ } else {
+ $errormsg = "DOMDocument cannot parse XML";
+ }
+
+
+ /**
+ * @see Zend_Feed_Exception
+ */
+ require_once 'Zend/Feed/Exception.php';
+ throw new Zend_Feed_Exception($errormsg);
+ }
+
+ return $doc->saveXML($doc->documentElement);
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Atom.php
--- a/web/lib/Zend/Feed/Atom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Atom.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Atom.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -44,7 +44,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Atom extends Zend_Feed_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Builder.php
--- a/web/lib/Zend/Feed/Builder.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Builder.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Builder.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Builder.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -44,7 +44,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Builder implements Zend_Feed_Builder_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Builder/Entry.php
--- a/web/lib/Zend/Feed/Builder/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Builder/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Builder_Entry extends ArrayObject
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Builder/Exception.php
--- a/web/lib/Zend/Feed/Builder/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Builder/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Builder_Exception extends Zend_Feed_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Builder/Header.php
--- a/web/lib/Zend/Feed/Builder/Header.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Builder/Header.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Header.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Header.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Builder_Header extends ArrayObject
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Builder/Header/Itunes.php
--- a/web/lib/Zend/Feed/Builder/Header/Itunes.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Builder/Header/Itunes.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Itunes.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Itunes.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Builder_Header_Itunes extends ArrayObject
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Builder/Interface.php
--- a/web/lib/Zend/Feed/Builder/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Builder/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Feed_Builder_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Element.php
--- a/web/lib/Zend/Feed/Element.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Element.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Element.php 20104 2010-01-06 21:26:01Z matthew $
+ * @version $Id: Element.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Element implements ArrayAccess
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Entry/Abstract.php
--- a/web/lib/Zend/Feed/Entry/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Entry/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -38,7 +38,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Entry_Abstract extends Zend_Feed_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Entry/Atom.php
--- a/web/lib/Zend/Feed/Entry/Atom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Entry/Atom.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Atom.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Entry_Atom extends Zend_Feed_Entry_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Entry/Rss.php
--- a/web/lib/Zend/Feed/Entry/Rss.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Entry/Rss.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rss.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Entry_Rss extends Zend_Feed_Entry_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Exception.php
--- a/web/lib/Zend/Feed/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub.php
--- a/web/lib/Zend/Feed/Pubsubhubbub.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pubsubhubbub.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Pubsubhubbub.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -47,7 +47,7 @@
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub
@@ -57,7 +57,7 @@
*/
const VERIFICATION_MODE_SYNC = 'sync';
const VERIFICATION_MODE_ASYNC = 'async';
-
+
/**
* Subscription States
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/CallbackAbstract.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/CallbackAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/CallbackAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Callback
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CallbackAbstract.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: CallbackAbstract.php 24842 2012-05-31 18:31:28Z rob $
*/
/**
@@ -34,14 +34,14 @@
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Callback
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Pubsubhubbub_CallbackAbstract
implements Zend_Feed_Pubsubhubbub_CallbackInterface
{
/**
- * An instance of Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface used
+ * An instance of Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface used
* to background save any verification tokens associated with a subscription
* or other.
*
@@ -219,7 +219,9 @@
protected function _detectCallbackUrl()
{
$callbackUrl = '';
- if (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
+ if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
+ $callbackUrl = $_SERVER['HTTP_X_ORIGINAL_URL'];
+ } elseif (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
$callbackUrl = $_SERVER['HTTP_X_REWRITE_URL'];
} elseif (isset($_SERVER['REQUEST_URI'])) {
$callbackUrl = $_SERVER['REQUEST_URI'];
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/CallbackInterface.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/CallbackInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/CallbackInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Callback
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CallbackInterface.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: CallbackInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Callback
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Feed_Pubsubhubbub_CallbackInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/Exception.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/HttpResponse.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/HttpResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/HttpResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HttpResponse.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: HttpResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub_HttpResponse
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/Model/ModelAbstract.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/Model/ModelAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/Model/ModelAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,16 +14,16 @@
*
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ModelAbstract.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: ModelAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Db_Table */
require_once 'Zend/Db/Table.php';
-/**
+/**
* @see Zend_Registry
* Seems to fix the file not being included by Zend_Db_Table...
*/
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub_Model_ModelAbstract
@@ -43,12 +43,12 @@
* @var Zend_Db_Table
*/
protected $_db = null;
-
+
/**
* Constructor
- *
- * @param array $data
- * @param Zend_Db_Table_Abstract $tableGateway
+ *
+ * @param array $data
+ * @param Zend_Db_Table_Abstract $tableGateway
* @return void
*/
public function __construct(Zend_Db_Table_Abstract $tableGateway = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/Model/Subscription.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/Model/Subscription.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/Model/Subscription.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Entity
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Subscription.php 22507 2010-06-30 19:11:27Z ramon $
+ * @version $Id: Subscription.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Feed_Pubsubhubbub_Model_ModelAbstract */
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Entity
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub_Model_Subscription
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/Model/SubscriptionInterface.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/Model/SubscriptionInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/Model/SubscriptionInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,21 +15,21 @@
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Entity
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubscriptionInterface.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: SubscriptionInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
* @subpackage Entity
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
{
-
+
/**
* Save subscription to RDMBS
*
@@ -37,23 +37,23 @@
* @return bool
*/
public function setSubscription(array $data);
-
+
/**
* Get subscription by ID/key
- *
- * @param string $key
+ *
+ * @param string $key
* @return array
*/
public function getSubscription($key);
/**
* Determine if a subscription matching the key exists
- *
- * @param string $key
+ *
+ * @param string $key
* @return bool
*/
public function hasSubscription($key);
-
+
/**
* Delete a subscription
*
@@ -61,5 +61,5 @@
* @return bool
*/
public function deleteSubscription($key);
-
+
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/Publisher.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/Publisher.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/Publisher.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Publisher.php 23075 2010-10-10 21:31:30Z padraic $
+ * @version $Id: Publisher.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub_Publisher
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/Subscriber.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/Subscriber.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/Subscriber.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Subscriber.php 23170 2010-10-19 18:29:24Z mabe $
+ * @version $Id: Subscriber.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub_Subscriber
@@ -122,7 +122,7 @@
* @var array
*/
protected $_authentications = array();
-
+
/**
* Tells the Subscriber to append any subscription identifier to the path
* of the base Callback URL. E.g. an identifier "subkey1" would be added
@@ -393,12 +393,12 @@
$this->_hubUrls = array_unique($this->_hubUrls);
return $this->_hubUrls;
}
-
+
/**
* Add authentication credentials for a given URL
- *
- * @param string $url
- * @param array $authentication
+ *
+ * @param string $url
+ * @param array $authentication
* @return Zend_Feed_Pubsubhubbub_Subscriber
*/
public function addAuthentication($url, array $authentication)
@@ -412,11 +412,11 @@
$this->_authentications[$url] = $authentication;
return $this;
}
-
+
/**
* Add authentication credentials for hub URLs
- *
- * @param array $authentications
+ *
+ * @param array $authentications
* @return Zend_Feed_Pubsubhubbub_Subscriber
*/
public function addAuthentications(array $authentications)
@@ -426,21 +426,21 @@
}
return $this;
}
-
+
/**
* Get all hub URL authentication credentials
- *
+ *
* @return array
*/
public function getAuthentications()
{
return $this->_authentications;
}
-
+
/**
* Set flag indicating whether or not to use a path parameter
- *
- * @param bool $bool
+ *
+ * @param bool $bool
* @return Zend_Feed_Pubsubhubbub_Subscriber
*/
public function usePathParameter($bool = true)
@@ -538,7 +538,7 @@
}
/**
- * Gets an instance of Zend_Feed_Pubsubhubbub_Storage_StorageInterface used
+ * Gets an instance of Zend_Feed_Pubsubhubbub_Storage_StorageInterface used
* to background save any verification tokens associated with a subscription
* or other.
*
@@ -745,7 +745,7 @@
foreach ($optParams as $name => $value) {
$params[$name] = $value;
}
-
+
// store subscription to storage
$now = new Zend_Date;
$expires = null;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Pubsubhubbub/Subscriber/Callback.php
--- a/web/lib/Zend/Feed/Pubsubhubbub/Subscriber/Callback.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Pubsubhubbub/Subscriber/Callback.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Callback.php 23069 2010-10-10 10:57:42Z padraic $
+ * @version $Id: Callback.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Feed_Pubsubhubbub
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Pubsubhubbub_Subscriber_Callback
@@ -49,7 +49,7 @@
* @var string
*/
protected $_feedUpdate = null;
-
+
/**
* Holds a manually set subscription key (i.e. identifies a unique
* subscription) which is typical when it is not passed in the query string
@@ -59,14 +59,14 @@
* @var string
*/
protected $_subscriptionKey = null;
-
+
/**
* After verification, this is set to the verified subscription's data.
*
* @var array
*/
protected $_currentSubscriptionData = null;
-
+
/**
* Set a subscription key to use for the current callback request manually.
* Required if usePathParameter is enabled for the Subscriber.
@@ -155,9 +155,9 @@
return false;
}
$required = array(
- 'hub_mode',
+ 'hub_mode',
'hub_topic',
- 'hub_challenge',
+ 'hub_challenge',
'hub_verify_token',
);
foreach ($required as $key) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader.php
--- a/web/lib/Zend/Feed/Reader.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Reader.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Reader.php 25275 2013-03-06 09:55:33Z frosch $
*/
/**
@@ -42,7 +42,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader
@@ -240,7 +240,7 @@
$etag = $cache->load($cacheId.'_etag');
}
if ($lastModified === null) {
- $lastModified = $cache->load($cacheId.'_lastmodified');;
+ $lastModified = $cache->load($cacheId.'_lastmodified');
}
if ($etag) {
$client->setHeaders('If-None-Match', $etag);
@@ -266,6 +266,10 @@
$cache->save($response->getHeader('Last-Modified'), $cacheId.'_lastmodified');
}
}
+ if (empty($responseXml)) {
+ require_once 'Zend/Feed/Exception.php';
+ throw new Zend_Feed_Exception('Feed failed to load, got empty response body');
+ }
return self::importString($responseXml);
} elseif ($cache) {
$data = $cache->load($cacheId);
@@ -279,6 +283,10 @@
}
$responseXml = $response->getBody();
$cache->save($responseXml, $cacheId);
+ if (empty($responseXml)) {
+ require_once 'Zend/Feed/Exception.php';
+ throw new Zend_Feed_Exception('Feed failed to load, got empty response body');
+ }
return self::importString($responseXml);
} else {
$response = $client->request('GET');
@@ -286,7 +294,12 @@
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Feed failed to load, got response code ' . $response->getStatus());
}
- $reader = self::importString($response->getBody());
+ $responseXml = $response->getBody();
+ if (empty($responseXml)) {
+ require_once 'Zend/Feed/Exception.php';
+ throw new Zend_Feed_Exception('Feed failed to load, got empty response body');
+ }
+ $reader = self::importString($responseXml);
$reader->setOriginalSourceUri($uri);
return $reader;
}
@@ -321,8 +334,18 @@
public static function importString($string)
{
$libxml_errflag = libxml_use_internal_errors(true);
+ $oldValue = libxml_disable_entity_loader(true);
$dom = new DOMDocument;
$status = $dom->loadXML($string);
+ foreach ($dom->childNodes as $child) {
+ if ($child->nodeType === XML_DOCUMENT_TYPE_NODE) {
+ require_once 'Zend/Feed/Exception.php';
+ throw new Zend_Feed_Exception(
+ 'Invalid XML: Detected use of illegal DOCTYPE'
+ );
+ }
+ }
+ libxml_disable_entity_loader($oldValue);
libxml_use_internal_errors($libxml_errflag);
if (!$status) {
@@ -393,8 +416,10 @@
}
$responseHtml = $response->getBody();
$libxml_errflag = libxml_use_internal_errors(true);
+ $oldValue = libxml_disable_entity_loader(true);
$dom = new DOMDocument;
$status = $dom->loadHTML($responseHtml);
+ libxml_disable_entity_loader($oldValue);
libxml_use_internal_errors($libxml_errflag);
if (!$status) {
// Build error message
@@ -418,7 +443,9 @@
* Detect the feed type of the provided feed
*
* @param Zend_Feed_Abstract|DOMDocument|string $feed
+ * @param bool $specOnly
* @return string
+ * @throws Zend_Feed_Exception
*/
public static function detectType($feed, $specOnly = false)
{
@@ -428,8 +455,18 @@
$dom = $feed;
} elseif(is_string($feed) && !empty($feed)) {
@ini_set('track_errors', 1);
+ $oldValue = libxml_disable_entity_loader(true);
$dom = new DOMDocument;
$status = @$dom->loadXML($feed);
+ foreach ($dom->childNodes as $child) {
+ if ($child->nodeType === XML_DOCUMENT_TYPE_NODE) {
+ require_once 'Zend/Feed/Exception.php';
+ throw new Zend_Feed_Exception(
+ 'Invalid XML: Detected use of illegal DOCTYPE'
+ );
+ }
+ }
+ libxml_disable_entity_loader($oldValue);
@ini_restore('track_errors');
if (!$status) {
if (!isset($php_errormsg)) {
@@ -510,7 +547,7 @@
if ($xpath->query('//atom:feed')->length) {
return self::TYPE_ATOM_10;
}
-
+
if ($xpath->query('//atom:entry')->length) {
if ($specOnly == true) {
return self::TYPE_ATOM_10;
@@ -698,7 +735,7 @@
self::registerExtension('Thread');
self::registerExtension('Podcast');
}
-
+
/**
* Utility method to apply array_unique operation to a multidimensional
* array.
@@ -717,5 +754,5 @@
}
return $array;
}
-
+
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Collection.php
--- a/web/lib/Zend/Feed/Reader/Collection.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Collection.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Collection.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Collection.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Collection extends ArrayObject
{
-
+
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Collection/Author.php
--- a/web/lib/Zend/Feed/Reader/Collection/Author.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Collection/Author.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,11 +14,11 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Author.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Author.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Reader_Collection_CollectionAbstract
*/
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Collection_Author
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Collection/Category.php
--- a/web/lib/Zend/Feed/Reader/Collection/Category.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Collection/Category.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,11 +14,11 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Category.php 20953 2010-02-06 17:55:34Z padraic $
+ * @version $Id: Category.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Reader_Collection_CollectionAbstract
*/
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Collection_Category
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Collection/CollectionAbstract.php
--- a/web/lib/Zend/Feed/Reader/Collection/CollectionAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Collection/CollectionAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CollectionAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CollectionAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Reader_Collection_CollectionAbstract extends ArrayObject
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Entry/Atom.php
--- a/web/lib/Zend/Feed/Reader/Entry/Atom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Entry/Atom.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Atom.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Entry_Atom extends Zend_Feed_Reader_EntryAbstract implements Zend_Feed_Reader_EntryInterface
@@ -74,7 +74,7 @@
$threadClass = Zend_Feed_Reader::getPluginLoader()->getClassName('Thread_Entry');
$this->_extensions['Thread_Entry'] = new $threadClass($entry, $entryKey, $type);
-
+
$threadClass = Zend_Feed_Reader::getPluginLoader()->getClassName('DublinCore_Entry');
$this->_extensions['DublinCore_Entry'] = new $threadClass($entry, $entryKey, $type);
}
@@ -344,7 +344,7 @@
return $this->_data['commentfeedlink'];
}
-
+
/**
* Get category data as a Zend_Feed_Reader_Collection_Category object
*
@@ -357,7 +357,7 @@
}
$categoryCollection = $this->getExtension('Atom')->getCategories();
-
+
if (count($categoryCollection) == 0) {
$categoryCollection = $this->getExtension('DublinCore')->getCategories();
}
@@ -366,7 +366,7 @@
return $this->_data['categories'];
}
-
+
/**
* Get source feed metadata from the entry
*
@@ -382,7 +382,7 @@
$this->_data['source'] = $source;
- return $this->_data['source'];
+ return $this->_data['source'];
}
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Entry/Rss.php
--- a/web/lib/Zend/Feed/Reader/Entry/Rss.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Entry/Rss.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rss.php 22300 2010-05-26 10:13:34Z padraic $
+ * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -77,7 +77,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Entry_Rss extends Zend_Feed_Reader_EntryAbstract implements Zend_Feed_Reader_EntryInterface
@@ -159,7 +159,7 @@
if (array_key_exists('authors', $this->_data)) {
return $this->_data['authors'];
}
-
+
$authors = array();
$authors_dc = $this->getExtension('DublinCore')->getAuthors();
if (!empty($authors_dc)) {
@@ -169,7 +169,7 @@
);
}
}
-
+
if ($this->getType() !== Zend_Feed_Reader::TYPE_RSS_10
&& $this->getType() !== Zend_Feed_Reader::TYPE_RSS_090) {
$list = $this->_xpath->query($this->_xpathQueryRss . '//author');
@@ -189,7 +189,7 @@
$data['name'] = $matches[1];
}
$authors[] = $data;
- }
+ }
}
}
@@ -472,7 +472,7 @@
return $this->_data['links'];
}
-
+
/**
* Get all categories
*
@@ -503,7 +503,7 @@
} else {
$categoryCollection = $this->getExtension('DublinCore')->getCategories();
}
-
+
if (count($categoryCollection) == 0) {
$categoryCollection = $this->getExtension('Atom')->getCategories();
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/EntryAbstract.php
--- a/web/lib/Zend/Feed/Reader/EntryAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/EntryAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EntryAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EntryAbstract.php 25275 2013-03-06 09:55:33Z frosch $
*/
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Reader_EntryAbstract
@@ -72,9 +72,9 @@
/**
* Constructor
*
- * @param DOMElement $entry
- * @param int $entryKey
- * @param string $type
+ * @param DOMElement $entry
+ * @param int $entryKey
+ * @param string|null $type
* @return void
*/
public function __construct(DOMElement $entry, $entryKey, $type = null)
@@ -85,7 +85,9 @@
if ($type !== null) {
$this->_data['type'] = $type;
} else {
- $this->_data['type'] = Zend_Feed_Reader::detectType($feed);
+ $this->_data['type'] = Zend_Feed_Reader::detectType(
+ $this->_domDocument
+ );
}
$this->_loadExtensions();
}
@@ -212,8 +214,10 @@
}
}
require_once 'Zend/Feed/Exception.php';
- throw new Zend_Feed_Exception('Method: ' . $method
- . 'does not exist and could not be located on a registered Extension');
+ throw new Zend_Feed_Exception(
+ 'Method: ' . $method
+ . 'does not exist and could not be located on a registered Extension'
+ );
}
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/EntryInterface.php
--- a/web/lib/Zend/Feed/Reader/EntryInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/EntryInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EntryInterface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EntryInterface.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Feed_Reader_EntryInterface
@@ -133,7 +133,7 @@
* @return string
*/
public function getCommentFeedLink();
-
+
/**
* Get all categories
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Atom/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/Atom/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Atom/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 23170 2010-10-19 18:29:24Z mabe $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -52,7 +52,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Atom_Entry
@@ -127,9 +127,9 @@
if (array_key_exists('content', $this->_data)) {
return $this->_data['content'];
}
-
+
$content = null;
-
+
$el = $this->getXpath()->query($this->getXpathPrefix() . '/atom:content');
if($el->length > 0) {
$el = $el->item(0);
@@ -158,7 +158,7 @@
break;
}
}
-
+
//var_dump($content); exit;
if (!$content) {
@@ -169,7 +169,7 @@
return $this->_data['content'];
}
-
+
/**
* Parse out XHTML to remove the namespacing
*/
@@ -510,7 +510,7 @@
return $this->_data['commentfeedlink'];
}
-
+
/**
* Get all categories
*
@@ -551,7 +551,7 @@
return $this->_data['categories'];
}
-
+
/**
* Get source feed metadata from the entry
*
@@ -562,7 +562,7 @@
if (array_key_exists('source', $this->_data)) {
return $this->_data['source'];
}
-
+
$source = null;
// TODO: Investigate why _getAtomType() fails here. Is it even needed?
if ($this->getType() == Zend_Feed_Reader::TYPE_ATOM_10) {
@@ -572,9 +572,9 @@
$source = new Zend_Feed_Reader_Feed_Atom_Source($element, $this->getXpathPrefix());
}
}
-
+
$this->_data['source'] = $source;
- return $this->_data['source'];
+ return $this->_data['source'];
}
/**
@@ -607,7 +607,7 @@
$emailNode = $element->getElementsByTagName('email');
$nameNode = $element->getElementsByTagName('name');
$uriNode = $element->getElementsByTagName('uri');
-
+
if ($emailNode->length && strlen($emailNode->item(0)->nodeValue) > 0) {
$author['email'] = $emailNode->item(0)->nodeValue;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Atom/Feed.php
--- a/web/lib/Zend/Feed/Reader/Extension/Atom/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Atom/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 23170 2010-10-19 18:29:24Z mabe $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Atom_Feed
@@ -315,7 +315,7 @@
return $this->_data['image'];
}
-
+
/**
* Get the feed image
*
@@ -420,7 +420,7 @@
return $this->_data['hubs'];
}
$hubs = array();
-
+
$list = $this->_xpath->query($this->getXpathPrefix()
. '//atom:link[@rel="hub"]/@href');
@@ -458,7 +458,7 @@
return $this->_data['title'];
}
-
+
/**
* Get all categories
*
@@ -513,7 +513,7 @@
$emailNode = $element->getElementsByTagName('email');
$nameNode = $element->getElementsByTagName('name');
$uriNode = $element->getElementsByTagName('uri');
-
+
if ($emailNode->length && strlen($emailNode->item(0)->nodeValue) > 0) {
$author['email'] = $emailNode->item(0)->nodeValue;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Content/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/Content/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Content/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 22300 2010-05-26 10:13:34Z padraic $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Content_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/CreativeCommons/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/CreativeCommons/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/CreativeCommons/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_CreativeCommons_Entry extends Zend_Feed_Reader_Extension_EntryAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/CreativeCommons/Feed.php
--- a/web/lib/Zend/Feed/Reader/Extension/CreativeCommons/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/CreativeCommons/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_CreativeCommons_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/DublinCore/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/DublinCore/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/DublinCore/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_DublinCore_Entry
@@ -102,7 +102,7 @@
return $this->_data['authors'];
}
-
+
/**
* Get categories (subjects under DC)
*
@@ -113,13 +113,13 @@
if (array_key_exists('categories', $this->_data)) {
return $this->_data['categories'];
}
-
+
$list = $this->_xpath->evaluate($this->getXpathPrefix() . '//dc11:subject');
if (!$list->length) {
$list = $this->_xpath->evaluate($this->getXpathPrefix() . '//dc10:subject');
}
-
+
if ($list->length) {
$categoryCollection = new Zend_Feed_Reader_Collection_Category;
foreach ($list as $category) {
@@ -132,11 +132,11 @@
} else {
$categoryCollection = new Zend_Feed_Reader_Collection_Category;
}
-
+
$this->_data['categories'] = $categoryCollection;
- return $this->_data['categories'];
+ return $this->_data['categories'];
}
-
+
/**
* Get the entry content
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/DublinCore/Feed.php
--- a/web/lib/Zend/Feed/Reader/Extension/DublinCore/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/DublinCore/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_DublinCore_Feed
@@ -84,7 +84,7 @@
$list = $this->_xpath->query('//dc10:publisher');
}
}
-
+
if ($list->length) {
foreach ($list as $author) {
$authors[] = array(
@@ -261,7 +261,7 @@
return $this->_data['date'];
}
-
+
/**
* Get categories (subjects under DC)
*
@@ -272,13 +272,13 @@
if (array_key_exists('categories', $this->_data)) {
return $this->_data['categories'];
}
-
+
$list = $this->_xpath->evaluate($this->getXpathPrefix() . '//dc11:subject');
if (!$list->length) {
$list = $this->_xpath->evaluate($this->getXpathPrefix() . '//dc10:subject');
}
-
+
if ($list->length) {
$categoryCollection = new Zend_Feed_Reader_Collection_Category;
foreach ($list as $category) {
@@ -291,9 +291,9 @@
} else {
$categoryCollection = new Zend_Feed_Reader_Collection_Category;
}
-
+
$this->_data['categories'] = $categoryCollection;
- return $this->_data['categories'];
+ return $this->_data['categories'];
}
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/EntryAbstract.php
--- a/web/lib/Zend/Feed/Reader/Extension/EntryAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/EntryAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EntryAbstract.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: EntryAbstract.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Reader_Extension_EntryAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/FeedAbstract.php
--- a/web/lib/Zend/Feed/Reader/Extension/FeedAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/FeedAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FeedAbstract.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -38,7 +38,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Reader_Extension_FeedAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Podcast/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/Podcast/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Podcast/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Podcast_Entry extends Zend_Feed_Reader_Extension_EntryAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Podcast/Feed.php
--- a/web/lib/Zend/Feed/Reader/Extension/Podcast/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Podcast/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Podcast_Feed extends Zend_Feed_Reader_Extension_FeedAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Slash/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/Slash/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Slash/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Slash_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Syndication/Feed.php
--- a/web/lib/Zend/Feed/Reader/Extension/Syndication/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Syndication/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Syndication_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/Thread/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/Thread/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/Thread/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_Thread_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Extension/WellFormedWeb/Entry.php
--- a/web/lib/Zend/Feed/Reader/Extension/WellFormedWeb/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Extension/WellFormedWeb/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Extension_WellFormedWeb_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Feed/Atom.php
--- a/web/lib/Zend/Feed/Reader/Feed/Atom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Feed/Atom.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Atom.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Feed_Atom extends Zend_Feed_Reader_FeedAbstract
@@ -362,7 +362,7 @@
return $this->_data['hubs'];
}
-
+
/**
* Get all categories
*
@@ -375,7 +375,7 @@
}
$categoryCollection = $this->getExtension('Atom')->getCategories();
-
+
if (count($categoryCollection) == 0) {
$categoryCollection = $this->getExtension('DublinCore')->getCategories();
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Feed/Atom/Source.php
--- a/web/lib/Zend/Feed/Reader/Feed/Atom/Source.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Feed/Atom/Source.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Source.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Source.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Feed_Atom_Source extends Zend_Feed_Reader_Feed_Atom
@@ -49,7 +49,7 @@
$this->_data['type'] = $type;
$this->_registerNamespaces();
$this->_loadExtensions();
-
+
$atomClass = Zend_Feed_Reader::getPluginLoader()->getClassName('Atom_Feed');
$this->_extensions['Atom_Feed'] = new $atomClass($this->_domDocument, $this->_data['type'], $this->_xpath);
$atomClass = Zend_Feed_Reader::getPluginLoader()->getClassName('DublinCore_Feed');
@@ -58,12 +58,12 @@
$extension->setXpathPrefix(rtrim($xpathPrefix, '/') . '/atom:source');
}
}
-
+
/**
* Since this is not an Entry carrier but a vehicle for Feed metadata, any
* applicable Entry methods are stubbed out and do nothing.
*/
-
+
/**
* @return void
*/
@@ -73,7 +73,7 @@
* @return void
*/
public function current() {}
-
+
/**
* @return void
*/
@@ -88,12 +88,12 @@
* @return void
*/
public function rewind() {}
-
+
/**
* @return void
*/
public function valid() {}
-
+
/**
* @return void
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/Feed/Rss.php
--- a/web/lib/Zend/Feed/Reader/Feed/Rss.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/Feed/Rss.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rss.php 23170 2010-10-19 18:29:24Z mabe $
+ * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -47,7 +47,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_Feed_Rss extends Zend_Feed_Reader_FeedAbstract
@@ -105,7 +105,7 @@
if (array_key_exists('authors', $this->_data)) {
return $this->_data['authors'];
}
-
+
$authors = array();
$authors_dc = $this->getExtension('DublinCore')->getAuthors();
if (!empty($authors_dc)) {
@@ -139,7 +139,7 @@
$data['name'] = $matches[1];
}
$authors[] = $data;
- }
+ }
}
}
@@ -652,7 +652,7 @@
return $this->_data['hubs'];
}
-
+
/**
* Get all categories
*
@@ -683,7 +683,7 @@
} else {
$categoryCollection = $this->getExtension('DublinCore')->getCategories();
}
-
+
if (count($categoryCollection) == 0) {
$categoryCollection = $this->getExtension('Atom')->getCategories();
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/FeedAbstract.php
--- a/web/lib/Zend/Feed/Reader/FeedAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/FeedAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedAbstract.php 22092 2010-05-04 12:50:51Z padraic $
+ * @version $Id: FeedAbstract.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Reader_FeedAbstract implements Zend_Feed_Reader_FeedInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/FeedInterface.php
--- a/web/lib/Zend/Feed/Reader/FeedInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/FeedInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedInterface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FeedInterface.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Feed_Reader_FeedInterface extends Iterator, Countable
@@ -111,7 +111,7 @@
* @return string|null
*/
public function getTitle();
-
+
/**
* Get all categories
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Reader/FeedSet.php
--- a/web/lib/Zend/Feed/Reader/FeedSet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Reader/FeedSet.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedSet.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: FeedSet.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Feed_Reader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Reader_FeedSet extends ArrayObject
@@ -81,7 +81,7 @@
));
}
}
-
+
/**
* Attempt to turn a relative URI into an absolute URI
*/
@@ -103,7 +103,7 @@
}
return $link;
}
-
+
/**
* Canonicalize relative path
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Rss.php
--- a/web/lib/Zend/Feed/Rss.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Rss.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rss.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Rss extends Zend_Feed_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer.php
--- a/web/lib/Zend/Feed/Writer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,33 +14,33 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Writer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Writer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer
{
- /**
- * Namespace constants
- */
- const NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#';
+ /**
+ * Namespace constants
+ */
+ const NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#';
const NAMESPACE_ATOM_10 = 'http://www.w3.org/2005/Atom';
const NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
const NAMESPACE_RSS_090 = 'http://my.netscape.com/rdf/simple/0.9/';
const NAMESPACE_RSS_10 = 'http://purl.org/rss/1.0/';
/**
- * Feed type constants
- */
- const TYPE_ANY = 'any';
- const TYPE_ATOM_03 = 'atom-03';
+ * Feed type constants
+ */
+ const TYPE_ANY = 'any';
+ const TYPE_ATOM_03 = 'atom-03';
const TYPE_ATOM_10 = 'atom-10';
const TYPE_ATOM_ANY = 'atom';
const TYPE_RSS_090 = 'rss-090';
@@ -53,7 +53,7 @@
const TYPE_RSS_10 = 'rss-10';
const TYPE_RSS_20 = 'rss-20';
const TYPE_RSS_ANY = 'rss';
-
+
/**
* PluginLoader instance used by component
*
@@ -81,7 +81,7 @@
'entryRenderer' => array(),
'feedRenderer' => array(),
);
-
+
/**
* Set plugin loader for use with Extensions
*
@@ -257,7 +257,7 @@
self::registerExtension('Threading');
self::registerExtension('ITunes');
}
-
+
public static function lcfirst($str)
{
$str[0] = strtolower($str[0]);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Deleted.php
--- a/web/lib/Zend/Feed/Writer/Deleted.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Deleted.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,17 +14,17 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Deleted.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Deleted.php 25160 2012-12-18 15:17:16Z matthew $
*/
require_once 'Zend/Feed/Writer/Feed/FeedAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Deleted
@@ -36,7 +36,7 @@
* @var array
*/
protected $_data = array();
-
+
/**
* Holds the value "atom" or "rss" depending on the feed type set when
* when last exported.
@@ -44,7 +44,7 @@
* @var string
*/
protected $_type = null;
-
+
/**
* Set the feed character encoding
*
@@ -71,7 +71,7 @@
}
return $this->_data['encoding'];
}
-
+
/**
* Unset a specific data point
*
@@ -83,7 +83,7 @@
unset($this->_data[$name]);
}
}
-
+
/**
* Set the current feed type being exported to "rss" or "atom". This allows
* other objects to gracefully choose whether to execute or not, depending
@@ -95,7 +95,7 @@
{
$this->_type = $type;
}
-
+
/**
* Retrieve the current or last feed type exported.
*
@@ -105,7 +105,7 @@
{
return $this->_type;
}
-
+
public function setReference($reference)
{
if (empty($reference) || !is_string($reference)) {
@@ -114,7 +114,7 @@
}
$this->_data['reference'] = $reference;
}
-
+
public function getReference()
{
if (!array_key_exists('reference', $this->_data)) {
@@ -122,23 +122,23 @@
}
return $this->_data['reference'];
}
-
+
public function setWhen($date = null)
{
$zdate = null;
if ($date === null) {
$zdate = new Zend_Date;
- } elseif (ctype_digit($date) && strlen($date) == 10) {
- $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} elseif ($date instanceof Zend_Date) {
$zdate = $date;
+ } elseif (ctype_digit((string)$date)) {
+ $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} else {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid Zend_Date object or UNIX Timestamp passed as parameter');
}
$this->_data['when'] = $zdate;
}
-
+
public function getWhen()
{
if (!array_key_exists('when', $this->_data)) {
@@ -146,12 +146,12 @@
}
return $this->_data['when'];
}
-
+
public function setBy(array $by)
{
$author = array();
- if (!array_key_exists('name', $by)
- || empty($by['name'])
+ if (!array_key_exists('name', $by)
+ || empty($by['name'])
|| !is_string($by['name'])
) {
require_once 'Zend/Feed/Exception.php';
@@ -166,8 +166,8 @@
$author['email'] = $by['email'];
}
if (isset($by['uri'])) {
- if (empty($by['uri'])
- || !is_string($by['uri'])
+ if (empty($by['uri'])
+ || !is_string($by['uri'])
|| !Zend_Uri::check($by['uri'])
) {
require_once 'Zend/Feed/Exception.php';
@@ -177,7 +177,7 @@
}
$this->_data['by'] = $author;
}
-
+
public function getBy()
{
if (!array_key_exists('by', $this->_data)) {
@@ -185,12 +185,12 @@
}
return $this->_data['by'];
}
-
+
public function setComment($comment)
{
$this->_data['comment'] = $comment;
}
-
+
public function getComment()
{
if (!array_key_exists('comment', $this->_data)) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Entry.php
--- a/web/lib/Zend/Feed/Writer/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Entry.php 25160 2012-12-18 15:17:16Z matthew $
*/
/**
@@ -34,7 +34,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Entry
@@ -46,14 +46,14 @@
* @var array
*/
protected $_data = array();
-
+
/**
* Registered extensions
*
* @var array
*/
protected $_extensions = array();
-
+
/**
* Holds the value "atom" or "rss" depending on the feed type set when
* when last exported.
@@ -61,7 +61,7 @@
* @var string
*/
protected $_type = null;
-
+
/**
* Constructor: Primarily triggers the registration of core extensions and
* loads those appropriate to this data container.
@@ -84,8 +84,8 @@
{
$author = array();
if (is_array($name)) {
- if (!array_key_exists('name', $name)
- || empty($name['name'])
+ if (!array_key_exists('name', $name)
+ || empty($name['name'])
|| !is_string($name['name'])
) {
require_once 'Zend/Feed/Exception.php';
@@ -100,8 +100,8 @@
$author['email'] = $name['email'];
}
if (isset($name['uri'])) {
- if (empty($name['uri'])
- || !is_string($name['uri'])
+ if (empty($name['uri'])
+ || !is_string($name['uri'])
|| !Zend_Uri::check($name['uri'])
) {
require_once 'Zend/Feed/Exception.php';
@@ -114,7 +114,7 @@
* Array notation (above) is preferred and will be the sole supported input from ZF 2.0
*/
} else {
- if (empty($name['name']) || !is_string($name['name'])) {
+ if (empty($name) || !is_string($name)) {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid parameter: "name" must be a non-empty string value');
}
@@ -148,7 +148,7 @@
$this->addAuthor($author);
}
}
-
+
/**
* Set the feed character encoding
*
@@ -214,10 +214,10 @@
$zdate = null;
if ($date === null) {
$zdate = new Zend_Date;
- } elseif (ctype_digit($date) && strlen($date) == 10) {
- $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} elseif ($date instanceof Zend_Date) {
$zdate = $date;
+ } elseif (ctype_digit((string)$date)) {
+ $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} else {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid Zend_Date object or UNIX Timestamp passed as parameter');
@@ -235,10 +235,10 @@
$zdate = null;
if ($date === null) {
$zdate = new Zend_Date;
- } elseif (ctype_digit($date) && strlen($date) == 10) {
- $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} elseif ($date instanceof Zend_Date) {
$zdate = $date;
+ } elseif (ctype_digit((string)$date)) {
+ $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} else {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid Zend_Date object or UNIX Timestamp passed as parameter');
@@ -295,7 +295,7 @@
*/
public function setCommentCount($count)
{
- if (empty($count) || !is_numeric($count) || (int) $count < 0) {
+ if ( !is_numeric($count) || (int) $count < 0) {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid parameter: "count" must be a non-empty integer number');
}
@@ -337,7 +337,7 @@
}
$this->_data['commentFeedLinks'][] = $link;
}
-
+
/**
* Set a links to an XML feed for any comments associated with this entry.
* Each link is an array with keys "uri" and "type", where type is one of:
@@ -456,7 +456,7 @@
}
return $this->_data['id'];
}
-
+
/**
* Get a link to the HTML source
*
@@ -536,12 +536,12 @@
}
return $this->_data['commentFeedLinks'];
}
-
+
/**
* Add a entry category
*
* @param string $category
- */
+ */
public function addCategory(array $category)
{
if (!isset($category['term'])) {
@@ -551,7 +551,7 @@
. ' readable category name');
}
if (isset($category['scheme'])) {
- if (empty($category['scheme'])
+ if (empty($category['scheme'])
|| !is_string($category['scheme'])
|| !Zend_Uri::check($category['scheme'])
) {
@@ -565,7 +565,7 @@
}
$this->_data['categories'][] = $category;
}
-
+
/**
* Set an array of entry categories
*
@@ -577,7 +577,7 @@
$this->addCategory($category);
}
}
-
+
/**
* Get the entry categories
*
@@ -590,7 +590,7 @@
}
return $this->_data['categories'];
}
-
+
/**
* Adds an enclosure to the entry. The array parameter may contain the
* keys 'uri', 'type' and 'length'. Only 'uri' is required for Atom, though the
@@ -611,7 +611,7 @@
}
$this->_data['enclosure'] = $enclosure;
}
-
+
/**
* Retrieve an array of all enclosures to be added to entry.
*
@@ -624,7 +624,7 @@
}
return $this->_data['enclosure'];
}
-
+
/**
* Unset a specific data point
*
@@ -636,7 +636,7 @@
unset($this->_data[$name]);
}
}
-
+
/**
* Get registered extensions
*
@@ -660,7 +660,7 @@
}
return null;
}
-
+
/**
* Set the current feed type being exported to "rss" or "atom". This allows
* other objects to gracefully choose whether to execute or not, depending
@@ -672,7 +672,7 @@
{
$this->_type = $type;
}
-
+
/**
* Retrieve the current or last feed type exported.
*
@@ -703,7 +703,7 @@
throw new Zend_Feed_Exception('Method: ' . $method
. ' does not exist and could not be located on a registered Extension');
}
-
+
/**
* Creates a new Zend_Feed_Writer_Source data container for use. This is NOT
* added to the current feed automatically, but is necessary to create a
@@ -731,7 +731,7 @@
{
$this->_data['source'] = $source;
}
-
+
/**
* @return Zend_Feed_Writer_Source
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Exception/InvalidMethodException.php
--- a/web/lib/Zend/Feed/Writer/Exception/InvalidMethodException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Exception/InvalidMethodException.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: InvalidMethodException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: InvalidMethodException.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
*
* @category Zend
* @package Zend_Feed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Exception_InvalidMethodException extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/Atom/Renderer/Feed.php
--- a/web/lib/Zend/Feed/Writer/Extension/Atom/Renderer/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/Atom/Renderer/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20325 2010-01-16 00:17:59Z padraic $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_Atom_Renderer_Feed
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render feed
- *
+ *
* @return void
*/
public function render()
@@ -63,23 +63,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append namespaces to root element of feed
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:atom',
- 'http://www.w3.org/2005/Atom');
+ 'http://www.w3.org/2005/Atom');
}
/**
* Set feed link elements
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setFeedLinks(DOMDocument $dom, DOMElement $root)
@@ -98,12 +98,12 @@
}
$this->_called = true;
}
-
+
/**
* Set PuSH hubs
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setHubs(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/Content/Renderer/Entry.php
--- a/web/lib/Zend/Feed/Writer/Extension/Content/Renderer/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/Content/Renderer/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20325 2010-01-16 00:17:59Z padraic $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_Content_Renderer_Entry
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render entry
- *
+ *
* @return void
*/
public function render()
@@ -58,23 +58,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append namespaces to root element
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:content',
- 'http://purl.org/rss/1.0/modules/content/');
+ 'http://purl.org/rss/1.0/modules/content/');
}
/**
* Set entry content
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setContent(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/DublinCore/Renderer/Entry.php
--- a/web/lib/Zend/Feed/Writer/Extension/DublinCore/Renderer/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/DublinCore/Renderer/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20325 2010-01-16 00:17:59Z padraic $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_DublinCore_Renderer_Entry
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render entry
- *
+ *
* @return void
*/
public function render()
@@ -58,23 +58,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append namespaces to entry
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:dc',
- 'http://purl.org/dc/elements/1.1/');
+ 'http://purl.org/dc/elements/1.1/');
}
/**
* Set entry author elements
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -88,7 +88,7 @@
if (array_key_exists('name', $data)) {
$text = $dom->createTextNode($data['name']);
$author->appendChild($text);
- $root->appendChild($author);
+ $root->appendChild($author);
}
}
$this->_called = true;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/DublinCore/Renderer/Feed.php
--- a/web/lib/Zend/Feed/Writer/Extension/DublinCore/Renderer/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/DublinCore/Renderer/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20325 2010-01-16 00:17:59Z padraic $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_DublinCore_Renderer_Feed
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render feed
- *
+ *
* @return void
*/
public function render()
@@ -58,23 +58,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append namespaces to feed element
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:dc',
- 'http://purl.org/dc/elements/1.1/');
+ 'http://purl.org/dc/elements/1.1/');
}
/**
* Set feed authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -88,7 +88,7 @@
if (array_key_exists('name', $data)) {
$text = $dom->createTextNode($data['name']);
$author->appendChild($text);
- $root->appendChild($author);
+ $root->appendChild($author);
}
}
$this->_called = true;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/ITunes/Entry.php
--- a/web/lib/Zend/Feed/Writer/Extension/ITunes/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/ITunes/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_ITunes_Entry
@@ -33,18 +33,18 @@
* @var array
*/
protected $_data = array();
-
+
/**
* Encoding of all text values
*
* @var string
*/
protected $_encoding = 'UTF-8';
-
+
/**
* Set feed encoding
- *
- * @param string $enc
+ *
+ * @param string $enc
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function setEncoding($enc)
@@ -52,17 +52,17 @@
$this->_encoding = $enc;
return $this;
}
-
+
/**
* Get feed encoding
- *
+ *
* @return string
*/
public function getEncoding()
{
return $this->_encoding;
}
-
+
/**
* Set a block value of "yes" or "no". You may also set an empty string.
*
@@ -83,11 +83,11 @@
}
$this->_data['block'] = $value;
}
-
+
/**
* Add authors to itunes entry
- *
- * @param array $values
+ *
+ * @param array $values
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function addItunesAuthors(array $values)
@@ -97,11 +97,11 @@
}
return $this;
}
-
+
/**
* Add author to itunes entry
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function addItunesAuthor($value)
@@ -114,14 +114,14 @@
if (!isset($this->_data['authors'])) {
$this->_data['authors'] = array();
}
- $this->_data['authors'][] = $value;
+ $this->_data['authors'][] = $value;
return $this;
}
-
+
/**
* Set duration
- *
- * @param int $value
+ *
+ * @param int $value
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function setItunesDuration($value)
@@ -138,11 +138,11 @@
$this->_data['duration'] = $value;
return $this;
}
-
+
/**
* Set "explicit" flag
- *
- * @param bool $value
+ *
+ * @param bool $value
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function setItunesExplicit($value)
@@ -155,11 +155,11 @@
$this->_data['explicit'] = $value;
return $this;
}
-
+
/**
* Set keywords
- *
- * @param array $value
+ *
+ * @param array $value
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function setItunesKeywords(array $value)
@@ -179,11 +179,11 @@
$this->_data['keywords'] = $value;
return $this;
}
-
+
/**
* Set subtitle
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function setItunesSubtitle($value)
@@ -196,11 +196,11 @@
$this->_data['subtitle'] = $value;
return $this;
}
-
+
/**
* Set summary
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Entry
*/
public function setItunesSummary($value)
@@ -213,12 +213,12 @@
$this->_data['summary'] = $value;
return $this;
}
-
+
/**
* Overloading to itunes specific setters
- *
- * @param string $method
- * @param array $params
+ *
+ * @param string $method
+ * @param array $params
* @return mixed
*/
public function __call($method, array $params)
@@ -232,7 +232,7 @@
'invalid method: ' . $method
);
}
- if (!array_key_exists($point, $this->_data)
+ if (!array_key_exists($point, $this->_data)
|| empty($this->_data[$point])
) {
return null;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/ITunes/Feed.php
--- a/web/lib/Zend/Feed/Writer/Extension/ITunes/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/ITunes/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 25107 2012-11-07 20:42:00Z rob $
*/
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_ITunes_Feed
@@ -33,18 +33,18 @@
* @var array
*/
protected $_data = array();
-
+
/**
* Encoding of all text values
*
* @var string
*/
protected $_encoding = 'UTF-8';
-
+
/**
* Set feed encoding
- *
- * @param string $enc
+ *
+ * @param string $enc
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setEncoding($enc)
@@ -52,17 +52,17 @@
$this->_encoding = $enc;
return $this;
}
-
+
/**
* Get feed encoding
- *
+ *
* @return string
*/
public function getEncoding()
{
return $this->_encoding;
}
-
+
/**
* Set a block value of "yes" or "no". You may also set an empty string.
*
@@ -84,11 +84,11 @@
$this->_data['block'] = $value;
return $this;
}
-
+
/**
* Add feed authors
- *
- * @param array $values
+ *
+ * @param array $values
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function addItunesAuthors(array $values)
@@ -98,11 +98,11 @@
}
return $this;
}
-
+
/**
* Add feed author
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function addItunesAuthor($value)
@@ -115,14 +115,14 @@
if (!isset($this->_data['authors'])) {
$this->_data['authors'] = array();
}
- $this->_data['authors'][] = $value;
+ $this->_data['authors'][] = $value;
return $this;
}
-
+
/**
* Set feed categories
- *
- * @param array $values
+ *
+ * @param array $values
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesCategories(array $values)
@@ -152,16 +152,16 @@
. ' contain a maximum of 255 characters each');
}
$this->_data['categories'][$key][] = $val;
- }
+ }
}
}
return $this;
}
-
+
/**
* Set feed image (icon)
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesImage($value)
@@ -180,11 +180,11 @@
$this->_data['image'] = $value;
return $this;
}
-
+
/**
* Set feed cumulative duration
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesDuration($value)
@@ -201,11 +201,11 @@
$this->_data['duration'] = $value;
return $this;
}
-
+
/**
* Set "explicit" flag
- *
- * @param bool $value
+ *
+ * @param string $value Valid values: "yes", "no" or "clean"
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesExplicit($value)
@@ -218,11 +218,11 @@
$this->_data['explicit'] = $value;
return $this;
}
-
+
/**
* Set feed keywords
- *
- * @param array $value
+ *
+ * @param array $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesKeywords(array $value)
@@ -242,11 +242,11 @@
$this->_data['keywords'] = $value;
return $this;
}
-
+
/**
* Set new feed URL
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesNewFeedUrl($value)
@@ -259,25 +259,25 @@
$this->_data['newFeedUrl'] = $value;
return $this;
}
-
+
/**
* Add feed owners
- *
- * @param array $values
+ *
+ * @param array $values
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function addItunesOwners(array $values)
{
foreach ($values as $value) {
- $this->addItunesOwner($value);
+ $this->addItunesOwner($value);
}
return $this;
}
-
+
/**
* Add feed owner
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function addItunesOwner(array $value)
@@ -300,11 +300,11 @@
$this->_data['owners'][] = $value;
return $this;
}
-
+
/**
* Set feed subtitle
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesSubtitle($value)
@@ -317,11 +317,11 @@
$this->_data['subtitle'] = $value;
return $this;
}
-
+
/**
* Set feed summary
- *
- * @param string $value
+ *
+ * @param string $value
* @return Zend_Feed_Writer_Extension_ITunes_Feed
*/
public function setItunesSummary($value)
@@ -334,12 +334,12 @@
$this->_data['summary'] = $value;
return $this;
}
-
+
/**
* Overloading: proxy to internal setters
- *
- * @param string $method
- * @param array $params
+ *
+ * @param string $method
+ * @param array $params
* @return mixed
*/
public function __call($method, array $params)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/ITunes/Renderer/Entry.php
--- a/web/lib/Zend/Feed/Writer/Extension/ITunes/Renderer/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/ITunes/Renderer/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_ITunes_Renderer_Entry
@@ -41,10 +41,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render entry
- *
+ *
* @return void
*/
public function render()
@@ -60,23 +60,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append namespaces to entry root
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:itunes',
- 'http://www.itunes.com/dtds/podcast-1.0.dtd');
+ 'http://www.itunes.com/dtds/podcast-1.0.dtd');
}
/**
* Set entry authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -93,12 +93,12 @@
$this->_called = true;
}
}
-
+
/**
* Set itunes block
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setBlock(DOMDocument $dom, DOMElement $root)
@@ -113,12 +113,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set entry duration
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDuration(DOMDocument $dom, DOMElement $root)
@@ -133,12 +133,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set explicit flag
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setExplicit(DOMDocument $dom, DOMElement $root)
@@ -153,12 +153,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set entry keywords
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setKeywords(DOMDocument $dom, DOMElement $root)
@@ -173,12 +173,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set entry subtitle
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setSubtitle(DOMDocument $dom, DOMElement $root)
@@ -193,12 +193,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set entry summary
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setSummary(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/ITunes/Renderer/Feed.php
--- a/web/lib/Zend/Feed/Writer/Extension/ITunes/Renderer/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/ITunes/Renderer/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,26 +14,26 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_ITunes_Renderer_Feed
extends Zend_Feed_Writer_Extension_RendererAbstract
{
-
+
/**
* Set to TRUE if a rendering method actually renders something. This
* is used to prevent premature appending of a XML namespace declaration
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render feed
- *
+ *
* @return void
*/
public function render()
@@ -65,23 +65,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append feed namespaces
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:itunes',
- 'http://www.itunes.com/dtds/podcast-1.0.dtd');
+ 'http://www.itunes.com/dtds/podcast-1.0.dtd');
}
/**
* Set feed authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -98,12 +98,12 @@
}
$this->_called = true;
}
-
+
/**
* Set feed itunes block
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setBlock(DOMDocument $dom, DOMElement $root)
@@ -118,12 +118,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set feed categories
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCategories(DOMDocument $dom, DOMElement $root)
@@ -150,12 +150,12 @@
}
$this->_called = true;
}
-
+
/**
* Set feed image (icon)
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setImage(DOMDocument $dom, DOMElement $root)
@@ -169,12 +169,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set feed cumulative duration
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDuration(DOMDocument $dom, DOMElement $root)
@@ -189,12 +189,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set explicit flag
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setExplicit(DOMDocument $dom, DOMElement $root)
@@ -209,12 +209,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set feed keywords
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setKeywords(DOMDocument $dom, DOMElement $root)
@@ -229,12 +229,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set feed's new URL
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setNewFeedUrl(DOMDocument $dom, DOMElement $root)
@@ -249,12 +249,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
- * Set feed owners
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set feed owners
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setOwners(DOMDocument $dom, DOMElement $root)
@@ -277,12 +277,12 @@
}
$this->_called = true;
}
-
+
/**
* Set feed subtitle
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setSubtitle(DOMDocument $dom, DOMElement $root)
@@ -297,12 +297,12 @@
$root->appendChild($el);
$this->_called = true;
}
-
+
/**
* Set feed summary
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setSummary(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/RendererAbstract.php
--- a/web/lib/Zend/Feed/Writer/Extension/RendererAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/RendererAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -13,21 +13,21 @@
* to padraic dot brady at yahoo dot com so we can send you a copy immediately.
*
* @category Zend
- * @package Zend_Feed_Writer_Entry_Rss
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @package Zend_Feed_Writer
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RendererAbstract.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: RendererAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererInterface
*/
require_once 'Zend/Feed/Writer/Extension/RendererInterface.php';
-
+
/**
* @category Zend
- * @package Zend_Feed_Writer_Entry_Rss
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @package Zend_Feed_Writer
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Feed_Writer_Extension_RendererAbstract
@@ -37,32 +37,32 @@
* @var DOMDocument
*/
protected $_dom = null;
-
+
/**
* @var mixed
*/
protected $_entry = null;
-
+
/**
* @var DOMElement
*/
protected $_base = null;
-
+
/**
* @var mixed
*/
protected $_container = null;
-
+
/**
* @var string
*/
protected $_type = null;
-
+
/**
* @var DOMElement
*/
protected $_rootElement = null;
-
+
/**
* Encoding of all text values
*
@@ -72,19 +72,19 @@
/**
* Constructor
- *
- * @param mixed $container
+ *
+ * @param mixed $container
* @return void
*/
public function __construct($container)
{
$this->_container = $container;
}
-
+
/**
* Set feed encoding
- *
- * @param string $enc
+ *
+ * @param string $enc
* @return Zend_Feed_Writer_Extension_RendererAbstract
*/
public function setEncoding($enc)
@@ -92,22 +92,22 @@
$this->_encoding = $enc;
return $this;
}
-
+
/**
* Get feed encoding
- *
+ *
* @return void
*/
public function getEncoding()
{
return $this->_encoding;
}
-
+
/**
* Set DOMDocument and DOMElement on which to operate
- *
- * @param DOMDocument $dom
- * @param DOMElement $base
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $base
* @return Zend_Feed_Writer_Extension_RendererAbstract
*/
public function setDomDocument(DOMDocument $dom, DOMElement $base)
@@ -116,21 +116,21 @@
$this->_base = $base;
return $this;
}
-
+
/**
* Get data container being rendered
- *
+ *
* @return mixed
*/
public function getDataContainer()
{
return $this->_container;
}
-
+
/**
* Set feed type
- *
- * @param string $type
+ *
+ * @param string $type
* @return Zend_Feed_Writer_Extension_RendererAbstract
*/
public function setType($type)
@@ -138,21 +138,21 @@
$this->_type = $type;
return $this;
}
-
+
/**
* Get feedtype
- *
+ *
* @return string
*/
public function getType()
{
return $this->_type;
}
-
+
/**
- * Set root element of document
- *
- * @param DOMElement $root
+ * Set root element of document
+ *
+ * @param DOMElement $root
* @return Zend_Feed_Writer_Extension_RendererAbstract
*/
public function setRootElement(DOMElement $root)
@@ -160,20 +160,20 @@
$this->_rootElement = $root;
return $this;
}
-
+
/**
* Get root element
- *
+ *
* @return DOMElement
*/
public function getRootElement()
{
return $this->_rootElement;
}
-
+
/**
* Append namespaces to feed
- *
+ *
* @return void
*/
abstract protected function _appendNamespaces();
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/RendererInterface.php
--- a/web/lib/Zend/Feed/Writer/Extension/RendererInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/RendererInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RendererInterface.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: RendererInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Feed_Writer_Extension_RendererInterface
@@ -30,30 +30,30 @@
/**
* Constructor
*
- * @param mixed $container
+ * @param mixed $container
* @return void
*/
public function __construct($container);
-
+
/**
* Set DOMDocument and DOMElement on which to operate
- *
- * @param DOMDocument $dom
- * @param DOMElement $base
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $base
* @return void
*/
public function setDomDocument(DOMDocument $dom, DOMElement $base);
-
+
/**
* Render
- *
+ *
* @return void
*/
public function render();
-
+
/**
* Retrieve container
- *
+ *
* @return mixed
*/
public function getDataContainer();
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/Slash/Renderer/Entry.php
--- a/web/lib/Zend/Feed/Writer/Extension/Slash/Renderer/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/Slash/Renderer/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 23077 2010-10-10 23:06:49Z padraic $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_Slash_Renderer_Entry
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render entry
- *
+ *
* @return void
*/
public function render()
@@ -58,23 +58,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append entry namespaces
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:slash',
- 'http://purl.org/rss/1.0/modules/slash/');
+ 'http://purl.org/rss/1.0/modules/slash/');
}
/**
* Set entry comment count
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCommentCount(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/Threading/Renderer/Entry.php
--- a/web/lib/Zend/Feed/Writer/Extension/Threading/Renderer/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/Threading/Renderer/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_Threading_Renderer_Entry
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render entry
- *
+ *
* @return void
*/
public function render()
@@ -60,23 +60,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append entry namespaces
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:thr',
- 'http://purl.org/syndication/thread/1.0');
+ 'http://purl.org/syndication/thread/1.0');
}
-
+
/**
* Set comment link
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCommentLink(DOMDocument $dom, DOMElement $root)
@@ -96,12 +96,12 @@
$root->appendChild($clink);
$this->_called = true;
}
-
+
/**
* Set comment feed links
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCommentFeedLinks(DOMDocument $dom, DOMElement $root)
@@ -126,9 +126,9 @@
/**
* Set entry comment count
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCommentCount(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Extension/WellFormedWeb/Renderer/Entry.php
--- a/web/lib/Zend/Feed/Writer/Extension/WellFormedWeb/Renderer/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Extension/WellFormedWeb/Renderer/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,20 +14,20 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20325 2010-01-16 00:17:59Z padraic $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/**
* @see Zend_Feed_Writer_Extension_RendererAbstract
*/
require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Extension_WellFormedWeb_Renderer_Entry
@@ -42,10 +42,10 @@
* @var bool
*/
protected $_called = false;
-
+
/**
* Render entry
- *
+ *
* @return void
*/
public function render()
@@ -58,23 +58,23 @@
$this->_appendNamespaces();
}
}
-
+
/**
* Append entry namespaces
- *
+ *
* @return void
*/
protected function _appendNamespaces()
{
$this->getRootElement()->setAttribute('xmlns:wfw',
- 'http://wellformedweb.org/CommentAPI/');
+ 'http://wellformedweb.org/CommentAPI/');
}
-
+
/**
* Set entry comment feed links
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCommentFeedLinks(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Feed.php
--- a/web/lib/Zend/Feed/Writer/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20518 2010-01-22 14:00:30Z padraic $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -59,7 +59,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Feed extends Zend_Feed_Writer_Feed_FeedAbstract
@@ -107,7 +107,7 @@
{
$this->_entries[] = $deleted;
}
-
+
/**
* Creates a new Zend_Feed_Writer_Deleted data container for use. This is NOT
* added to the current feed automatically, but is necessary to create a
@@ -205,7 +205,7 @@
return count($this->_entries);
}
- /**
+ /**
* Return the current entry
*
* @return Zend_Feed_Reader_Entry_Interface
@@ -225,7 +225,7 @@
return $this->_entriesKey;
}
- /**
+ /**
* Move the feed pointer forward
*
* @return void
@@ -258,7 +258,8 @@
/**
* Attempt to build and return the feed resulting from the data set
*
- * @param $type The feed type "rss" or "atom" to export as
+ * @param string $type The feed type "rss" or "atom" to export as
+ * @param bool $ignoreExceptions
* @return string
*/
public function export($type, $ignoreExceptions = false)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Feed/FeedAbstract.php
--- a/web/lib/Zend/Feed/Writer/Feed/FeedAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Feed/FeedAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedAbstract.php 23090 2010-10-12 17:28:16Z padraic $
+ * @version $Id: FeedAbstract.php 25160 2012-12-18 15:17:16Z matthew $
*/
/**
@@ -55,7 +55,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Feed_FeedAbstract
@@ -66,7 +66,7 @@
* @var array
*/
protected $_data = array();
-
+
/**
* Holds the value "atom" or "rss" depending on the feed type set when
* when last exported.
@@ -74,7 +74,7 @@
* @var string
*/
protected $_type = null;
-
+
/**
* Constructor: Primarily triggers the registration of core extensions and
* loads those appropriate to this data container.
@@ -117,7 +117,7 @@
$author['uri'] = $name['uri'];
}
} else {
- if (empty($name['name']) || !is_string($name['name'])) {
+ if (empty($name) || !is_string($name)) {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid parameter: "name" must be a non-empty string value');
}
@@ -176,10 +176,10 @@
$zdate = null;
if ($date === null) {
$zdate = new Zend_Date;
- } elseif (ctype_digit($date) && strlen($date) == 10) {
- $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} elseif ($date instanceof Zend_Date) {
$zdate = $date;
+ } elseif (ctype_digit((string)$date)) {
+ $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} else {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid Zend_Date object or UNIX Timestamp passed as parameter');
@@ -197,10 +197,10 @@
$zdate = null;
if ($date === null) {
$zdate = new Zend_Date;
- } elseif (ctype_digit($date) && strlen($date) == 10) {
- $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} elseif ($date instanceof Zend_Date) {
$zdate = $date;
+ } elseif (ctype_digit((string)$date)) {
+ $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} else {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid Zend_Date object or UNIX Timestamp passed as parameter');
@@ -218,10 +218,10 @@
$zdate = null;
if ($date === null) {
$zdate = new Zend_Date;
- } elseif (ctype_digit($date) && strlen($date) == 10) {
- $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} elseif ($date instanceof Zend_Date) {
$zdate = $date;
+ } elseif (ctype_digit((string)$date)) {
+ $zdate = new Zend_Date($date, Zend_Date::TIMESTAMP);
} else {
require_once 'Zend/Feed/Exception.php';
throw new Zend_Feed_Exception('Invalid Zend_Date object or UNIX Timestamp passed as parameter');
@@ -310,7 +310,7 @@
}
$this->_data['id'] = $id;
}
-
+
/**
* Validate a URI using the tag scheme (RFC 4151)
*
@@ -359,9 +359,9 @@
throw new Zend_Feed_Exception('Invalid parameter: parameter \'uri\''
. ' must be a non-empty string and valid URI/IRI');
}
- $this->_data['image'] = $data;
+ $this->_data['image'] = $data;
}
-
+
/**
* Set a feed icon (URI at minimum). Parameter is a single array with the
* required key 'uri'. Only 'uri' is required and used for Atom rendering.
@@ -377,7 +377,7 @@
throw new Zend_Feed_Exception('Invalid parameter: parameter \'uri\''
. ' must be a non-empty string and valid URI/IRI');
}
- $this->_data['icon'] = $data;
+ $this->_data['icon'] = $data;
}
/**
@@ -453,7 +453,7 @@
}
$this->_data['encoding'] = $encoding;
}
-
+
/**
* Set the feed's base URL
*
@@ -468,7 +468,7 @@
}
$this->_data['baseUrl'] = $url;
}
-
+
/**
* Add a Pubsubhubbub hub endpoint URL
*
@@ -486,7 +486,7 @@
}
$this->_data['hubs'][] = $url;
}
-
+
/**
* Add Pubsubhubbub hub endpoint URLs
*
@@ -498,12 +498,12 @@
$this->addHub($url);
}
}
-
+
/**
* Add a feed category
*
* @param string $category
- */
+ */
public function addCategory(array $category)
{
if (!isset($category['term'])) {
@@ -513,7 +513,7 @@
. ' readable category name');
}
if (isset($category['scheme'])) {
- if (empty($category['scheme'])
+ if (empty($category['scheme'])
|| !is_string($category['scheme'])
|| !Zend_Uri::check($category['scheme'])
) {
@@ -527,7 +527,7 @@
}
$this->_data['categories'][] = $category;
}
-
+
/**
* Set an array of feed categories
*
@@ -671,7 +671,7 @@
}
return $this->_data['image'];
}
-
+
/**
* Get the feed icon URI
*
@@ -749,7 +749,7 @@
}
return $this->_data['encoding'];
}
-
+
/**
* Get the feed's base url
*
@@ -762,7 +762,7 @@
}
return $this->_data['baseUrl'];
}
-
+
/**
* Get the URLs used as Pubsubhubbub hubs endpoints
*
@@ -775,7 +775,7 @@
}
return $this->_data['hubs'];
}
-
+
/**
* Get the feed categories
*
@@ -798,7 +798,7 @@
{
$this->_data = array();
}
-
+
/**
* Set the current feed type being exported to "rss" or "atom". This allows
* other objects to gracefully choose whether to execute or not, depending
@@ -810,7 +810,7 @@
{
$this->_type = $type;
}
-
+
/**
* Retrieve the current or last feed type exported.
*
@@ -820,7 +820,7 @@
{
return $this->_type;
}
-
+
/**
* Unset a specific data point
*
@@ -832,7 +832,7 @@
unset($this->_data[$name]);
}
}
-
+
/**
* Method overloading: call given method on first extension implementing it
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/Entry/Atom.php
--- a/web/lib/Zend/Feed/Writer/Renderer/Entry/Atom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/Entry/Atom.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Atom.php 22758 2010-08-01 19:23:27Z padraic $
+ * @version $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_Entry_Atom
@@ -38,8 +38,8 @@
{
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Entry $container
+ *
+ * @param Zend_Feed_Writer_Entry $container
* @return void
*/
public function __construct (Zend_Feed_Writer_Entry $container)
@@ -49,7 +49,7 @@
/**
* Render atom entry
- *
+ *
* @return Zend_Feed_Writer_Renderer_Entry_Atom
*/
public function render()
@@ -58,7 +58,7 @@
$this->_dom->formatOutput = true;
$entry = $this->_dom->createElementNS(Zend_Feed_Writer::NAMESPACE_ATOM_10, 'entry');
$this->_dom->appendChild($entry);
-
+
$this->_setSource($this->_dom, $entry);
$this->_setTitle($this->_dom, $entry);
$this->_setDescription($this->_dom, $entry);
@@ -77,15 +77,15 @@
$ext->setDomDocument($this->getDomDocument(), $entry);
$ext->render();
}
-
+
return $this;
}
-
+
/**
* Set entry title
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setTitle(DOMDocument $dom, DOMElement $root)
@@ -108,12 +108,12 @@
$cdata = $dom->createCDATASection($this->getDataContainer()->getTitle());
$title->appendChild($cdata);
}
-
+
/**
* Set entry description
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDescription(DOMDocument $dom, DOMElement $root)
@@ -129,12 +129,12 @@
);
$subtitle->appendChild($cdata);
}
-
+
/**
* Set date entry was modified
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateModified(DOMDocument $dom, DOMElement $root)
@@ -159,12 +159,12 @@
);
$updated->appendChild($text);
}
-
+
/**
* Set date entry was created
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateCreated(DOMDocument $dom, DOMElement $root)
@@ -179,12 +179,12 @@
);
$el->appendChild($text);
}
-
+
/**
- * Set entry authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set entry authors
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -218,12 +218,12 @@
}
}
}
-
+
/**
* Set entry enclosure
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setEnclosure(DOMDocument $dom, DOMElement $root)
@@ -243,7 +243,7 @@
$enclosure->setAttribute('href', $data['uri']);
$root->appendChild($enclosure);
}
-
+
protected function _setLink(DOMDocument $dom, DOMElement $root)
{
if(!$this->getDataContainer()->getLink()) {
@@ -255,12 +255,12 @@
$link->setAttribute('type', 'text/html');
$link->setAttribute('href', $this->getDataContainer()->getLink());
}
-
+
/**
- * Set entry identifier
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set entry identifier
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setId(DOMDocument $dom, DOMElement $root)
@@ -297,7 +297,7 @@
$text = $dom->createTextNode($this->getDataContainer()->getId());
$id->appendChild($text);
}
-
+
/**
* Validate a URI using the tag scheme (RFC 4151)
*
@@ -329,12 +329,12 @@
}
return false;
}
-
+
/**
- * Set entry content
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set entry content
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setContent(DOMDocument $dom, DOMElement $root)
@@ -364,7 +364,7 @@
$element->appendChild($xhtml);
$root->appendChild($element);
}
-
+
/**
* Load a HTML string and attempt to normalise to XML
*/
@@ -386,19 +386,19 @@
$xhtml = $content;
}
$xhtml = preg_replace(array(
- "/(<[\/]?)([a-zA-Z]+)/"
+ "/(<[\/]?)([a-zA-Z]+)/"
), '$1xhtml:$2', $xhtml);
$dom = new DOMDocument('1.0', $this->getEncoding());
$dom->loadXML(''
. $xhtml . ' ');
return $dom->documentElement;
}
-
+
/**
- * Set entry cateories
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set entry cateories
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCategories(DOMDocument $dom, DOMElement $root)
@@ -421,12 +421,12 @@
$root->appendChild($category);
}
}
-
+
/**
* Append Source element (Atom 1.0 Feed Metadata)
*
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setSource(DOMDocument $dom, DOMElement $root)
@@ -439,6 +439,6 @@
$renderer->setType($this->getType());
$element = $renderer->render()->getElement();
$imported = $dom->importNode($element, true);
- $root->appendChild($imported);
+ $root->appendChild($imported);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/Entry/Atom/Deleted.php
--- a/web/lib/Zend/Feed/Writer/Renderer/Entry/Atom/Deleted.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/Entry/Atom/Deleted.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Deleted.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Deleted.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_Entry_Atom_Deleted
@@ -36,8 +36,8 @@
{
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Deleted $container
+ *
+ * @param Zend_Feed_Writer_Deleted $container
* @return void
*/
public function __construct (Zend_Feed_Writer_Deleted $container)
@@ -47,7 +47,7 @@
/**
* Render atom entry
- *
+ *
* @return Zend_Feed_Writer_Renderer_Entry_Atom
*/
public function render()
@@ -56,21 +56,21 @@
$this->_dom->formatOutput = true;
$entry = $this->_dom->createElement('at:deleted-entry');
$this->_dom->appendChild($entry);
-
+
$entry->setAttribute('ref', $this->_container->getReference());
$entry->setAttribute('when', $this->_container->getWhen()->get(Zend_Date::ISO_8601));
-
+
$this->_setBy($this->_dom, $entry);
$this->_setComment($this->_dom, $entry);
-
+
return $this;
}
-
+
/**
* Set tombstone comment
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setComment(DOMDocument $dom, DOMElement $root)
@@ -84,12 +84,12 @@
$cdata = $dom->createCDATASection($this->getDataContainer()->getComment());
$c->appendChild($cdata);
}
-
+
/**
- * Set entry authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set entry authors
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setBy(DOMDocument $dom, DOMElement $root)
@@ -117,5 +117,5 @@
$uri->appendChild($text);
}
}
-
+
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/Entry/Rss.php
--- a/web/lib/Zend/Feed/Writer/Renderer/Entry/Rss.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/Entry/Rss.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rss.php 22064 2010-04-30 14:02:38Z padraic $
+ * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_Entry_Rss
@@ -36,18 +36,18 @@
{
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Entry $container
+ *
+ * @param Zend_Feed_Writer_Entry $container
* @return void
*/
public function __construct (Zend_Feed_Writer_Entry $container)
{
parent::__construct($container);
}
-
+
/**
* Render RSS entry
- *
+ *
* @return Zend_Feed_Writer_Renderer_Entry_Rss
*/
public function render()
@@ -57,7 +57,7 @@
$this->_dom->substituteEntities = false;
$entry = $this->_dom->createElement('item');
$this->_dom->appendChild($entry);
-
+
$this->_setTitle($this->_dom, $entry);
$this->_setDescription($this->_dom, $entry);
$this->_setDateCreated($this->_dom, $entry);
@@ -77,12 +77,12 @@
return $this;
}
-
+
/**
* Set entry title
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setTitle(DOMDocument $dom, DOMElement $root)
@@ -106,12 +106,12 @@
$text = $dom->createTextNode($this->getDataContainer()->getTitle());
$title->appendChild($text);
}
-
+
/**
* Set entry description
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDescription(DOMDocument $dom, DOMElement $root)
@@ -139,12 +139,12 @@
$text = $dom->createCDATASection($this->getDataContainer()->getDescription());
$subtitle->appendChild($text);
}
-
+
/**
* Set date entry was last modified
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateModified(DOMDocument $dom, DOMElement $root)
@@ -160,12 +160,12 @@
);
$updated->appendChild($text);
}
-
+
/**
* Set date entry was created
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateCreated(DOMDocument $dom, DOMElement $root)
@@ -179,12 +179,12 @@
);
}
}
-
+
/**
* Set entry authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -204,12 +204,12 @@
$root->appendChild($author);
}
}
-
+
/**
* Set entry enclosure
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setEnclosure(DOMDocument $dom, DOMElement $root)
@@ -255,12 +255,12 @@
$enclosure->setAttribute('url', $data['uri']);
$root->appendChild($enclosure);
}
-
+
/**
* Set link to entry
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setLink(DOMDocument $dom, DOMElement $root)
@@ -273,12 +273,12 @@
$text = $dom->createTextNode($this->getDataContainer()->getLink());
$link->appendChild($text);
}
-
+
/**
* Set entry identifier
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setId(DOMDocument $dom, DOMElement $root)
@@ -300,12 +300,12 @@
$id->setAttribute('isPermaLink', 'false');
}
}
-
+
/**
* Set link to entry comments
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCommentLink(DOMDocument $dom, DOMElement $root)
@@ -319,12 +319,12 @@
$clink->appendChild($text);
$root->appendChild($clink);
}
-
+
/**
* Set entry categories
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCategories(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/Feed/Atom.php
--- a/web/lib/Zend/Feed/Writer/Renderer/Feed/Atom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/Feed/Atom.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Atom.php 23090 2010-10-12 17:28:16Z padraic $
+ * @version $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Feed_Writer_Feed */
@@ -42,7 +42,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_Feed_Atom
@@ -51,8 +51,8 @@
{
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Feed $container
+ *
+ * @param Zend_Feed_Writer_Feed $container
* @return void
*/
public function __construct (Zend_Feed_Writer_Feed $container)
@@ -62,7 +62,7 @@
/**
* Render Atom feed
- *
+ *
* @return Zend_Feed_Writer_Renderer_Feed_Atom
*/
public function render()
@@ -93,14 +93,14 @@
$this->_setCopyright($this->_dom, $root);
$this->_setCategories($this->_dom, $root);
$this->_setHubs($this->_dom, $root);
-
+
foreach ($this->_extensions as $ext) {
$ext->setType($this->getType());
$ext->setRootElement($this->getRootElement());
$ext->setDomDocument($this->getDomDocument(), $root);
$ext->render();
}
-
+
foreach ($this->_container as $entry) {
if ($this->getDataContainer()->getEncoding()) {
$entry->setEncoding($this->getDataContainer()->getEncoding());
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/Feed/Atom/AtomAbstract.php
--- a/web/lib/Zend/Feed/Writer/Renderer/Feed/Atom/AtomAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/Feed/Atom/AtomAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AtomAbstract.php 23090 2010-10-12 17:28:16Z padraic $
+ * @version $Id: AtomAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Feed_Writer_Feed */
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_Feed_Atom_AtomAbstract
@@ -45,8 +45,8 @@
{
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Feed $container
+ *
+ * @param Zend_Feed_Writer_Feed $container
* @return void
*/
public function __construct ($container)
@@ -56,9 +56,9 @@
/**
* Set feed language
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setLanguage(DOMDocument $dom, DOMElement $root)
@@ -71,9 +71,9 @@
/**
* Set feed title
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setTitle(DOMDocument $dom, DOMElement $root)
@@ -100,9 +100,9 @@
/**
* Set feed description
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDescription(DOMDocument $dom, DOMElement $root)
@@ -119,9 +119,9 @@
/**
* Set date feed was last modified
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateModified(DOMDocument $dom, DOMElement $root)
@@ -149,9 +149,9 @@
/**
* Set feed generator string
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setGenerator(DOMDocument $dom, DOMElement $root)
@@ -176,9 +176,9 @@
/**
* Set link to feed
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setLink(DOMDocument $dom, DOMElement $root)
@@ -195,9 +195,9 @@
/**
* Set feed links
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setFeedLinks(DOMDocument $dom, DOMElement $root)
@@ -227,12 +227,12 @@
$flink->setAttribute('href', $href);
}
}
-
+
/**
- * Set feed authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set feed authors
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -270,9 +270,9 @@
/**
* Set feed identifier
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setId(DOMDocument $dom, DOMElement $root)
@@ -302,12 +302,12 @@
$text = $dom->createTextNode($this->getDataContainer()->getId());
$id->appendChild($text);
}
-
+
/**
* Set feed copyright
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCopyright(DOMDocument $dom, DOMElement $root)
@@ -324,9 +324,9 @@
/**
* Set feed level logo (image)
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setImage(DOMDocument $dom, DOMElement $root)
@@ -340,12 +340,12 @@
$text = $dom->createTextNode($image['uri']);
$img->appendChild($text);
}
-
+
/**
* Set feed level icon (image)
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setIcon(DOMDocument $dom, DOMElement $root)
@@ -359,12 +359,12 @@
$text = $dom->createTextNode($image['uri']);
$img->appendChild($text);
}
-
+
/**
- * Set date feed was created
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set date feed was created
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateCreated(DOMDocument $dom, DOMElement $root)
@@ -378,12 +378,12 @@
);
}
}
-
+
/**
* Set base URL to feed links
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setBaseUrl(DOMDocument $dom, DOMElement $root)
@@ -394,12 +394,12 @@
}
$root->setAttribute('xml:base', $baseUrl);
}
-
+
/**
- * Set hubs to which this feed pushes
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set hubs to which this feed pushes
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setHubs(DOMDocument $dom, DOMElement $root)
@@ -415,12 +415,12 @@
$root->appendChild($hub);
}
}
-
+
/**
- * Set feed cateories
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ * Set feed cateories
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCategories(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/Feed/Atom/Source.php
--- a/web/lib/Zend/Feed/Writer/Renderer/Feed/Atom/Source.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/Feed/Atom/Source.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,17 +14,17 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Source.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Source.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
require_once 'Zend/Feed/Writer/Renderer/Feed/Atom/AtomAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_Feed_Atom_Source
@@ -34,18 +34,18 @@
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Feed_Source $container
+ *
+ * @param Zend_Feed_Writer_Feed_Source $container
* @return void
*/
public function __construct (Zend_Feed_Writer_Source $container)
{
parent::__construct($container);
}
-
+
/**
* Render Atom Feed Metadata (Source element)
- *
+ *
* @return Zend_Feed_Writer_Renderer_Feed_Atom
*/
public function render()
@@ -71,7 +71,7 @@
$this->_setAuthors($this->_dom, $root);
$this->_setCopyright($this->_dom, $root);
$this->_setCategories($this->_dom, $root);
-
+
foreach ($this->_extensions as $ext) {
$ext->setType($this->getType());
$ext->setRootElement($this->getRootElement());
@@ -80,12 +80,12 @@
}
return $this;
}
-
+
/**
* Set feed generator string
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setGenerator(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/Feed/Rss.php
--- a/web/lib/Zend/Feed/Writer/Renderer/Feed/Rss.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/Feed/Rss.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rss.php 22107 2010-05-05 13:42:20Z padraic $
+ * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Feed_Writer_Feed */
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_Feed_Rss
@@ -46,8 +46,8 @@
{
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Feed $container
+ *
+ * @param Zend_Feed_Writer_Feed $container
* @return void
*/
public function __construct (Zend_Feed_Writer_Feed $container)
@@ -57,7 +57,7 @@
/**
* Render RSS feed
- *
+ *
* @return Zend_Feed_Writer_Renderer_Feed_Rss
*/
public function render()
@@ -71,7 +71,7 @@
$rss = $this->_dom->createElement('rss');
$this->setRootElement($rss);
$rss->setAttribute('version', '2.0');
-
+
$channel = $this->_dom->createElement('channel');
$rss->appendChild($channel);
$this->_dom->appendChild($rss);
@@ -88,14 +88,14 @@
$this->_setAuthors($this->_dom, $channel);
$this->_setCopyright($this->_dom, $channel);
$this->_setCategories($this->_dom, $channel);
-
+
foreach ($this->_extensions as $ext) {
$ext->setType($this->getType());
$ext->setRootElement($this->getRootElement());
$ext->setDomDocument($this->getDomDocument(), $channel);
$ext->render();
}
-
+
foreach ($this->_container as $entry) {
if ($this->getDataContainer()->getEncoding()) {
$entry->setEncoding($this->getDataContainer()->getEncoding());
@@ -120,9 +120,9 @@
/**
* Set feed language
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setLanguage(DOMDocument $dom, DOMElement $root)
@@ -138,9 +138,9 @@
/**
* Set feed title
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setTitle(DOMDocument $dom, DOMElement $root)
@@ -166,9 +166,9 @@
/**
* Set feed description
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDescription(DOMDocument $dom, DOMElement $root)
@@ -193,9 +193,9 @@
/**
* Set date feed was last modified
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateModified(DOMDocument $dom, DOMElement $root)
@@ -214,9 +214,9 @@
/**
* Set feed generator string
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setGenerator(DOMDocument $dom, DOMElement $root)
@@ -242,9 +242,9 @@
/**
* Set link to feed
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setLink(DOMDocument $dom, DOMElement $root)
@@ -270,12 +270,12 @@
$link->setAttribute('isPermaLink', 'false');
}
}
-
+
/**
* Set feed authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -295,12 +295,12 @@
$root->appendChild($author);
}
}
-
+
/**
* Set feed copyright
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCopyright(DOMDocument $dom, DOMElement $root)
@@ -317,9 +317,9 @@
/**
* Set feed channel image
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setImage(DOMDocument $dom, DOMElement $root)
@@ -422,12 +422,12 @@
$img->appendChild($desc);
}
}
-
+
/**
* Set date feed was created
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateCreated(DOMDocument $dom, DOMElement $root)
@@ -444,9 +444,9 @@
/**
* Set date feed last build date
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setLastBuildDate(DOMDocument $dom, DOMElement $root)
@@ -462,12 +462,12 @@
);
$lastBuildDate->appendChild($text);
}
-
+
/**
* Set base URL to feed links
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setBaseUrl(DOMDocument $dom, DOMElement $root)
@@ -478,12 +478,12 @@
}
$root->setAttribute('xml:base', $baseUrl);
}
-
+
/**
* Set feed categories
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCategories(DOMDocument $dom, DOMElement $root)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/RendererAbstract.php
--- a/web/lib/Zend/Feed/Writer/Renderer/RendererAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/RendererAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,21 +14,21 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RendererAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RendererAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
-
+
/** @see Zend_Feed_Writer */
require_once 'Zend/Feed/Writer.php';
/** @see Zend_Version */
require_once 'Zend/Version.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Renderer_RendererAbstract
@@ -38,7 +38,7 @@
* @var array
*/
protected $_extensions = array();
-
+
/**
* @var mixed
*/
@@ -58,14 +58,14 @@
* @var array
*/
protected $_exceptions = array();
-
+
/**
* Encoding of all text values
*
* @var string
*/
protected $_encoding = 'UTF-8';
-
+
/**
* Holds the value "atom" or "rss" depending on the feed type set when
* when last exported.
@@ -73,7 +73,7 @@
* @var string
*/
protected $_type = null;
-
+
/**
* @var DOMElement
*/
@@ -81,8 +81,8 @@
/**
* Constructor
- *
- * @param mixed $container
+ *
+ * @param mixed $container
* @return void
*/
public function __construct($container)
@@ -91,10 +91,10 @@
$this->setType($container->getType());
$this->_loadExtensions();
}
-
+
/**
* Save XML to string
- *
+ *
* @return string
*/
public function saveXml()
@@ -104,7 +104,7 @@
/**
* Get DOM document
- *
+ *
* @return DOMDocument
*/
public function getDomDocument()
@@ -114,7 +114,7 @@
/**
* Get document element from DOM
- *
+ *
* @return DOMElement
*/
public function getElement()
@@ -124,18 +124,18 @@
/**
* Get data container of items being rendered
- *
+ *
* @return mixed
*/
public function getDataContainer()
{
return $this->_container;
}
-
+
/**
* Set feed encoding
- *
- * @param string $enc
+ *
+ * @param string $enc
* @return Zend_Feed_Writer_Renderer_RendererAbstract
*/
public function setEncoding($enc)
@@ -143,10 +143,10 @@
$this->_encoding = $enc;
return $this;
}
-
+
/**
* Get feed encoding
- *
+ *
* @return string
*/
public function getEncoding()
@@ -156,8 +156,8 @@
/**
* Indicate whether or not to ignore exceptions
- *
- * @param bool $bool
+ *
+ * @param bool $bool
* @return Zend_Feed_Writer_Renderer_RendererAbstract
*/
public function ignoreExceptions($bool = true)
@@ -172,14 +172,14 @@
/**
* Get exception list
- *
+ *
* @return array
*/
public function getExceptions()
{
return $this->_exceptions;
}
-
+
/**
* Set the current feed type being exported to "rss" or "atom". This allows
* other objects to gracefully choose whether to execute or not, depending
@@ -191,7 +191,7 @@
{
$this->_type = $type;
}
-
+
/**
* Retrieve the current or last feed type exported.
*
@@ -201,7 +201,7 @@
{
return $this->_type;
}
-
+
/**
* Sets the absolute root element for the XML feed being generated. This
* helps simplify the appending of namespace declarations, but also ensures
@@ -214,7 +214,7 @@
{
$this->_rootElement = $root;
}
-
+
/**
* Retrieve the absolute root element for the XML feed being generated.
*
@@ -224,7 +224,7 @@
{
return $this->_rootElement;
}
-
+
/**
* Load extensions from Zend_Feed_Writer
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Renderer/RendererInterface.php
--- a/web/lib/Zend/Feed/Writer/Renderer/RendererInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Renderer/RendererInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,68 +14,68 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RendererInterface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RendererInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Feed_Writer_Renderer_RendererInterface
{
/**
* Render feed/entry
- *
+ *
* @return void
*/
public function render();
/**
* Save feed and/or entry to XML and return string
- *
+ *
* @return string
*/
public function saveXml();
/**
* Get DOM document
- *
+ *
* @return DOMDocument
*/
public function getDomDocument();
/**
* Get document element from DOM
- *
+ *
* @return DOMElement
*/
public function getElement();
/**
* Get data container containing feed items
- *
+ *
* @return mixed
*/
public function getDataContainer();
/**
* Should exceptions be ignored?
- *
+ *
* @return mixed
*/
public function ignoreExceptions();
-
+
/**
* Get list of thrown exceptions
- *
+ *
* @return array
*/
public function getExceptions();
-
+
/**
* Set the current feed type being exported to "rss" or "atom". This allows
* other objects to gracefully choose whether to execute or not, depending
@@ -84,14 +84,14 @@
* @param string $type
*/
public function setType($type);
-
+
/**
* Retrieve the current or last feed type exported.
*
* @return string Value will be "rss" or "atom"
*/
public function getType();
-
+
/**
* Sets the absolute root element for the XML feed being generated. This
* helps simplify the appending of namespace declarations, but also ensures
@@ -101,7 +101,7 @@
* @param DOMElement $root
*/
public function setRootElement(DOMElement $root);
-
+
/**
* Retrieve the absolute root element for the XML feed being generated.
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Feed/Writer/Source.php
--- a/web/lib/Zend/Feed/Writer/Source.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Feed/Writer/Source.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,17 +14,17 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Source.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Source.php 24593 2012-01-05 20:35:02Z matthew $
*/
require_once 'Zend/Feed/Writer/Feed/FeedAbstract.php';
-
+
/**
* @category Zend
* @package Zend_Feed_Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_Writer_Source extends Zend_Feed_Writer_Feed_FeedAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/File/ClassFileLocator.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/File/ClassFileLocator.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,173 @@
+getInnerIterator()->current();
+
+ // If we somehow have something other than an SplFileInfo object, just
+ // return false
+ if (!$file instanceof SplFileInfo) {
+ return false;
+ }
+
+ // If we have a directory, it's not a file, so return false
+ if (!$file->isFile()) {
+ return false;
+ }
+
+ // If not a PHP file, skip
+ if ($file->getBasename('.php') == $file->getBasename()) {
+ return false;
+ }
+
+ $contents = file_get_contents($file->getRealPath());
+ $tokens = token_get_all($contents);
+ $count = count($tokens);
+ $i = 0;
+ while ($i < $count) {
+ $token = $tokens[$i];
+
+ if (!is_array($token)) {
+ // single character token found; skip
+ $i++;
+ continue;
+ }
+
+ list($id, $content, $line) = $token;
+
+ switch ($id) {
+ case T_NAMESPACE:
+ // Namespace found; grab it for later
+ $namespace = '';
+ $done = false;
+ do {
+ ++$i;
+ $token = $tokens[$i];
+ if (is_string($token)) {
+ if (';' === $token) {
+ $done = true;
+ }
+ continue;
+ }
+ list($type, $content, $line) = $token;
+ switch ($type) {
+ case T_STRING:
+ case T_NS_SEPARATOR:
+ $namespace .= $content;
+ break;
+ }
+ } while (!$done && $i < $count);
+
+ // Set the namespace of this file in the object
+ $file->namespace = $namespace;
+ break;
+ case T_CLASS:
+ case T_INTERFACE:
+ // Abstract class, class, or interface found
+
+ // Get the classname
+ $class = '';
+ do {
+ ++$i;
+ $token = $tokens[$i];
+ if (is_string($token)) {
+ continue;
+ }
+ list($type, $content, $line) = $token;
+ switch ($type) {
+ case T_STRING:
+ $class = $content;
+ break;
+ }
+ } while (empty($class) && $i < $count);
+
+ // If a classname was found, set it in the object, and
+ // return boolean true (found)
+ if (!empty($class)) {
+ $file->classname = $class;
+ return true;
+ }
+ break;
+ default:
+ break;
+ }
+ ++$i;
+ }
+
+ // No class-type tokens found; return false
+ return false;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/File/Transfer.php
--- a/web/lib/Zend/File/Transfer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/File/Transfer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Transfer.php 21201 2010-02-24 22:13:20Z thomas $
+ * @version $Id: Transfer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_File_Transfer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/File/Transfer/Adapter/Abstract.php
--- a/web/lib/Zend/File/Transfer/Adapter/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/File/Transfer/Adapter/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 22371 2010-06-04 20:09:44Z thomas $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_File_Transfer_Adapter_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/File/Transfer/Adapter/Http.php
--- a/web/lib/Zend/File/Transfer/Adapter/Http.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/File/Transfer/Adapter/Http.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Http.php 22563 2010-07-15 20:42:04Z thomas $
+ * @version $Id: Http.php 25087 2012-11-06 21:15:45Z rob $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_File_Transfer_Adapter_Http extends Zend_File_Transfer_Adapter_Abstract
@@ -128,6 +128,10 @@
// Workaround for a PHP error returning empty $_FILES when form data exceeds php settings
if (empty($this->_files) && ($content > 0)) {
if (is_array($files)) {
+ if (0 === count($files)) {
+ return false;
+ }
+
$files = current($files);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/File/Transfer/Exception.php
--- a/web/lib/Zend/File/Transfer/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/File/Transfer/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_File_Transfer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_File_Transfer_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter.php
--- a/web/lib/Zend/Filter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Filter.php 21096 2010-02-19 20:10:54Z thomas $
+ * @version $Id: Filter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Alnum.php
--- a/web/lib/Zend/Filter/Alnum.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Alnum.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Alnum.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Alnum.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Alnum implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Alpha.php
--- a/web/lib/Zend/Filter/Alpha.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Alpha.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Alpha.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Alpha.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Alpha implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/BaseName.php
--- a/web/lib/Zend/Filter/BaseName.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/BaseName.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BaseName.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BaseName.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_BaseName implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Boolean.php
--- a/web/lib/Zend/Filter/Boolean.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Boolean.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Boolean.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Boolean.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Boolean implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Callback.php
--- a/web/lib/Zend/Filter/Callback.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Callback.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Callback.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Callback.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Callback implements Zend_Filter_Interface
@@ -130,7 +130,7 @@
/**
* Calls the filter per callback
*
- * @param $value mixed Options for the set callback
+ * @param mixed $value Options for the set callback
* @return mixed Result from the filter which was callbacked
*/
public function filter($value)
@@ -149,4 +149,4 @@
return call_user_func_array($this->_callback, $options);
}
-}
\ No newline at end of file
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress.php
--- a/web/lib/Zend/Filter/Compress.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Compress.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Compress.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Compress implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/Bz2.php
--- a/web/lib/Zend/Filter/Compress/Bz2.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/Bz2.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Bz2.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Bz2.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Compress_Bz2 extends Zend_Filter_Compress_CompressAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/CompressAbstract.php
--- a/web/lib/Zend/Filter/Compress/CompressAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/CompressAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CompressAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CompressAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Filter_Compress_CompressAbstract implements Zend_Filter_Compress_CompressInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/CompressInterface.php
--- a/web/lib/Zend/Filter/Compress/CompressInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/CompressInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CompressInterface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CompressInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Filter_Compress_CompressInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/Gz.php
--- a/web/lib/Zend/Filter/Compress/Gz.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/Gz.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Gz.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Gz.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Compress_Gz extends Zend_Filter_Compress_CompressAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/Lzf.php
--- a/web/lib/Zend/Filter/Compress/Lzf.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/Lzf.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Lzf.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Lzf.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Compress_Lzf implements Zend_Filter_Compress_CompressInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/Rar.php
--- a/web/lib/Zend/Filter/Compress/Rar.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/Rar.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rar.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Rar.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Compress_Rar extends Zend_Filter_Compress_CompressAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/Tar.php
--- a/web/lib/Zend/Filter/Compress/Tar.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/Tar.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Tar.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Tar.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Compress_Tar extends Zend_Filter_Compress_CompressAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Compress/Zip.php
--- a/web/lib/Zend/Filter/Compress/Zip.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Compress/Zip.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Zip.php 20126 2010-01-07 18:10:58Z ralph $
+ * @version $Id: Zip.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Compress_Zip extends Zend_Filter_Compress_CompressAbstract
@@ -218,7 +218,7 @@
if (!empty($target) && !is_dir($target)) {
$target = dirname($target);
}
-
+
if (!empty($target)) {
$target = rtrim($target, '/\\') . DIRECTORY_SEPARATOR;
}
@@ -249,8 +249,8 @@
);
}
}
- }
-
+ }
+
$res = @$zip->extractTo($target);
if ($res !== true) {
require_once 'Zend/Filter/Exception.php';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Decompress.php
--- a/web/lib/Zend/Filter/Decompress.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Decompress.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Decompress.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Decompress.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Decompress extends Zend_Filter_Compress
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Decrypt.php
--- a/web/lib/Zend/Filter/Decrypt.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Decrypt.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Decrypt.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Decrypt.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Decrypt extends Zend_Filter_Encrypt
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Digits.php
--- a/web/lib/Zend/Filter/Digits.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Digits.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Digits.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Digits.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Digits implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Dir.php
--- a/web/lib/Zend/Filter/Dir.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Dir.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Dir.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Dir.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Dir implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Encrypt.php
--- a/web/lib/Zend/Filter/Encrypt.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Encrypt.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Encrypt.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Encrypt.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Encrypt implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Encrypt/Interface.php
--- a/web/lib/Zend/Filter/Encrypt/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Encrypt/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Filter_Encrypt_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Encrypt/Mcrypt.php
--- a/web/lib/Zend/Filter/Encrypt/Mcrypt.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Encrypt/Mcrypt.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mcrypt.php 21212 2010-02-27 17:33:27Z thomas $
+ * @version $Id: Mcrypt.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Encrypt_Mcrypt implements Zend_Filter_Encrypt_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Encrypt/Openssl.php
--- a/web/lib/Zend/Filter/Encrypt/Openssl.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Encrypt/Openssl.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Openssl.php 21212 2010-02-27 17:33:27Z thomas $
+ * @version $Id: Openssl.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Encrypt_Openssl implements Zend_Filter_Encrypt_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Exception.php
--- a/web/lib/Zend/Filter/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/File/Decrypt.php
--- a/web/lib/Zend/Filter/File/Decrypt.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/File/Decrypt.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Decrypt.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Decrypt.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_File_Decrypt extends Zend_Filter_Decrypt
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/File/Encrypt.php
--- a/web/lib/Zend/Filter/File/Encrypt.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/File/Encrypt.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Encrypt.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Encrypt.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_File_Encrypt extends Zend_Filter_Encrypt
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/File/LowerCase.php
--- a/web/lib/Zend/Filter/File/LowerCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/File/LowerCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LowerCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: LowerCase.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_File_LowerCase extends Zend_Filter_StringToLower
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/File/Rename.php
--- a/web/lib/Zend/Filter/File/Rename.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/File/Rename.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rename.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rename.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_File_Rename implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/File/UpperCase.php
--- a/web/lib/Zend/Filter/File/UpperCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/File/UpperCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpperCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UpperCase.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_File_UpperCase extends Zend_Filter_StringToUpper
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/HtmlEntities.php
--- a/web/lib/Zend/Filter/HtmlEntities.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/HtmlEntities.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HtmlEntities.php 21060 2010-02-15 21:56:07Z thomas $
+ * @version $Id: HtmlEntities.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_HtmlEntities implements Zend_Filter_Interface
@@ -197,6 +197,20 @@
*/
public function filter($value)
{
- return htmlentities((string) $value, $this->getQuoteStyle(), $this->getEncoding(), $this->getDoubleQuote());
+ $filtered = htmlentities((string) $value, $this->getQuoteStyle(), $this->getEncoding(), $this->getDoubleQuote());
+ if (strlen((string) $value) && !strlen($filtered)) {
+ if (!function_exists('iconv')) {
+ require_once 'Zend/Filter/Exception.php';
+ throw new Zend_Filter_Exception('Encoding mismatch has resulted in htmlentities errors');
+ }
+ $enc = $this->getEncoding();
+ $value = iconv('', $enc . '//IGNORE', (string) $value);
+ $filtered = htmlentities($value, $this->getQuoteStyle(), $enc, $this->getDoubleQuote());
+ if (!strlen($filtered)) {
+ require_once 'Zend/Filter/Exception.php';
+ throw new Zend_Filter_Exception('Encoding mismatch has resulted in htmlentities errors');
+ }
+ }
+ return $filtered;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Inflector.php
--- a/web/lib/Zend/Filter/Inflector.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Inflector.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Inflector.php 21371 2010-03-07 19:56:01Z thomas $
+ * @version $Id: Inflector.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Inflector implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Input.php
--- a/web/lib/Zend/Filter/Input.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Input.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Input.php 22472 2010-06-20 07:36:16Z thomas $
+ * @version $Id: Input.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Input
@@ -801,6 +801,9 @@
$this->_data = array();
return;
}
+
+ // remember the default not empty message in case we want to temporarily change it
+ $preserveDefaultNotEmptyMessage = $this->_defaults[self::NOT_EMPTY_MESSAGE];
foreach ($this->_validatorRules as $ruleName => &$validatorRule) {
/**
@@ -836,7 +839,46 @@
$validatorRule[self::PRESENCE] = $this->_defaults[self::PRESENCE];
}
if (!isset($validatorRule[self::ALLOW_EMPTY])) {
- $validatorRule[self::ALLOW_EMPTY] = $this->_defaults[self::ALLOW_EMPTY];
+ $foundNotEmptyValidator = false;
+
+ foreach ($validatorRule as $rule) {
+ if ($rule === 'NotEmpty') {
+ $foundNotEmptyValidator = true;
+ // field may not be empty, we are ready
+ break 1;
+ }
+
+ if (is_array($rule)) {
+ $keys = array_keys($rule);
+ $classKey = array_shift($keys);
+ if (isset($rule[$classKey])) {
+ $ruleClass = $rule[$classKey];
+ if ($ruleClass === 'NotEmpty') {
+ $foundNotEmptyValidator = true;
+ // field may not be empty, we are ready
+ break 1;
+ }
+ }
+ }
+
+ // we must check if it is an object before using instanceof
+ if (!is_object($rule)) {
+ // it cannot be a NotEmpty validator, skip this one
+ continue;
+ }
+
+ if($rule instanceof Zend_Validate_NotEmpty) {
+ $foundNotEmptyValidator = true;
+ // field may not be empty, we are ready
+ break 1;
+ }
+ }
+
+ if (!$foundNotEmptyValidator) {
+ $validatorRule[self::ALLOW_EMPTY] = $this->_defaults[self::ALLOW_EMPTY];
+ } else {
+ $validatorRule[self::ALLOW_EMPTY] = false;
+ }
}
if (!isset($validatorRule[self::MESSAGES])) {
@@ -844,6 +886,8 @@
} else if (!is_array($validatorRule[self::MESSAGES])) {
$validatorRule[self::MESSAGES] = array($validatorRule[self::MESSAGES]);
} else if (array_intersect_key($validatorList, $validatorRule[self::MESSAGES])) {
+ // this seems pointless... it just re-adds what it already has...
+ // I can disable all this and not a single unit test fails...
// There are now corresponding numeric keys in the validation rule messages array
// Treat it as a named messages list for all rule validators
$unifiedMessages = $validatorRule[self::MESSAGES];
@@ -876,7 +920,17 @@
}
if ($validator instanceof Zend_Validate_NotEmpty) {
- $this->_defaults[self::NOT_EMPTY_MESSAGE] = $value;
+ /** we are changing the defaults here, this is alright if all subsequent validators are also a not empty
+ * validator, but it goes wrong if one of them is not AND is required!!!
+ * that is why we restore the default value at the end of this loop
+ */
+ if (is_array($value)) {
+ $temp = $value; // keep the original value
+ $this->_defaults[self::NOT_EMPTY_MESSAGE] = array_pop($temp);
+ unset($temp);
+ } else {
+ $this->_defaults[self::NOT_EMPTY_MESSAGE] = $value;
+ }
}
}
@@ -897,7 +951,12 @@
} else {
$this->_validateRule($validatorRule);
}
+
+ // reset the default not empty message
+ $this->_defaults[self::NOT_EMPTY_MESSAGE] = $preserveDefaultNotEmptyMessage;
}
+
+
/**
* Unset fields in $_data that have been added to other arrays.
@@ -972,9 +1031,12 @@
$messages = array();
foreach ($data as $fieldKey => $field) {
- $notEmptyValidator = $this->_getValidator('NotEmpty');
- $notEmptyValidator->setMessage($this->_getNotEmptyMessage($validatorRule[self::RULE], $fieldKey));
-
+ // if there is no Zend_Validate_NotEmpty instance in the rules, we will use the default
+ if (!($notEmptyValidator = $this->_getNotEmptyValidatorInstance($validatorRule))) {
+ $notEmptyValidator = $this->_getValidator('NotEmpty');
+ $notEmptyValidator->setMessage($this->_getNotEmptyMessage($validatorRule[self::RULE], $fieldKey));
+ }
+
if (!$notEmptyValidator->isValid($field)) {
foreach ($notEmptyValidator->getMessages() as $messageKey => $message) {
if (!isset($messages[$messageKey])) {
@@ -1011,8 +1073,12 @@
$field = array($field);
}
- $notEmptyValidator = $this->_getValidator('NotEmpty');
- $notEmptyValidator->setMessage($this->_getNotEmptyMessage($validatorRule[self::RULE], $fieldName));
+ // if there is no Zend_Validate_NotEmpty instance in the rules, we will use the default
+ if (!($notEmptyValidator = $this->_getNotEmptyValidatorInstance($validatorRule))) {
+ $notEmptyValidator = $this->_getValidator('NotEmpty');
+ $notEmptyValidator->setMessage($this->_getNotEmptyMessage($validatorRule[self::RULE], $fieldName));
+ }
+
if ($validatorRule[self::ALLOW_EMPTY]) {
$validatorChain = $validatorRule[self::VALIDATOR_CHAIN];
} else {
@@ -1021,7 +1087,7 @@
$validatorChain->addValidator($validatorRule[self::VALIDATOR_CHAIN]);
}
- foreach ($field as $value) {
+ foreach ($field as $key => $value) {
if ($validatorRule[self::ALLOW_EMPTY] && !$notEmptyValidator->isValid($value)) {
// Field is empty AND it's allowed. Do nothing.
continue;
@@ -1070,6 +1136,23 @@
}
}
}
+
+ /**
+ * Check a validatorRule for the presence of a NotEmpty validator instance.
+ * The purpose is to preserve things like a custom message, that may have been
+ * set on the validator outside Zend_Filter_Input.
+ * @param array $validatorRule
+ * @return mixed false if none is found, Zend_Validate_NotEmpty instance if found
+ */
+ protected function _getNotEmptyValidatorInstance($validatorRule) {
+ foreach ($validatorRule as $rule => $value) {
+ if (is_object($value) and $value instanceof Zend_Validate_NotEmpty) {
+ return $value;
+ }
+ }
+
+ return false;
+ }
/**
* @param mixed $classBaseName
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Int.php
--- a/web/lib/Zend/Filter/Int.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Int.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Int.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Int.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Int implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Interface.php
--- a/web/lib/Zend/Filter/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/LocalizedToNormalized.php
--- a/web/lib/Zend/Filter/LocalizedToNormalized.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/LocalizedToNormalized.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocalizedToNormalized.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: LocalizedToNormalized.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_LocalizedToNormalized implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/NormalizedToLocalized.php
--- a/web/lib/Zend/Filter/NormalizedToLocalized.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/NormalizedToLocalized.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NormalizedToLocalized.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NormalizedToLocalized.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_NormalizedToLocalized implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Null.php
--- a/web/lib/Zend/Filter/Null.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Null.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Null.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Null implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/PregReplace.php
--- a/web/lib/Zend/Filter/PregReplace.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/PregReplace.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PregReplace.php 21085 2010-02-18 21:08:39Z thomas $
+ * @version $Id: PregReplace.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_PregReplace implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/RealPath.php
--- a/web/lib/Zend/Filter/RealPath.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/RealPath.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RealPath.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RealPath.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_RealPath implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/StringToLower.php
--- a/web/lib/Zend/Filter/StringToLower.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/StringToLower.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StringToLower.php 22790 2010-08-03 19:16:33Z thomas $
+ * @version $Id: StringToLower.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_StringToLower implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/StringToUpper.php
--- a/web/lib/Zend/Filter/StringToUpper.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/StringToUpper.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StringToUpper.php 22790 2010-08-03 19:16:33Z thomas $
+ * @version $Id: StringToUpper.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_StringToUpper implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/StringTrim.php
--- a/web/lib/Zend/Filter/StringTrim.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/StringTrim.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StringTrim.php 23401 2010-11-19 18:52:08Z ramon $
+ * @version $Id: StringTrim.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_StringTrim implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/StripNewlines.php
--- a/web/lib/Zend/Filter/StripNewlines.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/StripNewlines.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StripNewlines.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: StripNewlines.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_StripNewlines implements Zend_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/StripTags.php
--- a/web/lib/Zend/Filter/StripTags.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/StripTags.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StripTags.php 22806 2010-08-08 08:31:28Z thomas $
+ * @version $Id: StripTags.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_StripTags implements Zend_Filter_Interface
@@ -319,7 +319,7 @@
// If there are non-whitespace characters in the attribute string
if (strlen($tagAttributes)) {
// Parse iteratively for well-formed attributes
- preg_match_all('/(\w+)\s*=\s*(?:(")(.*?)"|(\')(.*?)\')/s', $tagAttributes, $matches);
+ preg_match_all('/([\w-]+)\s*=\s*(?:(")(.*?)"|(\')(.*?)\')/s', $tagAttributes, $matches);
// Initialize valid attribute accumulator
$tagAttributes = '';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/CamelCaseToDash.php
--- a/web/lib/Zend/Filter/Word/CamelCaseToDash.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/CamelCaseToDash.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CamelCaseToDash.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CamelCaseToDash.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_CamelCaseToDash extends Zend_Filter_Word_CamelCaseToSeparator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/CamelCaseToSeparator.php
--- a/web/lib/Zend/Filter/Word/CamelCaseToSeparator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/CamelCaseToSeparator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CamelCaseToSeparator.php 21088 2010-02-19 06:47:48Z thomas $
+ * @version $Id: CamelCaseToSeparator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_CamelCaseToSeparator extends Zend_Filter_Word_Separator_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/CamelCaseToUnderscore.php
--- a/web/lib/Zend/Filter/Word/CamelCaseToUnderscore.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/CamelCaseToUnderscore.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CamelCaseToUnderscore.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CamelCaseToUnderscore.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_CamelCaseToUnderscore extends Zend_Filter_Word_CamelCaseToSeparator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/DashToCamelCase.php
--- a/web/lib/Zend/Filter/Word/DashToCamelCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/DashToCamelCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DashToCamelCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DashToCamelCase.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_DashToCamelCase extends Zend_Filter_Word_SeparatorToCamelCase
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/DashToSeparator.php
--- a/web/lib/Zend/Filter/Word/DashToSeparator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/DashToSeparator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DashToSeparator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DashToSeparator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_DashToSeparator extends Zend_Filter_Word_Separator_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/DashToUnderscore.php
--- a/web/lib/Zend/Filter/Word/DashToUnderscore.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/DashToUnderscore.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DashToUnderscore.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DashToUnderscore.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_DashToUnderscore extends Zend_Filter_Word_SeparatorToSeparator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/Separator/Abstract.php
--- a/web/lib/Zend/Filter/Word/Separator/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/Separator/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Filter
* @uses Zend_Filter_PregReplace
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Filter_Word_Separator_Abstract extends Zend_Filter_PregReplace
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/SeparatorToCamelCase.php
--- a/web/lib/Zend/Filter/Word/SeparatorToCamelCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/SeparatorToCamelCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SeparatorToCamelCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SeparatorToCamelCase.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_SeparatorToCamelCase extends Zend_Filter_Word_Separator_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/SeparatorToDash.php
--- a/web/lib/Zend/Filter/Word/SeparatorToDash.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/SeparatorToDash.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SeparatorToDash.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SeparatorToDash.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_SeparatorToDash extends Zend_Filter_Word_SeparatorToSeparator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/SeparatorToSeparator.php
--- a/web/lib/Zend/Filter/Word/SeparatorToSeparator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/SeparatorToSeparator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SeparatorToSeparator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SeparatorToSeparator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_SeparatorToSeparator extends Zend_Filter_PregReplace
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/UnderscoreToCamelCase.php
--- a/web/lib/Zend/Filter/Word/UnderscoreToCamelCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/UnderscoreToCamelCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UnderscoreToCamelCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UnderscoreToCamelCase.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_UnderscoreToCamelCase extends Zend_Filter_Word_SeparatorToCamelCase
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/UnderscoreToDash.php
--- a/web/lib/Zend/Filter/Word/UnderscoreToDash.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/UnderscoreToDash.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UnderscoreToDash.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UnderscoreToDash.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_UnderscoreToDash extends Zend_Filter_Word_SeparatorToSeparator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Filter/Word/UnderscoreToSeparator.php
--- a/web/lib/Zend/Filter/Word/UnderscoreToSeparator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Filter/Word/UnderscoreToSeparator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UnderscoreToSeparator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UnderscoreToSeparator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Filter_Word_UnderscoreToSeparator extends Zend_Filter_Word_SeparatorToSeparator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form.php
--- a/web/lib/Zend/Form.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,9 +26,9 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Form.php 23429 2010-11-22 23:06:46Z bittarman $
+ * @version $Id: Form.php 25223 2013-01-17 14:44:54Z frosch $
*/
class Zend_Form implements Iterator, Countable, Zend_Validate_Interface
{
@@ -353,6 +353,11 @@
unset($options['attribs']);
}
+ if (isset($options['subForms'])) {
+ $this->addSubForms($options['subForms']);
+ unset($options['subForms']);
+ }
+
$forbidden = array(
'Options', 'Config', 'PluginLoader', 'SubForms', 'Translator',
'Attrib', 'Default',
@@ -495,12 +500,13 @@
$loader->addPrefixPath($prefix, $path);
return $this;
case null:
- $prefix = rtrim($prefix, '_');
+ $nsSeparator = (false !== strpos($prefix, '\\'))?'\\':'_';
+ $prefix = rtrim($prefix, $nsSeparator);
$path = rtrim($path, DIRECTORY_SEPARATOR);
foreach (array(self::DECORATOR, self::ELEMENT) as $type) {
$cType = ucfirst(strtolower($type));
$pluginPath = $path . DIRECTORY_SEPARATOR . $cType . DIRECTORY_SEPARATOR;
- $pluginPrefix = $prefix . '_' . $cType;
+ $pluginPrefix = $prefix . $nsSeparator . $cType;
$loader = $this->getPluginLoader($type);
$loader->addPrefixPath($pluginPrefix, $pluginPath);
}
@@ -1013,6 +1019,7 @@
* @param string|Zend_Form_Element $element
* @param string $name
* @param array|Zend_Config $options
+ * @throws Zend_Form_Exception on invalid element
* @return Zend_Form
*/
public function addElement($element, $name = null, $options = null)
@@ -1020,20 +1027,9 @@
if (is_string($element)) {
if (null === $name) {
require_once 'Zend/Form/Exception.php';
- throw new Zend_Form_Exception('Elements specified by string must have an accompanying name');
- }
-
- if (is_array($this->_elementDecorators)) {
- if (null === $options) {
- $options = array('decorators' => $this->_elementDecorators);
- } elseif ($options instanceof Zend_Config) {
- $options = $options->toArray();
- }
- if (is_array($options)
- && !array_key_exists('decorators', $options)
- ) {
- $options['decorators'] = $this->_elementDecorators;
- }
+ throw new Zend_Form_Exception(
+ 'Elements specified by string must have an accompanying name'
+ );
}
$this->_elements[$name] = $this->createElement($element, $name, $options);
@@ -1044,12 +1040,23 @@
$prefixPaths = array_merge($prefixPaths, $this->_elementPrefixPaths);
}
+ if (is_array($this->_elementDecorators)
+ && 0 == count($element->getDecorators())
+ ) {
+ $element->setDecorators($this->_elementDecorators);
+ }
+
if (null === $name) {
$name = $element->getName();
}
$this->_elements[$name] = $element;
$this->_elements[$name]->addPrefixPaths($prefixPaths);
+ } else {
+ require_once 'Zend/Form/Exception.php';
+ throw new Zend_Form_Exception(
+ 'Element must be specified by string or Zend_Form_Element instance'
+ );
}
$this->_order[$name] = $this->_elements[$name]->getOrder();
@@ -1096,12 +1103,22 @@
if ((null === $options) || !is_array($options)) {
$options = array('prefixPath' => $prefixPaths);
+
+ if (is_array($this->_elementDecorators)) {
+ $options['decorators'] = $this->_elementDecorators;
+ }
} elseif (is_array($options)) {
if (array_key_exists('prefixPath', $options)) {
$options['prefixPath'] = array_merge($prefixPaths, $options['prefixPath']);
} else {
$options['prefixPath'] = $prefixPaths;
}
+
+ if (is_array($this->_elementDecorators)
+ && !array_key_exists('decorators', $options)
+ ) {
+ $options['decorators'] = $this->_elementDecorators;
+ }
}
$class = $this->getPluginLoader(self::ELEMENT)->load($type);
@@ -1340,11 +1357,11 @@
{
$values = array();
$eBelongTo = null;
-
+
if ($this->isArray()) {
$eBelongTo = $this->getElementsBelongTo();
}
-
+
foreach ($this->getElements() as $key => $element) {
if (!$element->getIgnore()) {
$merge = array();
@@ -1637,12 +1654,8 @@
*/
public function addSubForms(array $subForms)
{
- foreach ($subForms as $key => $spec) {
- $name = null;
- if (!is_numeric($key)) {
- $name = $key;
- }
-
+ foreach ($subForms as $key => $spec) {
+ $name = (string) $key;
if ($spec instanceof Zend_Form) {
$this->addSubForm($spec, $name);
continue;
@@ -1656,6 +1669,10 @@
continue;
case (1 <= $argc):
$subForm = array_shift($spec);
+
+ if (!$subForm instanceof Zend_Form) {
+ $subForm = new Zend_Form_SubForm($subForm);
+ }
case (2 <= $argc):
$name = array_shift($spec);
case (3 <= $argc):
@@ -1786,7 +1803,11 @@
$group = array();
foreach ($elements as $element) {
if($element instanceof Zend_Form_Element) {
- $element = $element->getId();
+ $elementName = $element->getName();
+ if (!isset($this->_elements[$elementName])) {
+ $this->addElement($element);
+ }
+ $element = $elementName;
}
if (isset($this->_elements[$element])) {
@@ -2102,8 +2123,8 @@
* Given an array, an optional arrayPath and a key this method
* dissolves the arrayPath and unsets the key within the array
* if it exists.
- *
- * @param array $array
+ *
+ * @param array $array
* @param string|null $arrayPath
* @param string $key
* @return array
@@ -2113,7 +2134,7 @@
$unset =& $array;
$path = trim(strtr((string)$arrayPath, array('[' => '/', ']' => '')), '/');
$segs = ('' !== $path) ? explode('/', $path) : array();
-
+
foreach ($segs as $seg) {
if (!array_key_exists($seg, (array)$unset)) {
return $array;
@@ -2159,9 +2180,9 @@
* Subitems are inserted based on their order Setting if set,
* otherwise they are appended, the resulting numerical index
* may differ from the order value.
- *
+ *
* @access protected
- * @return array
+ * @return array
*/
public function getElementsAndSubFormsOrdered()
{
@@ -2187,8 +2208,8 @@
}
/**
- * This is a helper function until php 5.3 is widespreaded
- *
+ * This is a helper function until php 5.3 is widespreaded
+ *
* @param array $into
* @access protected
* @return void
@@ -2250,7 +2271,8 @@
}
}
foreach ($this->getSubForms() as $key => $form) {
- if (null !== $translator && !$form->hasTranslator()) {
+ if (null !== $translator && $this->hasTranslator()
+ && !$form->hasTranslator()) {
$form->setTranslator($translator);
}
if (isset($data[$key]) && !$form->isArray()) {
@@ -2457,10 +2479,21 @@
/**
* Are there errors in the form?
*
+ * @deprecated since 1.11.1 - use hasErrors() instead
* @return bool
*/
public function isErrors()
{
+ return $this->hasErrors();
+ }
+
+ /**
+ * Are there errors in the form?
+ *
+ * @return bool
+ */
+ public function hasErrors()
+ {
return $this->_errorsExist;
}
@@ -2480,7 +2513,7 @@
return $this->getSubForm($name)->getErrors(null, true);
}
}
-
+
foreach ($this->_elements as $key => $element) {
$errors[$key] = $element->getErrors();
}
@@ -2568,7 +2601,7 @@
/**
* Retrieve translated custom error messages
* Proxies to {@link _getErrorMessages()}.
- *
+ *
* @return array
*/
public function getCustomMessages()
@@ -2985,16 +3018,16 @@
return $this->_translator;
}
-
+
/**
* Does this form have its own specific translator?
- *
+ *
* @return bool
*/
public function hasTranslator()
{
return (bool)$this->_translator;
- }
+ }
/**
* Get global default translator object
@@ -3019,14 +3052,14 @@
/**
* Is there a default translation object set?
- *
+ *
* @return boolean
*/
public static function hasDefaultTranslator()
- {
+ {
return (bool)self::$_translatorDefault;
}
-
+
/**
* Indicate whether or not translation should be disabled
*
@@ -3272,7 +3305,7 @@
/**
* Load the default decorators
*
- * @return void
+ * @return Zend_Form
*/
public function loadDefaultDecorators()
{
@@ -3291,7 +3324,7 @@
/**
* Remove an element from iteration
- *
+ *
* @param string $name Element/group/form name
* @return void
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Abstract.php
--- a/web/lib/Zend/Form/Decorator/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,9 +27,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 21146 2010-02-23 14:35:57Z yoshida@zend.co.jp $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Form_Decorator_Abstract implements Zend_Form_Decorator_Interface
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Callback.php
--- a/web/lib/Zend/Form/Decorator/Callback.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Callback.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -44,9 +44,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Callback.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Callback.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_Callback extends Zend_Form_Decorator_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Captcha.php
--- a/web/lib/Zend/Form/Decorator/Captcha.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Captcha.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Captcha.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Captcha.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_Captcha extends Zend_Form_Decorator_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Captcha/ReCaptcha.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Form/Decorator/Captcha/ReCaptcha.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,128 @@
+getElement();
+ if (!$element instanceof Zend_Form_Element_Captcha) {
+ return $content;
+ }
+
+ $view = $element->getView();
+ if (null === $view) {
+ return $content;
+ }
+
+ $id = $element->getId();
+ $name = $element->getBelongsTo();
+ $placement = $this->getPlacement();
+ $separator = $this->getSeparator();
+ $challengeName = empty($name) ? 'recaptcha_challenge_field' : $name . '[recaptcha_challenge_field]';
+ $responseName = empty($name) ? 'recaptcha_response_field' : $name . '[recaptcha_response_field]';
+ $challengeId = $id . '-challenge';
+ $responseId = $id . '-response';
+ $captcha = $element->getCaptcha();
+ $markup = $captcha->render($view, $element);
+
+ // Create hidden fields for holding the final recaptcha values
+ // Placing "id" in "attribs" to ensure it is not overwritten with the name
+ $hidden = $view->formHidden(array(
+ 'name' => $challengeName,
+ 'attribs' => array('id' => $challengeId),
+ ));
+ $hidden .= $view->formHidden(array(
+ 'name' => $responseName,
+ 'attribs' => array('id' => $responseId),
+ ));
+
+ // Create a window.onload event so that we can bind to the form.
+ // Once bound, add an onsubmit event that will replace the hidden field
+ // values with those produced by ReCaptcha
+ // zendBindEvent mediates between Mozilla's addEventListener and
+ // IE's sole support for addEvent.
+ $js =<<
+function windowOnLoad(fn) {
+ var old = window.onload;
+ window.onload = function() {
+ if (old) {
+ old();
+ }
+ fn();
+ };
+}
+function zendBindEvent(el, eventName, eventHandler) {
+ if (el.addEventListener){
+ el.addEventListener(eventName, eventHandler, false);
+ } else if (el.attachEvent){
+ el.attachEvent('on'+eventName, eventHandler);
+ }
+}
+windowOnLoad(function(){
+ zendBindEvent(
+ document.getElementById("$challengeId").form,
+ 'submit',
+ function(e) {
+ document.getElementById("$challengeId").value = document.getElementById("recaptcha_challenge_field").value;
+ document.getElementById("$responseId").value = document.getElementById("recaptcha_response_field").value;
+ }
+ );
+});
+
+EOJ;
+
+ // Always place the hidden fields before the captcha markup, and follow
+ // with the JS from above
+ switch ($placement) {
+ case 'PREPEND':
+ $content = $hidden . $markup . $js . $separator . $content;
+ break;
+ case 'APPEND':
+ default:
+ $content = $content . $separator . $hidden . $markup . $js;
+ }
+ return $content;
+ }
+}
+
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Captcha/Word.php
--- a/web/lib/Zend/Form/Decorator/Captcha/Word.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Captcha/Word.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Word.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Word.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_Captcha_Word extends Zend_Form_Decorator_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Description.php
--- a/web/lib/Zend/Form/Decorator/Description.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Description.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -37,9 +37,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Description.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Description.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_Description extends Zend_Form_Decorator_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/DtDdWrapper.php
--- a/web/lib/Zend/Form/Decorator/DtDdWrapper.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/DtDdWrapper.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -31,9 +31,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DtDdWrapper.php 22128 2010-05-06 11:18:02Z alab $
+ * @version $Id: DtDdWrapper.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_DtDdWrapper extends Zend_Form_Decorator_Abstract
{
@@ -51,14 +51,14 @@
* $content
*
* $dtLabel can be set via 'dtLabel' option, defaults to '\ '
- *
+ *
* @param string $content
* @return string
*/
public function render($content)
{
$elementName = $this->getElement()->getName();
-
+
$dtLabel = $this->getOption('dtLabel');
if( null === $dtLabel ) {
$dtLabel = ' ';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Errors.php
--- a/web/lib/Zend/Form/Decorator/Errors.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Errors.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Errors.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Errors.php 25253 2013-02-12 14:09:16Z frosch $
*/
class Zend_Form_Decorator_Errors extends Zend_Form_Decorator_Abstract
{
@@ -50,7 +50,15 @@
return $content;
}
- $errors = $element->getMessages();
+ // Get error messages
+ if ($element instanceof Zend_Form
+ && null !== $element->getElementsBelongTo()
+ ) {
+ $errors = $element->getMessages(null, true);
+ } else {
+ $errors = $element->getMessages();
+ }
+
if (empty($errors)) {
return $content;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Exception.php
--- a/web/lib/Zend/Form/Decorator/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Form_Decorator_Exception extends Zend_Form_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Fieldset.php
--- a/web/lib/Zend/Form/Decorator/Fieldset.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Fieldset.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Fieldset.php 23426 2010-11-22 22:50:25Z bittarman $
+ * @version $Id: Fieldset.php 24961 2012-06-15 14:15:47Z adamlundrigan $
*/
class Zend_Form_Decorator_Fieldset extends Zend_Form_Decorator_Abstract
{
@@ -46,6 +46,7 @@
'helper',
'method',
'name',
+ 'accept-charset',
);
/**
@@ -131,7 +132,7 @@
$name = $element->getFullyQualifiedName();
$id = (string)$element->getId();
- if (!array_key_exists('id', $attribs) && '' !== $id) {
+ if ((!array_key_exists('id', $attribs) || $attribs['id'] == $id) && '' !== $id) {
$attribs['id'] = 'fieldset-' . $id;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/File.php
--- a/web/lib/Zend/Form/Decorator/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -36,9 +36,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: File.php 25067 2012-11-03 14:20:28Z rob $
*/
class Zend_Form_Decorator_File
extends Zend_Form_Decorator_Abstract
@@ -117,16 +117,17 @@
$markup[] = $view->formHidden('UPLOAD_IDENTIFIER', uniqid(), array('id' => 'progress_key'));
}
+ $helper = $element->helper;
if ($element->isArray()) {
$name .= "[]";
$count = $element->getMultiFile();
for ($i = 0; $i < $count; ++$i) {
$htmlAttribs = $attribs;
$htmlAttribs['id'] .= '-' . $i;
- $markup[] = $view->formFile($name, $htmlAttribs);
+ $markup[] = $view->$helper($name, $htmlAttribs);
}
} else {
- $markup[] = $view->formFile($name, $attribs);
+ $markup[] = $view->$helper($name, $attribs);
}
$markup = implode($separator, $markup);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Form.php
--- a/web/lib/Zend/Form/Decorator/Form.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Form.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -37,9 +37,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Form.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Form.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_Form extends Zend_Form_Decorator_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/FormElements.php
--- a/web/lib/Zend/Form/Decorator/FormElements.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/FormElements.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -35,9 +35,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FormElements.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FormElements.php 25093 2012-11-07 20:08:05Z rob $
*/
class Zend_Form_Decorator_FormElements extends Zend_Form_Decorator_Abstract
{
@@ -76,14 +76,29 @@
$belongsTo = ($form instanceof Zend_Form) ? $form->getElementsBelongTo() : null;
$elementContent = '';
+ $displayGroups = ($form instanceof Zend_Form) ? $form->getDisplayGroups() : array();
$separator = $this->getSeparator();
$translator = $form->getTranslator();
$items = array();
$view = $form->getView();
foreach ($form as $item) {
- $item->setView($view)
- ->setTranslator($translator);
+ $item->setView($view);
+
+ // Set translator
+ if (!$item->hasTranslator()) {
+ $item->setTranslator($translator);
+ }
+
if ($item instanceof Zend_Form_Element) {
+ foreach ($displayGroups as $group) {
+ $elementName = $item->getName();
+ $element = $group->getElement($elementName);
+ if ($element) {
+ // Element belongs to display group; only render in that
+ // context.
+ continue 2;
+ }
+ }
$item->setBelongsTo($belongsTo);
} elseif (!empty($belongsTo) && ($item instanceof Zend_Form)) {
if ($item->isArray()) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/FormErrors.php
--- a/web/lib/Zend/Form/Decorator/FormErrors.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/FormErrors.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -32,9 +32,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FormErrors.php 22316 2010-05-29 10:03:37Z alab $
+ * @version $Id: FormErrors.php 25257 2013-02-13 16:47:18Z frosch $
*/
class Zend_Form_Decorator_FormErrors extends Zend_Form_Decorator_Abstract
{
@@ -70,6 +70,12 @@
/**#@-*/
/**
+ * Whether or not to escape error label and error message
+ * @var bool
+ */
+ protected $_escape;
+
+ /**
* Render errors
*
* @param string $content
@@ -345,13 +351,13 @@
/**
* Get showCustomFormErrors
- *
+ *
* @return bool
*/
public function getShowCustomFormErrors()
{
if (null === $this->_showCustomFormErrors) {
- if (null === ($how = $this->getOption('showCustomFormErrors'))) {
+ if (null === ($show = $this->getOption('showCustomFormErrors'))) {
$this->setShowCustomFormErrors($this->_defaults['showCustomFormErrors']);
} else {
$this->setShowCustomFormErrors($show);
@@ -375,7 +381,7 @@
/**
* Get onlyCustomFormErrors
- *
+ *
* @return bool
*/
public function getOnlyCustomFormErrors()
@@ -405,6 +411,41 @@
}
/**
+ * Set whether or not to escape error label and error message
+ *
+ * Sets also the 'escape' option for the view helper
+ *
+ * @param bool $flag
+ * @return Zend_Form_Decorator_FormErrors
+ */
+ public function setEscape($flag)
+ {
+ $this->_escape = (bool) $flag;
+
+ // Set also option for view helper
+ $this->setOption('escape', $this->_escape);
+ return $this;
+ }
+
+ /**
+ * Get escape flag
+ *
+ * @return bool
+ */
+ public function getEscape()
+ {
+ if (null === $this->_escape) {
+ if (null !== ($escape = $this->getOption('escape'))) {
+ $this->setEscape($escape);
+ } else {
+ $this->setEscape(true);
+ }
+ }
+
+ return $this->_escape;
+ }
+
+ /**
* Render element label
*
* @param Zend_Form_Element $element
@@ -416,10 +457,19 @@
$label = $element->getLabel();
if (empty($label)) {
$label = $element->getName();
+
+ // Translate element name
+ if (null !== ($translator = $element->getTranslator())) {
+ $label = $translator->translate($label);
+ }
+ }
+
+ if ($this->getEscape()) {
+ $label = $view->escape($label);
}
return $this->getMarkupElementLabelStart()
- . $view->escape($label)
+ . $label
. $this->getMarkupElementLabelEnd();
}
@@ -451,9 +501,13 @@
. $this->getMarkupListItemEnd();
}
} else if ($subitem instanceof Zend_Form && !$this->ignoreSubForms()) {
- $content .= $this->getMarkupListStart()
- . $this->_recurseForm($subitem, $view)
- . $this->getMarkupListEnd();
+ $markup = $this->_recurseForm($subitem, $view);
+
+ if (!empty($markup)) {
+ $content .= $this->getMarkupListStart()
+ . $markup
+ . $this->getMarkupListEnd();
+ }
}
}
return $content;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/HtmlTag.php
--- a/web/lib/Zend/Form/Decorator/HtmlTag.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/HtmlTag.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -43,9 +43,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HtmlTag.php 21970 2010-04-22 18:14:45Z alab $
+ * @version $Id: HtmlTag.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_HtmlTag extends Zend_Form_Decorator_Abstract
{
@@ -85,8 +85,9 @@
$key = htmlspecialchars($key, ENT_COMPAT, $enc);
if (is_array($val)) {
if (array_key_exists('callback', $val)
- && is_callable($val['callback'])) {
- $val = $val['callback']($this);
+ && is_callable($val['callback'])
+ ) {
+ $val = call_user_func($val['callback'], $this);
} else {
$val = implode(' ', $val);
}
@@ -231,7 +232,7 @@
/**
* Get encoding for use with htmlspecialchars()
- *
+ *
* @return string
*/
protected function _getEncoding()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Image.php
--- a/web/lib/Zend/Form/Decorator/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -35,9 +35,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_Image extends Zend_Form_Decorator_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Interface.php
--- a/web/lib/Zend/Form/Decorator/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -24,9 +24,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
interface Zend_Form_Decorator_Interface
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Label.php
--- a/web/lib/Zend/Form/Decorator/Label.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Label.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,8 +29,9 @@
* - separator: separator to use between label and content (defaults to PHP_EOL)
* - placement: whether to append or prepend label to content (defaults to prepend)
* - tag: if set, used to wrap the label in an additional HTML tag
+ * - tagClass: if tag option is set, used to add a class to the label wrapper
* - opt(ional)Prefix: a prefix to the label to use when the element is optional
- * - opt(iona)lSuffix: a suffix to the label to use when the element is optional
+ * - opt(ional)Suffix: a suffix to the label to use when the element is optional
* - req(uired)Prefix: a prefix to the label to use when the element is required
* - req(uired)Suffix: a suffix to the label to use when the element is required
*
@@ -39,13 +40,20 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Label.php 22128 2010-05-06 11:18:02Z alab $
+ * @version $Id: Label.php 25243 2013-01-22 12:07:26Z frosch $
*/
class Zend_Form_Decorator_Label extends Zend_Form_Decorator_Abstract
{
/**
+ * Placement constants
+ */
+ const IMPLICIT = 'IMPLICIT';
+ const IMPLICIT_PREPEND = 'IMPLICIT_PREPEND';
+ const IMPLICIT_APPEND = 'IMPLICIT_APPEND';
+
+ /**
* Default placement: prepend
* @var string
*/
@@ -58,6 +66,12 @@
protected $_tag;
/**
+ * Class for the HTML tag with which to surround label
+ * @var string
+ */
+ protected $_tagClass;
+
+ /**
* Set element ID
*
* @param string $id
@@ -129,6 +143,43 @@
}
/**
+ * Set the class to apply to the HTML tag with which to surround label
+ *
+ * @param string $tagClass
+ * @return Zend_Form_Decorator_Label
+ */
+ public function setTagClass($tagClass)
+ {
+ if (empty($tagClass)) {
+ $this->_tagClass = null;
+ } else {
+ $this->_tagClass = (string) $tagClass;
+ }
+
+ $this->removeOption('tagClass');
+
+ return $this;
+ }
+
+ /**
+ * Get the class to apply to the HTML tag, if any, with which to surround label
+ *
+ * @return void
+ */
+ public function getTagClass()
+ {
+ if (null === $this->_tagClass) {
+ $tagClass = $this->getOption('tagClass');
+ if (null !== $tagClass) {
+ $this->removeOption('tagClass');
+ $this->setTagClass($tagClass);
+ }
+ }
+
+ return $this->_tagClass;
+ }
+
+ /**
* Get class with which to define label
*
* Appends either 'optional' or 'required' to class, depending on whether
@@ -242,7 +293,7 @@
/**
* Get label to render
*
- * @return void
+ * @return string
*/
public function getLabel()
{
@@ -257,10 +308,6 @@
return '';
}
- if (null !== ($translator = $element->getTranslator())) {
- $label = $translator->translate($label);
- }
-
$optPrefix = $this->getOptPrefix();
$optSuffix = $this->getOptSuffix();
$reqPrefix = $this->getReqPrefix();
@@ -278,6 +325,35 @@
return $label;
}
+ /**
+ * Determine if label should append, prepend or implicit content
+ *
+ * @return string
+ */
+ public function getPlacement()
+ {
+ $placement = $this->_placement;
+ if (null !== ($placementOpt = $this->getOption('placement'))) {
+ $placementOpt = strtoupper($placementOpt);
+ switch ($placementOpt) {
+ case self::APPEND:
+ case self::PREPEND:
+ case self::IMPLICIT:
+ case self::IMPLICIT_PREPEND:
+ case self::IMPLICIT_APPEND:
+ $placement = $this->_placement = $placementOpt;
+ break;
+ case false:
+ $placement = $this->_placement = null;
+ break;
+ default:
+ break;
+ }
+ $this->removeOption('placement');
+ }
+
+ return $placement;
+ }
/**
* Render a label
@@ -297,6 +373,7 @@
$separator = $this->getSeparator();
$placement = $this->getPlacement();
$tag = $this->getTag();
+ $tagClass = $this->getTagClass();
$id = $this->getId();
$class = $this->getClass();
$options = $this->getOptions();
@@ -308,7 +385,48 @@
if (!empty($label)) {
$options['class'] = $class;
- $label = $view->formLabel($element->getFullyQualifiedName(), trim($label), $options);
+ $label = trim($label);
+
+ switch ($placement) {
+ case self::IMPLICIT:
+ // Break was intentionally omitted
+
+ case self::IMPLICIT_PREPEND:
+ $options['escape'] = false;
+ $options['disableFor'] = true;
+
+ $label = $view->formLabel(
+ $element->getFullyQualifiedName(),
+ $label . $separator . $content,
+ $options
+ );
+ break;
+
+ case self::IMPLICIT_APPEND:
+ $options['escape'] = false;
+ $options['disableFor'] = true;
+
+ $label = $view->formLabel(
+ $element->getFullyQualifiedName(),
+ $content . $separator . $label,
+ $options
+ );
+ break;
+
+ case self::APPEND:
+ // Break was intentionally omitted
+
+ case self::PREPEND:
+ // Break was intentionally omitted
+
+ default:
+ $label = $view->formLabel(
+ $element->getFullyQualifiedName(),
+ $label,
+ $options
+ );
+ break;
+ }
} else {
$label = ' ';
}
@@ -316,8 +434,14 @@
if (null !== $tag) {
require_once 'Zend/Form/Decorator/HtmlTag.php';
$decorator = new Zend_Form_Decorator_HtmlTag();
- $decorator->setOptions(array('tag' => $tag,
- 'id' => $id . '-label'));
+ if (null !== $this->_tagClass) {
+ $decorator->setOptions(array('tag' => $tag,
+ 'id' => $id . '-label',
+ 'class' => $tagClass));
+ } else {
+ $decorator->setOptions(array('tag' => $tag,
+ 'id' => $id . '-label'));
+ }
$label = $decorator->render($label);
}
@@ -325,8 +449,18 @@
switch ($placement) {
case self::APPEND:
return $content . $separator . $label;
+
case self::PREPEND:
return $label . $separator . $content;
+
+ case self::IMPLICIT:
+ // Break was intentionally omitted
+
+ case self::IMPLICIT_PREPEND:
+ // Break was intentionally omitted
+
+ case self::IMPLICIT_APPEND:
+ return $label;
}
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Marker/File/Interface.php
--- a/web/lib/Zend/Form/Decorator/Marker/File/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Marker/File/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -24,9 +24,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
interface Zend_Form_Decorator_Marker_File_Interface
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/PrepareElements.php
--- a/web/lib/Zend/Form/Decorator/PrepareElements.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/PrepareElements.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -35,9 +35,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PrepareElements.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PrepareElements.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_PrepareElements extends Zend_Form_Decorator_FormElements
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/Tooltip.php
--- a/web/lib/Zend/Form/Decorator/Tooltip.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/Tooltip.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Tooltip.php$
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/ViewHelper.php
--- a/web/lib/Zend/Form/Decorator/ViewHelper.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/ViewHelper.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -37,9 +37,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ViewHelper.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ViewHelper.php 25189 2013-01-08 08:32:43Z frosch $
*/
class Zend_Form_Decorator_ViewHelper extends Zend_Form_Decorator_Abstract
{
@@ -196,7 +196,8 @@
if ($element instanceof $type) {
if (stristr($type, 'button')) {
$element->content = $element->getLabel();
- return null;
+
+ return $element->getValue();
}
return $element->getLabel();
}
@@ -243,7 +244,18 @@
$helperObject->setTranslator($element->getTranslator());
}
- $elementContent = $view->$helper($name, $value, $attribs, $element->options);
+ // Check list separator
+ if (isset($attribs['listsep'])
+ && in_array($helper, array('formMulticheckbox', 'formRadio', 'formSelect'))
+ ) {
+ $listsep = $attribs['listsep'];
+ unset($attribs['listsep']);
+
+ $elementContent = $view->$helper($name, $value, $attribs, $element->options, $listsep);
+ } else {
+ $elementContent = $view->$helper($name, $value, $attribs, $element->options);
+ }
+
switch ($this->getPlacement()) {
case self::APPEND:
return $content . $separator . $elementContent;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Decorator/ViewScript.php
--- a/web/lib/Zend/Form/Decorator/ViewScript.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Decorator/ViewScript.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -46,9 +46,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Decorator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ViewScript.php 23299 2010-11-05 04:38:14Z matthew $
+ * @version $Id: ViewScript.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Decorator_ViewScript extends Zend_Form_Decorator_Abstract
{
@@ -108,7 +108,7 @@
/**
* Set view script module
- *
+ *
* @param string $module
* @return Zend_Form_Decorator_ViewScript
*/
@@ -120,7 +120,7 @@
/**
* Get view script module
- *
+ *
* @return string|null
*/
public function getViewModule()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/DisplayGroup.php
--- a/web/lib/Zend/Form/DisplayGroup.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/DisplayGroup.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,9 +23,9 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DisplayGroup.php 22930 2010-09-09 18:45:18Z matthew $
+ * @version $Id: DisplayGroup.php 25093 2012-11-07 20:08:05Z rob $
*/
class Zend_Form_DisplayGroup implements Iterator,Countable
{
@@ -67,7 +67,7 @@
/**
* Form object to which the display group is currently registered
- *
+ *
* @var Zend_Form
*/
protected $_form;
@@ -284,15 +284,15 @@
/**
* Set form object to which the display group is attached
- *
- * @param Zend_Form $form
+ *
+ * @param Zend_Form $form
* @return Zend_Form_DisplayGroup
*/
public function setForm(Zend_Form $form)
{
$this->_form = $form;
- // Ensure any elements attached prior to setting the form are now
+ // Ensure any elements attached prior to setting the form are now
// removed from iteration by the form
foreach ($this->getElements() as $element) {
$form->removeFromIteration($element->getName());
@@ -303,7 +303,7 @@
/**
* Get form object to which the group is attached
- *
+ *
* @return Zend_Form|null
*/
public function getForm()
@@ -657,7 +657,7 @@
/**
* Load default decorators
*
- * @return void
+ * @return Zend_Form_DisplayGroup
*/
public function loadDefaultDecorators()
{
@@ -977,6 +977,16 @@
}
/**
+ * Does this display group have its own specific translator?
+ *
+ * @return bool
+ */
+ public function hasTranslator()
+ {
+ return (bool) $this->getTranslator();
+ }
+
+ /**
* Indicate whether or not translation should be disabled
*
* @param bool $flag
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element.php
--- a/web/lib/Zend/Form/Element.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -36,9 +36,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Element.php 22464 2010-06-19 17:31:21Z alab $
+ * @version $Id: Element.php 25173 2012-12-22 20:05:32Z rob $
*/
class Zend_Form_Element implements Zend_Validate_Interface
{
@@ -315,20 +315,32 @@
$decorators = $this->getDecorators();
if (empty($decorators)) {
- $getId = create_function('$decorator',
- 'return $decorator->getElement()->getId()
- . "-element";');
$this->addDecorator('ViewHelper')
->addDecorator('Errors')
->addDecorator('Description', array('tag' => 'p', 'class' => 'description'))
- ->addDecorator('HtmlTag', array('tag' => 'dd',
- 'id' => array('callback' => $getId)))
+ ->addDecorator('HtmlTag', array(
+ 'tag' => 'dd',
+ 'id' => array('callback' => array(get_class($this), 'resolveElementId'))
+ ))
->addDecorator('Label', array('tag' => 'dt'));
}
return $this;
}
/**
+ * Used to resolve and return an element ID
+ *
+ * Passed to the HtmlTag decorator as a callback in order to provide an ID.
+ *
+ * @param Zend_Form_Decorator_Interface $decorator
+ * @return string
+ */
+ public static function resolveElementId(Zend_Form_Decorator_Interface $decorator)
+ {
+ return $decorator->getElement()->getId() . '-element';
+ }
+
+ /**
* Set object state from options array
*
* @param array $options
@@ -892,6 +904,7 @@
public function getAttribs()
{
$attribs = get_object_vars($this);
+ unset($attribs['helper']);
foreach ($attribs as $key => $value) {
if ('_' == substr($key, 0, 1)) {
unset($attribs[$key]);
@@ -1058,14 +1071,13 @@
$loader->addPrefixPath($prefix, $path);
return $this;
case null:
- $prefix = rtrim($prefix, '_');
- $path = rtrim($path, DIRECTORY_SEPARATOR);
+ $nsSeparator = (false !== strpos($prefix, '\\'))?'\\':'_';
+ $prefix = rtrim($prefix, $nsSeparator) . $nsSeparator;
+ $path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
foreach (array(self::DECORATOR, self::FILTER, self::VALIDATE) as $type) {
$cType = ucfirst(strtolower($type));
- $pluginPath = $path . DIRECTORY_SEPARATOR . $cType . DIRECTORY_SEPARATOR;
- $pluginPrefix = $prefix . '_' . $cType;
$loader = $this->getPluginLoader($type);
- $loader->addPrefixPath($pluginPrefix, $pluginPath);
+ $loader->addPrefixPath($prefix . $cType, $path . $cType . DIRECTORY_SEPARATOR);
}
return $this;
default:
@@ -1377,7 +1389,14 @@
if ($isArray && is_array($value)) {
$messages = array();
$errors = array();
- foreach ($value as $val) {
+ if (empty($value)) {
+ if ($this->isRequired()
+ || (!$this->isRequired() && !$this->getAllowEmpty())
+ ) {
+ $value = '';
+ }
+ }
+ foreach ((array)$value as $val) {
if (!$validator->isValid($val, $context)) {
$result = false;
if ($this->_hasErrorMessages()) {
@@ -2223,14 +2242,14 @@
if (null !== $translator) {
$message = $translator->translate($message);
}
- if (($this->isArray() || is_array($value))
- && !empty($value)
- ) {
+ if ($this->isArray() || is_array($value)) {
$aggregateMessages = array();
foreach ($value as $val) {
$aggregateMessages[] = str_replace('%value%', $val, $message);
}
- $messages[$key] = implode($this->getErrorMessageSeparator(), $aggregateMessages);
+ if (count($aggregateMessages)) {
+ $messages[$key] = implode($this->getErrorMessageSeparator(), $aggregateMessages);
+ }
} else {
$messages[$key] = str_replace('%value%', $value, $message);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Button.php
--- a/web/lib/Zend/Form/Element/Button.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Button.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Button.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Button.php 25189 2013-01-08 08:32:43Z frosch $
*/
class Zend_Form_Element_Button extends Zend_Form_Element_Submit
{
@@ -39,4 +39,18 @@
* @var string
*/
public $helper = 'formButton';
+
+ /**
+ * Validate element value (pseudo)
+ *
+ * There is no need to reset the value
+ *
+ * @param mixed $value Is always ignored
+ * @param mixed $context Is always ignored
+ * @return boolean Returns always TRUE
+ */
+ public function isValid($value, $context = null)
+ {
+ return true;
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Captcha.php
--- a/web/lib/Zend/Form/Element/Captcha.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Captcha.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Captcha.php 22328 2010-05-30 15:09:06Z bittarman $
+ * @version $Id: Captcha.php 24848 2012-05-31 19:28:48Z rob $
*/
/** @see Zend_Form_Element_Xhtml */
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
@@ -127,24 +127,6 @@
}
/**
- * Return all attributes
- *
- * @return array
- */
- public function getAttribs()
- {
- $attribs = get_object_vars($this);
- unset($attribs['helper']);
- foreach ($attribs as $key => $value) {
- if ('_' == substr($key, 0, 1)) {
- unset($attribs[$key]);
- }
- }
-
- return $attribs;
- }
-
- /**
* Set options
*
* Overrides to allow passing captcha options
@@ -154,16 +136,22 @@
*/
public function setOptions(array $options)
{
+ $captcha = null;
+ $captchaOptions = array();
+
if (array_key_exists('captcha', $options)) {
+ $captcha = $options['captcha'];
if (array_key_exists('captchaOptions', $options)) {
- $this->setCaptcha($options['captcha'], $options['captchaOptions']);
+ $captchaOptions = $options['captchaOptions'];
unset($options['captchaOptions']);
- } else {
- $this->setCaptcha($options['captcha']);
}
unset($options['captcha']);
}
parent::setOptions($options);
+
+ if(null !== $captcha) {
+ $this->setCaptcha($captcha, $captchaOptions);
+ }
return $this;
}
@@ -178,18 +166,25 @@
$captcha = $this->getCaptcha();
$captcha->setName($this->getFullyQualifiedName());
- $decorators = $this->getDecorators();
+ if (!$this->loadDefaultDecoratorsIsDisabled()) {
+ $decorators = $this->getDecorators();
+ $decorator = $captcha->getDecorator();
+ $key = get_class($this->_getDecorator($decorator, null));
+
+ if (!empty($decorator) && !array_key_exists($key, $decorators)) {
+ array_unshift($decorators, $decorator);
+ }
- $decorator = $captcha->getDecorator();
- if (!empty($decorator)) {
- array_unshift($decorators, $decorator);
+ $decorator = array('Captcha', array('captcha' => $captcha));
+ $key = get_class($this->_getDecorator($decorator[0], $decorator[1]));
+
+ if ($captcha instanceof Zend_Captcha_Word && !array_key_exists($key, $decorators)) {
+ array_unshift($decorators, $decorator);
+ }
+
+ $this->setDecorators($decorators);
}
- $decorator = array('Captcha', array('captcha' => $captcha));
- array_unshift($decorators, $decorator);
-
- $this->setDecorators($decorators);
-
$this->setValue($this->getCaptcha()->generate());
return parent::render($view);
@@ -237,7 +232,8 @@
switch ($type) {
case null:
$loader = $this->getPluginLoader(self::CAPTCHA);
- $cPrefix = rtrim($prefix, '_') . '_Captcha';
+ $nsSeparator = (false !== strpos($prefix, '\\'))?'\\':'_';
+ $cPrefix = rtrim($prefix, $nsSeparator) . $nsSeparator . 'Captcha';
$cPath = rtrim($path, '/\\') . '/Captcha';
$loader->addPrefixPath($cPrefix, $cPath);
return parent::addPrefixPath($prefix, $path);
@@ -253,7 +249,7 @@
/**
* Load default decorators
*
- * @return void
+ * @return Zend_Form_Element_Captcha
*/
public function loadDefaultDecorators()
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Checkbox.php
--- a/web/lib/Zend/Form/Element/Checkbox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Checkbox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Checkbox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Checkbox.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Checkbox extends Zend_Form_Element_Xhtml
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Exception.php
--- a/web/lib/Zend/Form/Element/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Form_Element_Exception extends Zend_Form_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/File.php
--- a/web/lib/Zend/Form/Element/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,9 +27,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 22371 2010-06-04 20:09:44Z thomas $
+ * @version $Id: File.php 25225 2013-01-17 15:59:16Z frosch $
*/
class Zend_Form_Element_File extends Zend_Form_Element_Xhtml
{
@@ -71,7 +71,7 @@
/**
* Load default decorators
*
- * @return void
+ * @return Zend_Form_Element_File
*/
public function loadDefaultDecorators()
{
@@ -150,7 +150,8 @@
}
if (empty($type)) {
- $pluginPrefix = rtrim($prefix, '_') . '_Transfer_Adapter';
+ $nsSeparator = (false !== strpos($prefix, '\\'))?'\\':'_';
+ $pluginPrefix = rtrim($prefix, $nsSeparator) . $nsSeparator . 'Transfer' . $nsSeparator . 'Adapter';
$pluginPath = rtrim($path, DIRECTORY_SEPARATOR) . '/Transfer/Adapter/';
$loader = $this->getPluginLoader(self::TRANSFER_ADAPTER);
$loader->addPrefixPath($pluginPrefix, $pluginPath);
@@ -430,7 +431,7 @@
} else {
$adapter->setOptions(array('ignoreNoFile' => false), $this->getName());
if ($this->autoInsertNotEmptyValidator() && !$this->getValidator('NotEmpty')) {
- $this->addValidator = array('validator' => 'NotEmpty', 'breakChainOnFailure' => true);
+ $this->addValidator('NotEmpty', true);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Hash.php
--- a/web/lib/Zend/Form/Element/Hash.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Hash.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hash.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Hash.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Hash extends Zend_Form_Element_Xhtml
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Hidden.php
--- a/web/lib/Zend/Form/Element/Hidden.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Hidden.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hidden.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Hidden.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Hidden extends Zend_Form_Element_Xhtml
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Image.php
--- a/web/lib/Zend/Form/Element/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 22328 2010-05-30 15:09:06Z bittarman $
+ * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Image extends Zend_Form_Element_Xhtml
{
@@ -55,7 +55,7 @@
/**
* Load default decorators
*
- * @return void
+ * @return Zend_Form_Element_Image
*/
public function loadDefaultDecorators()
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Multi.php
--- a/web/lib/Zend/Form/Element/Multi.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Multi.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Multi.php 22322 2010-05-30 11:12:57Z thomas $
+ * @version $Id: Multi.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Form_Element_Multi extends Zend_Form_Element_Xhtml
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/MultiCheckbox.php
--- a/web/lib/Zend/Form/Element/MultiCheckbox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/MultiCheckbox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -32,9 +32,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MultiCheckbox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MultiCheckbox.php 24963 2012-06-15 14:32:23Z adamlundrigan $
*/
class Zend_Form_Element_MultiCheckbox extends Zend_Form_Element_Multi
{
@@ -49,4 +49,25 @@
* @var bool
*/
protected $_isArray = true;
+
+ /**
+ * Load default decorators
+ *
+ * @return Zend_Form_Element_MultiCheckbox
+ */
+ public function loadDefaultDecorators()
+ {
+ if ($this->loadDefaultDecoratorsIsDisabled()) {
+ return $this;
+ }
+
+ parent::loadDefaultDecorators();
+
+ // Disable 'for' attribute
+ if (false !== $decorator = $this->getDecorator('label')) {
+ $decorator->setOption('disableFor', true);
+ }
+
+ return $this;
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Multiselect.php
--- a/web/lib/Zend/Form/Element/Multiselect.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Multiselect.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Multiselect.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Multiselect.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Multiselect extends Zend_Form_Element_Select
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Note.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Form/Element/Note.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,64 @@
+addDecorator('Label', array('tag' => 'dt',
- 'disableFor' => true));
+
+ // Disable 'for' attribute
+ if (isset($this->_decorators['Label'])
+ && !isset($this->_decorators['Label']['options']['disableFor']))
+ {
+ $this->_decorators['Label']['options']['disableFor'] = true;
+ }
+
return $this;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Reset.php
--- a/web/lib/Zend/Form/Element/Reset.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Reset.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Reset.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Reset.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Reset extends Zend_Form_Element_Submit
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Select.php
--- a/web/lib/Zend/Form/Element/Select.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Select.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,13 +28,19 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Select.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Select.php 25183 2013-01-07 17:38:54Z frosch $
*/
class Zend_Form_Element_Select extends Zend_Form_Element_Multi
{
/**
+ * 'multiple' attribute
+ * @var string
+ */
+ public $multiple = false;
+
+ /**
* Use formSelect view helper by default
* @var string
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Submit.php
--- a/web/lib/Zend/Form/Element/Submit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Submit.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Submit.php 22328 2010-05-30 15:09:06Z bittarman $
+ * @version $Id: Submit.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Submit extends Zend_Form_Element_Xhtml
{
@@ -52,7 +52,7 @@
if (is_string($spec) && ((null !== $options) && is_string($options))) {
$options = array('label' => $options);
}
-
+
if (!isset($options['ignore'])) {
$options['ignore'] = true;
}
@@ -75,10 +75,10 @@
if (null === $value) {
$value = $this->getName();
- }
- if (null !== ($translator = $this->getTranslator())) {
- return $translator->translate($value);
+ if (null !== ($translator = $this->getTranslator())) {
+ return $translator->translate($value);
+ }
}
return $value;
@@ -108,7 +108,7 @@
*
* Uses only 'Submit' and 'DtDdWrapper' decorators by default.
*
- * @return void
+ * @return Zend_Form_Element_Submit
*/
public function loadDefaultDecorators()
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Text.php
--- a/web/lib/Zend/Form/Element/Text.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Text.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Text.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Text.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Text extends Zend_Form_Element_Xhtml
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Textarea.php
--- a/web/lib/Zend/Form/Element/Textarea.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Textarea.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Textarea.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Textarea.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Textarea extends Zend_Form_Element_Xhtml
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Element/Xhtml.php
--- a/web/lib/Zend/Form/Element/Xhtml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Element/Xhtml.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Xhtml.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Xhtml.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Form_Element_Xhtml extends Zend_Form_Element
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/Exception.php
--- a/web/lib/Zend/Form/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,8 +14,8 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Form_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Form/SubForm.php
--- a/web/lib/Zend/Form/SubForm.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Form/SubForm.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,9 +26,9 @@
*
* @category Zend
* @package Zend_Form
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubForm.php 22328 2010-05-30 15:09:06Z bittarman $
+ * @version $Id: SubForm.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_SubForm extends Zend_Form
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata.php
--- a/web/lib/Zend/Gdata.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Gdata.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Gdata.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata extends Zend_Gdata_App
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,137 @@
+registerPackage('Zend_Gdata_Analytics');
+ $this->registerPackage('Zend_Gdata_Analytics_Extension');
+ parent::__construct($client, $applicationId);
+ $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
+ }
+
+ /**
+ * Retrieve account feed object
+ *
+ * @param string|Zend_Uri_Uri $uri
+ * @return Zend_Gdata_Analytics_AccountFeed
+ */
+ public function getAccountFeed($uri = self::ANALYTICS_ACCOUNT_FEED_URI)
+ {
+ if ($uri instanceof Query) {
+ $uri = $uri->getQueryUrl();
+ }
+ return parent::getFeed($uri, 'Zend_Gdata_Analytics_AccountFeed');
+ }
+
+ /**
+ * Retrieve data feed object
+ *
+ * @param string|Zend_Uri_Uri $uri
+ * @return Zend_Gdata_Analytics_DataFeed
+ */
+ public function getDataFeed($uri = self::ANALYTICS_FEED_URI)
+ {
+ if ($uri instanceof Query) {
+ $uri = $uri->getQueryUrl();
+ }
+ return parent::getFeed($uri, 'Zend_Gdata_Analytics_DataFeed');
+ }
+
+ /**
+ * Returns a new DataQuery object.
+ *
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function newDataQuery()
+ {
+ return new Zend_Gdata_Analytics_DataQuery();
+ }
+
+ /**
+ * Returns a new AccountQuery object.
+ *
+ * @return Zend_Gdata_Analytics_AccountQuery
+ */
+ public function newAccountQuery()
+ {
+ return new Zend_Gdata_Analytics_AccountQuery();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/AccountEntry.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/AccountEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,102 @@
+registerAllNamespaces(Zend_Gdata_Analytics::$namespaces);
+ parent::__construct($element);
+ }
+
+ /**
+ * @param DOMElement $child
+ * @return void
+ */
+ protected function takeChildFromDOM($child)
+ {
+ $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
+ switch ($absoluteNodeName){
+ case $this->lookupNamespace('analytics') . ':' . 'property';
+ $property = new Zend_Gdata_Analytics_Extension_Property();
+ $property->transferFromDOM($child);
+ $this->{$property->getName()} = $property;
+ break;
+ case $this->lookupNamespace('analytics') . ':' . 'tableId';
+ $tableId = new Zend_Gdata_Analytics_Extension_TableId();
+ $tableId->transferFromDOM($child);
+ $this->_tableId = $tableId;
+ break;
+ case $this->lookupNamespace('ga') . ':' . 'goal';
+ $goal = new Zend_Gdata_Analytics_Extension_Goal();
+ $goal->transferFromDOM($child);
+ $this->_goal = $goal;
+ break;
+ default:
+ parent::takeChildFromDOM($child);
+ break;
+ }
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/AccountFeed.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/AccountFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,57 @@
+registerAllNamespaces(Zend_Gdata_Analytics::$namespaces);
+ parent::__construct($element);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/AccountQuery.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/AccountQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,190 @@
+_accountId = $accountId;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getAccountId()
+ {
+ return $this->_accountId;
+ }
+
+ /**
+ * @param string $webpropertyId
+ * @return Zend_Gdata_Analytics_AccountQuery
+ */
+ public function setWebpropertyId($webpropertyId)
+ {
+ $this->_webpropertyId = $webpropertyId;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getWebpropertyId()
+ {
+ return $this->_webpropertyId;
+ }
+
+ /**
+ * @param string $profileId
+ * @return Zend_Gdata_Analytics_AccountQuery
+ */
+ public function setProfileId($profileId)
+ {
+ $this->_profileId = $profileId;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getProfileId()
+ {
+ return $this->_profileId;
+ }
+
+ /**
+ * @param string $accountId
+ * @return Zend_Gdata_Analytics_AccountQuery
+ */
+ public function webproperties($accountId = '~all')
+ {
+ $this->_webproperties = true;
+ $this->setAccountId($accountId);
+ return $this;
+ }
+
+ /**
+ * @param string $webpropertyId
+ * @param string $accountId
+ * @return Zend_Gdata_Analytics_AccountQuery
+ */
+ public function profiles($webpropertyId = '~all', $accountId = '~all')
+ {
+ $this->_profiles = true;
+ if (null !== $accountId) {
+ $this->setAccountId($accountId);
+ }
+ $this->setWebpropertyId($webpropertyId);
+ return $this;
+ }
+
+ /**
+ * @param string $webpropertyId
+ * @param string $accountId
+ * @param string $accountId
+ * @return Zend_Gdata_Analytics_AccountQuery
+ */
+ public function goals($profileId = '~all', $webpropertyId = '~all', $accountId = '~all')
+ {
+ $this->_goals = true;
+ if (null !== $accountId) {
+ $this->setAccountId($accountId);
+ }
+ if (null !== $webpropertyId) {
+ $this->setWebpropertyId($webpropertyId);
+ }
+ $this->setProfileId($profileId);
+ return $this;
+ }
+
+ /**
+ * @return string url
+ */
+ public function getQueryUrl()
+ {
+ $url = $this->_defaultFeedUri;
+
+ // add account id
+ if ($this->_webproperties or $this->_profiles or $this->_goals) {
+ $url .= '/' . $this->_accountId . '/webproperties';
+ }
+
+ if ($this->_profiles or $this->_goals) {
+ $url .= '/' . $this->_webpropertyId . '/profiles';
+ }
+
+ if ($this->_goals) {
+ $url .= '/' . $this->_profileId . '/goals';
+ }
+
+ $url .= $this->getQueryString();
+ return $url;
+ }
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/DataEntry.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/DataEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,116 @@
+registerAllNamespaces(Zend_Gdata_Analytics::$namespaces);
+ parent::__construct($element);
+ }
+
+ /**
+ * @param DOMElement $child
+ * @return void
+ */
+ protected function takeChildFromDOM($child)
+ {
+ $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
+ switch ($absoluteNodeName) {
+ case $this->lookupNamespace('analytics') . ':' . 'dimension';
+ $dimension = new Zend_Gdata_Analytics_Extension_Dimension();
+ $dimension->transferFromDOM($child);
+ $this->_dimensions[] = $dimension;
+ break;
+ case $this->lookupNamespace('analytics') . ':' . 'metric';
+ $metric = new Zend_Gdata_Analytics_Extension_Metric();
+ $metric->transferFromDOM($child);
+ $this->_metrics[] = $metric;
+ break;
+ default:
+ parent::takeChildFromDOM($child);
+ break;
+ }
+ }
+
+ /**
+ * @param string $name
+ * @return mixed
+ */
+ public function getDimension($name)
+ {
+ foreach ($this->_dimensions as $dimension) {
+ if ($dimension->getName() == $name) {
+ return $dimension;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * @param string $name
+ * @return mixed
+ */
+ public function getMetric($name)
+ {
+ foreach ($this->_metrics as $metric) {
+ if ($metric->getName() == $name) {
+ return $metric;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * @param string $name
+ * @return mixed
+ */
+ public function getValue($name)
+ {
+ if (null !== ($metric = $this->getMetric($name))) {
+ return $metric;
+ }
+ return $this->getDimension($name);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/DataFeed.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/DataFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,64 @@
+registerAllNamespaces(Zend_Gdata_Analytics::$namespaces);
+ parent::__construct($element);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/DataQuery.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/DataQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,403 @@
+";
+ const LESS = ">";
+ const GREATER_EQUAL = ">=";
+ const LESS_EQUAL = "<=";
+ const CONTAINS = "=@";
+ const CONTAINS_NOT ="!@";
+ const REGULAR ="=~";
+ const REGULAR_NOT ="!~";
+
+ /**
+ * @var string
+ */
+ protected $_profileId;
+ /**
+ * @var array
+ */
+ protected $_dimensions = array();
+ /**
+ * @var array
+ */
+ protected $_metrics = array();
+ /**
+ * @var array
+ */
+ protected $_sort = array();
+ /**
+ * @var array
+ */
+ protected $_filters = array();
+
+ /**
+ * @param string $id
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function setProfileId($id)
+ {
+ $this->_profileId = $id;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getProfileId()
+ {
+ return $this->_profileId;
+ }
+
+ /**
+ * @param string $dimension
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function addDimension($dimension)
+ {
+ $this->_dimensions[$dimension] = true;
+ return $this;
+ }
+
+ /**
+ * @param string $metric
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function addMetric($metric)
+ {
+ $this->_metrics[$metric] = true;
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getDimensions()
+ {
+ return $this->_dimensions;
+ }
+
+ /**
+ * @return array
+ */
+ public function getMetrics()
+ {
+ return $this->_metrics;
+ }
+
+ /**
+ * @param string $dimension
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function removeDimension($dimension)
+ {
+ unset($this->_dimensions[$dimension]);
+ return $this;
+ }
+ /**
+ * @param string $metric
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function removeMetric($metric)
+ {
+ unset($this->_metrics[$metric]);
+ return $this;
+ }
+ /**
+ * @param string $value
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function setStartDate($date)
+ {
+ $this->setParam("start-date", $date);
+ return $this;
+ }
+ /**
+ * @param string $value
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function setEndDate($date)
+ {
+ $this->setParam("end-date", $date);
+ return $this;
+ }
+
+ /**
+ * @param string $filter
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function addFilter($filter)
+ {
+ $this->_filters[] = array($filter, true);
+ return $this;
+ }
+
+ /**
+ * @param string $filter
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function addOrFilter($filter)
+ {
+ $this->_filters[] = array($filter, false);
+ return $this;
+ }
+
+ /**
+ * @param string $sort
+ * @param boolean[optional] $descending
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function addSort($sort, $descending=false)
+ {
+ // add to sort storage
+ $this->_sort[] = ($descending?'-':'').$sort;
+ return $this;
+ }
+
+ /**
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function clearSort()
+ {
+ $this->_sort = array();
+ return $this;
+ }
+
+ /**
+ * @param string $segment
+ * @return Zend_Gdata_Analytics_DataQuery
+ */
+ public function setSegment($segment)
+ {
+ $this->setParam('segment', $segment);
+ return $this;
+ }
+
+ /**
+ * @return string url
+ */
+ public function getQueryUrl()
+ {
+ $uri = $this->_defaultFeedUri;
+ if (isset($this->_url)) {
+ $uri = $this->_url;
+ }
+
+ $dimensions = $this->getDimensions();
+ if (!empty($dimensions)) {
+ $this->setParam('dimensions', implode(",", array_keys($dimensions)));
+ }
+
+ $metrics = $this->getMetrics();
+ if (!empty($metrics)) {
+ $this->setParam('metrics', implode(",", array_keys($metrics)));
+ }
+
+ // profile id (ga:tableId)
+ if ($this->getProfileId() != null) {
+ $this->setParam('ids', 'ga:'.ltrim($this->getProfileId(), "ga:"));
+ }
+
+ // sorting
+ if ($this->_sort) {
+ $this->setParam('sort', implode(",", $this->_sort));
+ }
+
+ // filtering
+ $filters = "";
+ foreach ($this->_filters as $filter) {
+ $filters.=($filter[1]===true?';':',').$filter[0];
+ }
+
+ if ($filters!="") {
+ $this->setParam('filters', ltrim($filters, ",;"));
+ }
+
+ $uri .= $this->getQueryString();
+ return $uri;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/Extension/Dimension.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/Extension/Dimension.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,40 @@
+registerAllNamespaces(Zend_Gdata_Analytics::$namespaces);
+ parent::__construct();
+ }
+
+ /**
+ * @return string
+ */
+ public function __toString()
+ {
+ $attribs = $this->getExtensionAttributes();
+ return $attribs['name']['value'];
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/Extension/Metric.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/Extension/Metric.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,54 @@
+localName) {
+ case 'name':
+ $this->_name = $attribute->nodeValue;
+ break;
+ case 'value':
+ $this->_value = $attribute->nodeValue;
+ break;
+ default:
+ parent::takeAttributeFromDOM($attribute);
+ }
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/Extension/Property.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/Extension/Property.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,122 @@
+registerAllNamespaces(Zend_Gdata_Analytics::$namespaces);
+ parent::__construct();
+ $this->_value = $value;
+ $this->_name = $name;
+ }
+
+ /**
+ * 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 'name':
+ $name = explode(':', $attribute->nodeValue);
+ $this->_name = end($name);
+ break;
+ case 'value':
+ $this->_value = $attribute->nodeValue;
+ break;
+ default:
+ parent::takeAttributeFromDOM($attribute);
+ }
+ }
+
+ /**
+ * Get the value for this element's value attribute.
+ *
+ * @return string The value associated with this 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_Analytics_Extension_Property The element being modified.
+ */
+ public function setValue($value)
+ {
+ $this->_value = $value;
+ return $this;
+ }
+
+ /**
+ * @param string $name
+ * @return Zend_Gdata_Analytics_Extension_Property
+ */
+ public function setName($name)
+ {
+ $this->_name = $name;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->_name;
+ }
+
+ /**
+ * Magic toString method allows using this directly via echo
+ * Works best in PHP >= 4.2.0
+ */
+ public function __toString()
+ {
+ return $this->getValue();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Analytics/Extension/TableId.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Gdata/Analytics/Extension/TableId.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,112 @@
+registerAllNamespaces(Zend_Gdata_Analytics::$namespaces);
+ 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, $majorVersion = 1, $minorVersion = null)
+ {
+ $element = parent::getDOM($doc, $majorVersion, $minorVersion);
+ 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 takeChildFromDOM($child)
+ {
+ $this->_value = $child->nodeValue;
+ }
+
+ /**
+ * Get the value for this element's value attribute.
+ *
+ * @return string The value associated with this 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_Calendar_Extension_Timezone 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App.php
--- a/web/lib/Zend/Gdata/App.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: App.php 22972 2010-09-18 20:33:53Z ramon $
+ * @version $Id: App.php 25259 2013-02-13 17:38:12Z frosch $
*/
/**
@@ -42,6 +42,11 @@
require_once 'Zend/Gdata/App/MediaSource.php';
/**
+ * Zend_Uri/Http
+ */
+require_once 'Zend/Uri/Http.php';
+
+/**
* Provides Atom Publishing Protocol (APP) functionality. This class and all
* other components of Zend_Gdata_App are designed to work independently from
* other Zend_Gdata components in order to interact with generic APP services.
@@ -49,7 +54,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App
@@ -719,14 +724,14 @@
* @param string $uri
* @param Zend_Http_Client $client The client used for communication
* @param string $className The class which is used as the return type
+ * @param bool $useObjectMapping Enable/disable the use of XML to object mapping.
* @throws Zend_Gdata_App_Exception
- * @return string|Zend_Gdata_App_Feed Returns string only if the object
- * mapping has been disabled explicitly
- * by passing false to the
- * useObjectMapping() function.
+ * @return string|Zend_Gdata_App_Feed Returns string only if the fourth
+ * parameter ($useObjectMapping) is set
+ * to false.
*/
public static function import($uri, $client = null,
- $className='Zend_Gdata_App_Feed')
+ $className='Zend_Gdata_App_Feed', $useObjectMapping = true)
{
$app = new Zend_Gdata_App($client);
$requestData = $app->prepareRequest('GET', $uri);
@@ -734,7 +739,7 @@
$requestData['method'], $requestData['url']);
$feedContent = $response->getBody();
- if (!$this->_useObjectMapping) {
+ if (false === $useObjectMapping) {
return $feedContent;
}
$feed = self::importString($feedContent, $className);
@@ -1055,6 +1060,9 @@
break;
} catch (Zend_Exception $e) {
// package wasn't here- continue searching
+ } catch (ErrorException $e) {
+ // package wasn't here- continue searching
+ // @see ZF-7013 and ZF-11959
}
}
if ($foundClassName != null) {
@@ -1087,7 +1095,7 @@
* significant amount of time to complete. In some cases this may cause
* execution to timeout without proper precautions in place.
*
- * @param $feed The feed to iterate through.
+ * @param object $feed The feed to iterate through.
* @return mixed A new feed of the same type as the one originally
* passed in, containing all relevent entries.
*/
@@ -1117,7 +1125,7 @@
* NOTE: This will not work if you have customized the adapter
* already to use a proxy server or other interface.
*
- * @param $logfile The logfile to use when logging the requests
+ * @param string $logfile The logfile to use when logging the requests
*/
public function enableRequestDebugLogging($logfile)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/AuthException.php
--- a/web/lib/Zend/Gdata/App/AuthException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/AuthException.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AuthException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AuthException.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/BadMethodCallException.php
--- a/web/lib/Zend/Gdata/App/BadMethodCallException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/BadMethodCallException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BadMethodCallException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BadMethodCallException.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Base.php
--- a/web/lib/Zend/Gdata/App/Base.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Base.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Base.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Base.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_App_Base
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/BaseMediaSource.php
--- a/web/lib/Zend/Gdata/App/BaseMediaSource.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/BaseMediaSource.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BaseMediaSource.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BaseMediaSource.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_App_BaseMediaSource implements Zend_Gdata_App_MediaSource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/CaptchaRequiredException.php
--- a/web/lib/Zend/Gdata/App/CaptchaRequiredException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/CaptchaRequiredException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CaptchaRequiredException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CaptchaRequiredException.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Entry.php
--- a/web/lib/Zend/Gdata/App/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -62,7 +62,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Entry extends Zend_Gdata_App_FeedEntryParent
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Exception.php
--- a/web/lib/Zend/Gdata/App/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension.php
--- a/web/lib/Zend/Gdata/App/Extension.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Extension.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Extension.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_App_Extension extends Zend_Gdata_App_Base
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Author.php
--- a/web/lib/Zend/Gdata/App/Extension/Author.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Author.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Author.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Author.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Author extends Zend_Gdata_App_Extension_Person
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Category.php
--- a/web/lib/Zend/Gdata/App/Extension/Category.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Category.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Category.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Category.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Category extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Content.php
--- a/web/lib/Zend/Gdata/App/Extension/Content.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Content.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Content.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Content.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Content extends Zend_Gdata_App_Extension_Text
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Contributor.php
--- a/web/lib/Zend/Gdata/App/Extension/Contributor.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Contributor.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Contributor.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Contributor.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Contributor extends Zend_Gdata_App_Extension_Person
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Control.php
--- a/web/lib/Zend/Gdata/App/Extension/Control.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Control.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Control.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Control.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Control extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Draft.php
--- a/web/lib/Zend/Gdata/App/Extension/Draft.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Draft.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Draft.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Draft.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Draft extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Edited.php
--- a/web/lib/Zend/Gdata/App/Extension/Edited.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Edited.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Edited.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Edited.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Edited extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Element.php
--- a/web/lib/Zend/Gdata/App/Extension/Element.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Element.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Element.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Element.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Element extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Email.php
--- a/web/lib/Zend/Gdata/App/Extension/Email.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Email.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Email.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Email.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Email extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Generator.php
--- a/web/lib/Zend/Gdata/App/Extension/Generator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Generator.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Generator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Generator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Generator extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Icon.php
--- a/web/lib/Zend/Gdata/App/Extension/Icon.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Icon.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Icon.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Icon.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Icon extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Id.php
--- a/web/lib/Zend/Gdata/App/Extension/Id.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Id.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Id.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Id.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Id extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Link.php
--- a/web/lib/Zend/Gdata/App/Extension/Link.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Link.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Link.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Link.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Link extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Logo.php
--- a/web/lib/Zend/Gdata/App/Extension/Logo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Logo.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Logo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Logo.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Logo extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Name.php
--- a/web/lib/Zend/Gdata/App/Extension/Name.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Name.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Name.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Name.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Name extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Person.php
--- a/web/lib/Zend/Gdata/App/Extension/Person.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Person.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Person.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Person.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -47,7 +47,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_App_Extension_Person extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Published.php
--- a/web/lib/Zend/Gdata/App/Extension/Published.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Published.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Published.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Published.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Published extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Rights.php
--- a/web/lib/Zend/Gdata/App/Extension/Rights.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Rights.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rights.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rights.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Rights extends Zend_Gdata_App_Extension_Text
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Source.php
--- a/web/lib/Zend/Gdata/App/Extension/Source.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Source.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Source.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Source.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Source extends Zend_Gdata_App_FeedSourceParent
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Subtitle.php
--- a/web/lib/Zend/Gdata/App/Extension/Subtitle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Subtitle.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Subtitle.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Subtitle.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Subtitle extends Zend_Gdata_App_Extension_Text
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Summary.php
--- a/web/lib/Zend/Gdata/App/Extension/Summary.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Summary.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Summary.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Summary.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Summary extends Zend_Gdata_App_Extension_Text
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Text.php
--- a/web/lib/Zend/Gdata/App/Extension/Text.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Text.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Text.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Text.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_App_Extension_Text extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Title.php
--- a/web/lib/Zend/Gdata/App/Extension/Title.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Title.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Title.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Title.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Title extends Zend_Gdata_App_Extension_Text
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Updated.php
--- a/web/lib/Zend/Gdata/App/Extension/Updated.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Updated.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Updated.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Updated.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Updated extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Extension/Uri.php
--- a/web/lib/Zend/Gdata/App/Extension/Uri.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Extension/Uri.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Uri.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Uri.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Extension_Uri extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Feed.php
--- a/web/lib/Zend/Gdata/App/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 22880 2010-08-21 23:44:00Z ramon $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Feed extends Zend_Gdata_App_FeedSourceParent
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/FeedEntryParent.php
--- a/web/lib/Zend/Gdata/App/FeedEntryParent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/FeedEntryParent.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedEntryParent.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FeedEntryParent.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -77,7 +77,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_App_FeedEntryParent extends Zend_Gdata_App_Base
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/FeedSourceParent.php
--- a/web/lib/Zend/Gdata/App/FeedSourceParent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/FeedSourceParent.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedSourceParent.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FeedSourceParent.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -57,7 +57,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_App_FeedSourceParent extends Zend_Gdata_App_FeedEntryParent
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/HttpException.php
--- a/web/lib/Zend/Gdata/App/HttpException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/HttpException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HttpException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HttpException.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/IOException.php
--- a/web/lib/Zend/Gdata/App/IOException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/IOException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: IOException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: IOException.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/InvalidArgumentException.php
--- a/web/lib/Zend/Gdata/App/InvalidArgumentException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/InvalidArgumentException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: InvalidArgumentException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: InvalidArgumentException.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/LoggingHttpClientAdapterSocket.php
--- a/web/lib/Zend/Gdata/App/LoggingHttpClientAdapterSocket.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/LoggingHttpClientAdapterSocket.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @version $Id: LoggingHttpClientAdapterSocket.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: LoggingHttpClientAdapterSocket.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/MediaEntry.php
--- a/web/lib/Zend/Gdata/App/MediaEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/MediaEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_MediaEntry extends Zend_Gdata_App_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/MediaFileSource.php
--- a/web/lib/Zend/Gdata/App/MediaFileSource.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/MediaFileSource.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaFileSource.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaFileSource.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_MediaFileSource extends Zend_Gdata_App_BaseMediaSource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/MediaSource.php
--- a/web/lib/Zend/Gdata/App/MediaSource.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/MediaSource.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaSource.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaSource.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Gdata_App_MediaSource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/Util.php
--- a/web/lib/Zend/Gdata/App/Util.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/Util.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Util.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Util.php 24643 2012-02-25 21:35:32Z adamlundrigan $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_Util
@@ -45,7 +45,7 @@
$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)) {
+ if (ctype_digit((string)$timestamp)) {
return gmdate('Y-m-d\TH:i:sP', $timestamp);
} elseif (preg_match($rfc3339, $timestamp) > 0) {
// timestamp is already properly formatted
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/App/VersionException.php
--- a/web/lib/Zend/Gdata/App/VersionException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/App/VersionException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VersionException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VersionException.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage App
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_App_VersionException extends Zend_Gdata_App_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/AuthSub.php
--- a/web/lib/Zend/Gdata/AuthSub.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/AuthSub.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AuthSub.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AuthSub.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_AuthSub
@@ -169,6 +169,7 @@
try {
$response = $client->request('GET');
} catch (Zend_Http_Client_Exception $e) {
+ ob_end_clean();
require_once 'Zend/Gdata/App/HttpException.php';
throw new Zend_Gdata_App_HttpException($e->getMessage(), $e);
}
@@ -210,6 +211,7 @@
try {
$response = $client->request('GET');
} catch (Zend_Http_Client_Exception $e) {
+ ob_end_clean();
require_once 'Zend/Gdata/App/HttpException.php';
throw new Zend_Gdata_App_HttpException($e->getMessage(), $e);
}
@@ -229,9 +231,9 @@
if ($client == null) {
$client = new Zend_Gdata_HttpClient();
}
- if (!$client instanceof Zend_Http_Client) {
+ if (!$client instanceof Zend_Gdata_HttpClient) {
require_once 'Zend/Gdata/App/HttpException.php';
- throw new Zend_Gdata_App_HttpException('Client is not an instance of Zend_Http_Client.');
+ throw new Zend_Gdata_App_HttpException('Client is not an instance of Zend_Gdata_HttpClient.');
}
$useragent = 'Zend_Framework_Gdata/' . Zend_Version::VERSION;
$client->setConfig(array(
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books.php
--- a/web/lib/Zend/Gdata/Books.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Books.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Books.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -57,14 +57,14 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books extends Zend_Gdata
{
- const VOLUME_FEED_URI = 'http://books.google.com/books/feeds/volumes';
- const MY_LIBRARY_FEED_URI = 'http://books.google.com/books/feeds/users/me/collections/library/volumes';
- const MY_ANNOTATION_FEED_URI = 'http://books.google.com/books/feeds/users/me/volumes';
+ const VOLUME_FEED_URI = 'https://books.google.com/books/feeds/volumes';
+ const MY_LIBRARY_FEED_URI = 'https://books.google.com/books/feeds/users/me/collections/library/volumes';
+ const MY_ANNOTATION_FEED_URI = 'https://books.google.com/books/feeds/users/me/volumes';
const AUTH_SERVICE_NAME = 'print';
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/CollectionEntry.php
--- a/web/lib/Zend/Gdata/Books/CollectionEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/CollectionEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CollectionEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CollectionEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_CollectionEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/CollectionFeed.php
--- a/web/lib/Zend/Gdata/Books/CollectionFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/CollectionFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CollectionFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CollectionFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_CollectionFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/AnnotationLink.php
--- a/web/lib/Zend/Gdata/Books/Extension/AnnotationLink.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/AnnotationLink.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AnnotationLink.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AnnotationLink.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_AnnotationLink extends
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/BooksCategory.php
--- a/web/lib/Zend/Gdata/Books/Extension/BooksCategory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/BooksCategory.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BooksCategory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BooksCategory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_BooksCategory extends
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/BooksLink.php
--- a/web/lib/Zend/Gdata/Books/Extension/BooksLink.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/BooksLink.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BooksLink.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BooksLink.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_BooksLink extends Zend_Gdata_App_Extension_Link
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/Embeddability.php
--- a/web/lib/Zend/Gdata/Books/Extension/Embeddability.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/Embeddability.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Embeddability.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Embeddability.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_Embeddability extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/InfoLink.php
--- a/web/lib/Zend/Gdata/Books/Extension/InfoLink.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/InfoLink.php Sun Apr 21 21:54:24 2013 +0200
@@ -17,7 +17,7 @@
* @package Zend_Gdata
* @subpackage Books
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: InfoLink.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: InfoLink.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_InfoLink extends
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/PreviewLink.php
--- a/web/lib/Zend/Gdata/Books/Extension/PreviewLink.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/PreviewLink.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PreviewLink.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PreviewLink.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_PreviewLink extends
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/Review.php
--- a/web/lib/Zend/Gdata/Books/Extension/Review.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/Review.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Review.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Review.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_Review extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/ThumbnailLink.php
--- a/web/lib/Zend/Gdata/Books/Extension/ThumbnailLink.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/ThumbnailLink.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ThumbnailLink.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ThumbnailLink.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_ThumbnailLink extends
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/Extension/Viewability.php
--- a/web/lib/Zend/Gdata/Books/Extension/Viewability.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/Extension/Viewability.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Viewability.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Viewability.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_Extension_Viewability extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/VolumeEntry.php
--- a/web/lib/Zend/Gdata/Books/VolumeEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/VolumeEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VolumeEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VolumeEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -102,7 +102,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_VolumeEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/VolumeFeed.php
--- a/web/lib/Zend/Gdata/Books/VolumeFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/VolumeFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VolumeFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VolumeFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_VolumeFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Books/VolumeQuery.php
--- a/web/lib/Zend/Gdata/Books/VolumeQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Books/VolumeQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VolumeQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VolumeQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Books
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Books_VolumeQuery extends Zend_Gdata_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar.php
--- a/web/lib/Zend/Gdata/Calendar.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Calendar.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Calendar.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -53,14 +53,14 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar extends Zend_Gdata
{
- const CALENDAR_FEED_URI = 'http://www.google.com/calendar/feeds';
- const CALENDAR_EVENT_FEED_URI = 'http://www.google.com/calendar/feeds/default/private/full';
+ const CALENDAR_FEED_URI = 'https://www.google.com/calendar/feeds';
+ const CALENDAR_EVENT_FEED_URI = 'https://www.google.com/calendar/feeds/default/private/full';
const AUTH_SERVICE_NAME = 'cl';
protected $_defaultPostUri = self::CALENDAR_EVENT_FEED_URI;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/EventEntry.php
--- a/web/lib/Zend/Gdata/Calendar/EventEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/EventEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EventEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EventEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -57,7 +57,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_EventEntry extends Zend_Gdata_Kind_EventEntry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/EventFeed.php
--- a/web/lib/Zend/Gdata/Calendar/EventFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/EventFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EventFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EventFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_EventFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/EventQuery.php
--- a/web/lib/Zend/Gdata/Calendar/EventQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/EventQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EventQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EventQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,13 +39,13 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_EventQuery extends Zend_Gdata_Query
{
- const CALENDAR_FEED_URI = 'http://www.google.com/calendar/feeds';
+ const CALENDAR_FEED_URI = 'https://www.google.com/calendar/feeds';
/**
* The default URI used for feeds.
@@ -91,9 +91,9 @@
/**
* Create Gdata_Calendar_EventQuery object. If a URL is provided,
* it becomes the base URL, and additional URL components may be
- * appended. For instance, if $url is 'http://www.google.com/calendar',
+ * appended. For instance, if $url is 'https://www.google.com/calendar',
* the default URL constructed will be
- * 'http://www.google.com/calendar/default/public/full'.
+ * 'https://www.google.com/calendar/default/public/full'.
*
* If the URL already contains a calendar ID, projection, visibility,
* event ID, or comment ID, you will need to set these fields to null
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/AccessLevel.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/AccessLevel.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/AccessLevel.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccessLevel.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AccessLevel.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_AccessLevel extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/Color.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/Color.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/Color.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Color.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Color.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_Color extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/Hidden.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/Hidden.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/Hidden.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hidden.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Hidden.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_Hidden extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/Link.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/Link.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/Link.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Link.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Link.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_Link extends Zend_Gdata_App_Extension_Link
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/QuickAdd.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/QuickAdd.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/QuickAdd.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: QuickAdd.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: QuickAdd.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_QuickAdd extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/Selected.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/Selected.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/Selected.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Selected.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Selected.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_Selected extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/SendEventNotifications.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/SendEventNotifications.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/SendEventNotifications.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendEventNotifications.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SendEventNotifications.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_SendEventNotifications extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/Timezone.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/Timezone.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/Timezone.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Timezone.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Timezone.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_Timezone extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/Extension/WebContent.php
--- a/web/lib/Zend/Gdata/Calendar/Extension/WebContent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/Extension/WebContent.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: WebContent.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: WebContent.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_Extension_WebContent extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/ListEntry.php
--- a/web/lib/Zend/Gdata/Calendar/ListEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/ListEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ListEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ListEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -69,7 +69,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_ListEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Calendar/ListFeed.php
--- a/web/lib/Zend/Gdata/Calendar/ListFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Calendar/ListFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ListFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Calendar_ListFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/ClientLogin.php
--- a/web/lib/Zend/Gdata/ClientLogin.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/ClientLogin.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ClientLogin.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ClientLogin.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_ClientLogin
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Docs.php
--- a/web/lib/Zend/Gdata/Docs.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Docs.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Docs.php 20112 2010-01-07 02:39:32Z tjohns $
+ * @version $Id: Docs.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -53,14 +53,14 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Docs extends Zend_Gdata
{
- const DOCUMENTS_LIST_FEED_URI = 'http://docs.google.com/feeds/documents/private/full';
- const DOCUMENTS_FOLDER_FEED_URI = 'http://docs.google.com/feeds/folders/private/full';
+ const DOCUMENTS_LIST_FEED_URI = 'https://docs.google.com/feeds/documents/private/full';
+ const DOCUMENTS_FOLDER_FEED_URI = 'https://docs.google.com/feeds/folders/private/full';
const DOCUMENTS_CATEGORY_SCHEMA = 'http://schemas.google.com/g/2005#kind';
const DOCUMENTS_CATEGORY_TERM = 'http://schemas.google.com/docs/2007#folder';
const AUTH_SERVICE_NAME = 'writely';
@@ -162,7 +162,7 @@
* @return Zend_Gdata_Docs_DocumentListEntry
*/
public function getDoc($docId, $docType) {
- $location = 'http://docs.google.com/feeds/documents/private/full/' .
+ $location = 'https://docs.google.com/feeds/documents/private/full/' .
$docType . '%3A' . $docId;
return $this->getDocumentListEntry($location);
}
@@ -215,7 +215,7 @@
* which are enumerated in SUPPORTED_FILETYPES.
* @param string $uri (optional) The URL to which the upload should be
* made.
- * Example: 'http://docs.google.com/feeds/documents/private/full'.
+ * Example: 'https://docs.google.com/feeds/documents/private/full'.
* @return Zend_Gdata_Docs_DocumentListEntry The entry for the newly
* created Google Document.
*/
@@ -265,7 +265,7 @@
* the appropriate type doesn't exist yet.
*/
public function createFolder($folderName, $folderResourceId=null) {
- $category = new Zend_Gdata_App_Extension_Category(self::DOCUMENTS_CATEGORY_TERM,
+ $category = new Zend_Gdata_App_Extension_Category(self::DOCUMENTS_CATEGORY_TERM,
self::DOCUMENTS_CATEGORY_SCHEMA);
$title = new Zend_Gdata_App_Extension_Title($folderName);
$entry = new Zend_Gdata_Entry();
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Docs/DocumentListEntry.php
--- a/web/lib/Zend/Gdata/Docs/DocumentListEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Docs/DocumentListEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DocumentListEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DocumentListEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Docs_DocumentListEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Docs/DocumentListFeed.php
--- a/web/lib/Zend/Gdata/Docs/DocumentListFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Docs/DocumentListFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DocumentListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DocumentListFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Docs_DocumentListFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Docs/Query.php
--- a/web/lib/Zend/Gdata/Docs/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Docs/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Query.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Docs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -45,7 +45,7 @@
*
* @var string
*/
- const DOCUMENTS_LIST_FEED_URI = 'http://docs.google.com/feeds/documents';
+ const DOCUMENTS_LIST_FEED_URI = 'https://docs.google.com/feeds/documents';
/**
* The generic base URL used by some inherited methods
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore.php
--- a/web/lib/Zend/Gdata/DublinCore.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DublinCore.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DublinCore.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore extends Zend_Gdata
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Creator.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Creator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Creator.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Creator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Creator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Creator extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Date.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Date.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Date.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Date.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Date.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Date extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Description.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Description.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Description.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Description.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Description.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Description extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Format.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Format.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Format.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Format.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Format.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Format extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Identifier.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Identifier.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Identifier.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Identifier.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Identifier.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Identifier extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Language.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Language.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Language.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Language.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Language.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Language extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Publisher.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Publisher.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Publisher.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Publisher.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Publisher.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Publisher extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Rights.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Rights.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Rights.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rights.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rights.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Rights extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Subject.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Subject.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Subject.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Subject.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Subject.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Subject extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/DublinCore/Extension/Title.php
--- a/web/lib/Zend/Gdata/DublinCore/Extension/Title.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/DublinCore/Extension/Title.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Title.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Title.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_DublinCore_Extension_Title extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Entry.php
--- a/web/lib/Zend/Gdata/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Entry extends Zend_Gdata_App_MediaEntry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif.php
--- a/web/lib/Zend/Gdata/Exif.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exif.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exif.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif extends Zend_Gdata
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Entry.php
--- a/web/lib/Zend/Gdata/Exif/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Entry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Distance.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Distance.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Distance.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Distance.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Distance.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Distance extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Exposure.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Exposure.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Exposure.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exposure.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exposure.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Exposure extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/FStop.php
--- a/web/lib/Zend/Gdata/Exif/Extension/FStop.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/FStop.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FStop.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FStop.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_FStop extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Flash.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Flash.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Flash.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Flash.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Flash.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Flash extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/FocalLength.php
--- a/web/lib/Zend/Gdata/Exif/Extension/FocalLength.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/FocalLength.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FocalLength.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FocalLength.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_FocalLength extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/ImageUniqueId.php
--- a/web/lib/Zend/Gdata/Exif/Extension/ImageUniqueId.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/ImageUniqueId.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ImageUniqueId.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ImageUniqueId.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_ImageUniqueId extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Iso.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Iso.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Iso.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Iso.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Iso.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Iso extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Make.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Make.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Make.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Make.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Make.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Make extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Model.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Model.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Model.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Model.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Model.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Model extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Tags.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Tags.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Tags.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Tags.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Tags.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -87,7 +87,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Tags extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Extension/Time.php
--- a/web/lib/Zend/Gdata/Exif/Extension/Time.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Extension/Time.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Time.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Time.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Extension_Time extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Exif/Feed.php
--- a/web/lib/Zend/Gdata/Exif/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Exif/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Exif_Feed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension.php
--- a/web/lib/Zend/Gdata/Extension.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Extension.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Extension.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Extension extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/AttendeeStatus.php
--- a/web/lib/Zend/Gdata/Extension/AttendeeStatus.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/AttendeeStatus.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AttendeeStatus.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AttendeeStatus.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/AttendeeType.php
--- a/web/lib/Zend/Gdata/Extension/AttendeeType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/AttendeeType.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AttendeeType.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AttendeeType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Comments.php
--- a/web/lib/Zend/Gdata/Extension/Comments.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Comments.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Comments.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Comments.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/EntryLink.php
--- a/web/lib/Zend/Gdata/Extension/EntryLink.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/EntryLink.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EntryLink.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EntryLink.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/EventStatus.php
--- a/web/lib/Zend/Gdata/Extension/EventStatus.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/EventStatus.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EventStatus.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EventStatus.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/ExtendedProperty.php
--- a/web/lib/Zend/Gdata/Extension/ExtendedProperty.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/ExtendedProperty.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ExtendedProperty.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ExtendedProperty.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/FeedLink.php
--- a/web/lib/Zend/Gdata/Extension/FeedLink.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/FeedLink.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FeedLink.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FeedLink.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/OpenSearchItemsPerPage.php
--- a/web/lib/Zend/Gdata/Extension/OpenSearchItemsPerPage.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/OpenSearchItemsPerPage.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenSearchItemsPerPage.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenSearchItemsPerPage.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Extension_OpenSearchItemsPerPage extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/OpenSearchStartIndex.php
--- a/web/lib/Zend/Gdata/Extension/OpenSearchStartIndex.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/OpenSearchStartIndex.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenSearchStartIndex.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenSearchStartIndex.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Extension_OpenSearchStartIndex extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/OpenSearchTotalResults.php
--- a/web/lib/Zend/Gdata/Extension/OpenSearchTotalResults.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/OpenSearchTotalResults.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenSearchTotalResults.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenSearchTotalResults.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Extension_OpenSearchTotalResults extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/OriginalEvent.php
--- a/web/lib/Zend/Gdata/Extension/OriginalEvent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/OriginalEvent.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OriginalEvent.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OriginalEvent.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Rating.php
--- a/web/lib/Zend/Gdata/Extension/Rating.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Rating.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rating.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rating.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Recurrence.php
--- a/web/lib/Zend/Gdata/Extension/Recurrence.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Recurrence.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Recurrence.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Recurrence.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/RecurrenceException.php
--- a/web/lib/Zend/Gdata/Extension/RecurrenceException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/RecurrenceException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RecurrenceException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RecurrenceException.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Reminder.php
--- a/web/lib/Zend/Gdata/Extension/Reminder.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Reminder.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Reminder.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Reminder.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Transparency.php
--- a/web/lib/Zend/Gdata/Extension/Transparency.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Transparency.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Transparency.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Transparency.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Visibility.php
--- a/web/lib/Zend/Gdata/Extension/Visibility.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Visibility.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Visibility.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Visibility.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/When.php
--- a/web/lib/Zend/Gdata/Extension/When.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/When.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: When.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: When.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Where.php
--- a/web/lib/Zend/Gdata/Extension/Where.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Where.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Where.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Where.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Extension/Who.php
--- a/web/lib/Zend/Gdata/Extension/Who.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Extension/Who.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Who.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Who.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -47,7 +47,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Feed.php
--- a/web/lib/Zend/Gdata/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -57,7 +57,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Feed extends Zend_Gdata_App_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps.php
--- a/web/lib/Zend/Gdata/Gapps.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Gapps.php 22511 2010-07-01 01:41:46Z tjohns $
+ * @version $Id: Gapps.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -76,7 +76,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps extends Zend_Gdata
@@ -1178,7 +1178,7 @@
{
$i = 0;
$group = $this->newGroupEntry();
-
+
$properties[$i] = $this->newProperty();
$properties[$i]->name = 'groupId';
$properties[$i]->value = $groupId;
@@ -1200,8 +1200,8 @@
$properties[$i]->name = 'emailPermission';
$properties[$i]->value = $emailPermission;
$i++;
- }
-
+ }
+
$group->property = $properties;
return $this->insertGroup($group);
@@ -1240,7 +1240,7 @@
* @return Zend_Gdata_Gapps_GroupFeed Collection of Zend_Gdata_GroupEntry objects
* representing all groups apart of the domain.
*/
- public function retrieveAllGroups()
+ public function retrieveAllGroups()
{
return $this->retrieveAllEntriesForFeed($this->retrievePageOfGroups());
}
@@ -1257,7 +1257,7 @@
$this->delete($uri);
}
-
+
/**
* Check to see if a member id or group id is a member of group
*
@@ -1269,7 +1269,7 @@
{
$uri = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
$uri .= $this->getDomain() . '/' . $groupId . '/member/' . $memberId;
-
+
//if the enitiy is not a member, an exception is thrown
try {
$results = $this->get($uri);
@@ -1353,7 +1353,7 @@
$uri = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
$uri .= $this->getDomain() . '/' . $groupId . '/owner';
-
+
return $this->insertOwner($owner, $uri);
}
@@ -1383,9 +1383,9 @@
{
$uri = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
$uri .= $this->getDomain() . '/' . $groupId . '/owner/' . $email;
-
+
//if the enitiy is not an owner of the group, an exception is thrown
- try {
+ try {
$results = $this->get($uri);
} catch (Exception $e) {
$results = false;
@@ -1427,7 +1427,7 @@
{
$i = 0;
$group = $this->newGroupEntry();
-
+
$properties[$i] = $this->newProperty();
$properties[$i]->name = 'groupId';
$properties[$i]->value = $groupId;
@@ -1453,20 +1453,20 @@
$properties[$i]->value = $emailPermission;
$i++;
}
-
+
$group->property = $properties;
$uri = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
$uri .= $this->getDomain() . '/' . $groupId;
- return $this->updateEntry($group, $uri, 'Zend_Gdata_Gapps_GroupEntry');
+ return $this->updateEntry($group, $uri, 'Zend_Gdata_Gapps_GroupEntry');
}
/**
* Retrieve all of the groups that a user is a member of
*
* @param string $memberId Member username
- * @param bool $directOnly (Optional) If true, members with direct association
+ * @param bool $directOnly (Optional) If true, members with direct association
* only will be considered
* @return Zend_Gdata_Gapps_GroupFeed Collection of Zend_Gdata_GroupEntry
* objects representing all groups member is apart of in the domain.
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/EmailListEntry.php
--- a/web/lib/Zend/Gdata/Gapps/EmailListEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/EmailListEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EmailListEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EmailListEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -53,7 +53,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_EmailListEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/EmailListFeed.php
--- a/web/lib/Zend/Gdata/Gapps/EmailListFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/EmailListFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EmailListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EmailListFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_EmailListFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/EmailListQuery.php
--- a/web/lib/Zend/Gdata/Gapps/EmailListQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/EmailListQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EmailListQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EmailListQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_EmailListQuery extends Zend_Gdata_Gapps_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/EmailListRecipientEntry.php
--- a/web/lib/Zend/Gdata/Gapps/EmailListRecipientEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/EmailListRecipientEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EmailListRecipientEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EmailListRecipientEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -49,7 +49,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_EmailListRecipientEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/EmailListRecipientFeed.php
--- a/web/lib/Zend/Gdata/Gapps/EmailListRecipientFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/EmailListRecipientFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EmailListRecipientFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EmailListRecipientFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_EmailListRecipientFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/EmailListRecipientQuery.php
--- a/web/lib/Zend/Gdata/Gapps/EmailListRecipientQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/EmailListRecipientQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EmailListRecipientQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EmailListRecipientQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_EmailListRecipientQuery extends Zend_Gdata_Gapps_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Error.php
--- a/web/lib/Zend/Gdata/Gapps/Error.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Error.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Error.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Error.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_Error extends Zend_Gdata_App_Base
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Extension/EmailList.php
--- a/web/lib/Zend/Gdata/Gapps/Extension/EmailList.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Extension/EmailList.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EmailList.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EmailList.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_Extension_EmailList extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Extension/Login.php
--- a/web/lib/Zend/Gdata/Gapps/Extension/Login.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Extension/Login.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Login.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Login.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_Extension_Login extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Extension/Name.php
--- a/web/lib/Zend/Gdata/Gapps/Extension/Name.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Extension/Name.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Name.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Name.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_Extension_Name extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Extension/Nickname.php
--- a/web/lib/Zend/Gdata/Gapps/Extension/Nickname.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Extension/Nickname.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Nickname.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Nickname.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_Extension_Nickname extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Extension/Property.php
--- a/web/lib/Zend/Gdata/Gapps/Extension/Property.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Extension/Property.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: EmailList.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_Extension_Property extends Zend_Gdata_Extension
@@ -177,4 +177,3 @@
"\nProperty Value: " . $this->getValue();
}
}
-?>
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Extension/Quota.php
--- a/web/lib/Zend/Gdata/Gapps/Extension/Quota.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Extension/Quota.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Quota.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Quota.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_Extension_Quota extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/GroupEntry.php
--- a/web/lib/Zend/Gdata/Gapps/GroupEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/GroupEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -46,7 +46,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_GroupEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/GroupFeed.php
--- a/web/lib/Zend/Gdata/Gapps/GroupFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/GroupFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_GroupFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/GroupQuery.php
--- a/web/lib/Zend/Gdata/Gapps/GroupQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/GroupQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_GroupQuery extends Zend_Gdata_Gapps_Query
@@ -55,7 +55,7 @@
* Create a new instance.
*
* @param string $domain (optional) The Google Apps-hosted domain to use
- * when constructing query URIs.
+ * when constructing query URIs.
* @param string $groupId (optional) Value for the groupId property.
* @param string $startGroupName (optional) Value for the
* startGroupName property.
@@ -210,15 +210,15 @@
$uri = Zend_Gdata_Gapps::APPS_BASE_FEED_URI;
$uri .= Zend_Gdata_Gapps::APPS_GROUP_PATH;
$uri .= '/' . $this->_domain;
-
+
if ($this->_groupId !== null) {
$uri .= '/' . $this->_groupId;
}
-
+
if(array_key_exists('member', $this->_params)) {
$uri .= '/';
}
-
+
$uri .= $this->getQueryString();
return $uri;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/MemberEntry.php
--- a/web/lib/Zend/Gdata/Gapps/MemberEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/MemberEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -46,7 +46,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_MemberEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/MemberFeed.php
--- a/web/lib/Zend/Gdata/Gapps/MemberFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/MemberFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_MemberFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/MemberQuery.php
--- a/web/lib/Zend/Gdata/Gapps/MemberQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/MemberQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_MemberQuery extends Zend_Gdata_Gapps_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/NicknameEntry.php
--- a/web/lib/Zend/Gdata/Gapps/NicknameEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/NicknameEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NicknameEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NicknameEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -53,7 +53,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_NicknameEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/NicknameFeed.php
--- a/web/lib/Zend/Gdata/Gapps/NicknameFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/NicknameFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NicknameFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NicknameFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_NicknameFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/NicknameQuery.php
--- a/web/lib/Zend/Gdata/Gapps/NicknameQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/NicknameQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NicknameQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NicknameQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_NicknameQuery extends Zend_Gdata_Gapps_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/OwnerEntry.php
--- a/web/lib/Zend/Gdata/Gapps/OwnerEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/OwnerEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -46,7 +46,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_OwnerEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/OwnerFeed.php
--- a/web/lib/Zend/Gdata/Gapps/OwnerFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/OwnerFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_OwnerFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/OwnerQuery.php
--- a/web/lib/Zend/Gdata/Gapps/OwnerQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/OwnerQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,7 +16,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:$
*/
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_OwnerQuery extends Zend_Gdata_Gapps_Query
@@ -76,7 +76,7 @@
* Set the group id to query for.
*
* @see getGroupId
- * @param string $value
+ * @param string $value
*/
public function setGroupId($value)
{
@@ -133,9 +133,9 @@
throw new Zend_Gdata_App_InvalidArgumentException(
'groupId must not be null');
}
-
+
$uri .= '/owner';
-
+
if ($this->_ownerEmail !== null) {
$uri .= '/' . $this->_ownerEmail;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/Query.php
--- a/web/lib/Zend/Gdata/Gapps/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Query.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Gdata_Gapps_Query extends Zend_Gdata_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/ServiceException.php
--- a/web/lib/Zend/Gdata/Gapps/ServiceException.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/ServiceException.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ServiceException.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ServiceException.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_ServiceException extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/UserEntry.php
--- a/web/lib/Zend/Gdata/Gapps/UserEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/UserEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UserEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -61,7 +61,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_UserEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/UserFeed.php
--- a/web/lib/Zend/Gdata/Gapps/UserFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/UserFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UserFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_UserFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gapps/UserQuery.php
--- a/web/lib/Zend/Gdata/Gapps/UserQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gapps/UserQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UserQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gapps
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Gapps_UserQuery extends Zend_Gdata_Gapps_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase.php
--- a/web/lib/Zend/Gdata/Gbase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,37 +16,22 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Gbase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Gbase.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @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
@@ -54,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -63,12 +48,12 @@
/**
* Path to the customer items feeds on the Google Base server.
*/
- const GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items';
+ const GBASE_ITEM_FEED_URI = 'https://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';
+ const GBASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets';
/**
* Authentication service name for Google Base
@@ -76,23 +61,6 @@
const AUTH_SERVICE_NAME = 'gbase';
/**
- * The default URI for POST methods
- *
- * @var string
- */
- protected $_defaultPostUri = self::GBASE_ITEM_FEED_URI;
-
- /**
- * Namespaces used for Zend_Gdata_Gbase
- *
- * @var array
- */
- public static $namespaces = array(
- array('g', 'http://base.google.com/ns/1.0', 1, 0),
- array('batch', 'http://schemas.google.com/gdata/batch', 1, 0)
- );
-
- /**
* Create Zend_Gdata_Gbase object
*
* @param Zend_Http_Client $client (optional) The HTTP client to use when
@@ -101,109 +69,10 @@
*/
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');
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/Entry.php
--- a/web/lib/Zend/Gdata/Gbase/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,22 +16,22 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @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/
@@ -39,113 +39,21 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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)
{
- $this->registerAllNamespaces(Zend_Gdata_Gbase::$namespaces);
- 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, $majorVersion = 1, $minorVersion = null)
- {
- $element = parent::getDOM($doc, $majorVersion, $minorVersion);
- 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);
- }
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
}
-
- /**
- * 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/Extension/BaseAttribute.php
--- a/web/lib/Zend/Gdata/Gbase/Extension/BaseAttribute.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/Extension/BaseAttribute.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BaseAttribute.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BaseAttribute.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
@@ -31,19 +31,11 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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.
*
@@ -53,63 +45,10 @@
*/
public function __construct($name = null, $text = null, $type = null)
{
- $this->registerAllNamespaces(Zend_Gdata_Gbase::$namespaces);
- 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'];
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
}
-
- /**
- * Set the 'name' of the Base attribute object:
- * <g:[$name] type='[$type]'>[$value]</g:[$name]>
- *
- * @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:
- * <g:[$name] type='[$type]'>[$value]</g:[$name]>
- *
- * @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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/Feed.php
--- a/web/lib/Zend/Gdata/Gbase/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,12 +16,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Feed
*/
require_once 'Zend/Gdata/Feed.php';
@@ -34,19 +39,12 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -54,7 +52,10 @@
*/
public function __construct($element = null)
{
- $this->registerAllNamespaces(Zend_Gdata_Gbase::$namespaces);
- parent::__construct($element);
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/ItemEntry.php
--- a/web/lib/Zend/Gdata/Gbase/ItemEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/ItemEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ItemEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ItemEntry.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
@@ -34,128 +34,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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:
- * <g:[$name] type='[$type]'>[$value]</g:[$name]>
- *
- * @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.
- * @param string|null $uri The URI to send requests to, or null if $data
- * contains the URI.
- * @param string|null $className The name of the class that should we
- * deserializing the server response. If null, then
- * 'Zend_Gdata_App_Entry' will be used.
- * @param array $extraHeaders Extra headers to add to the request, as an
- * array of string-based key/value pairs.
- * @return Zend_Gdata_App_Entry The updated entry
- * @throws Zend_Gdata_App_Exception
- */
- public function save($dryRun = false,
- $uri = null,
- $className = null,
- $extraHeaders = array())
- {
- if ($dryRun == true) {
- $editLink = $this->getEditLink();
- if ($uri == null && $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,
- $className,
- $extraHeaders);
- } else {
- parent::save($uri, $className, $extraHeaders);
- }
- }
-
- /**
- * 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/ItemFeed.php
--- a/web/lib/Zend/Gdata/Gbase/ItemFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/ItemFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ItemFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ItemFeed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
@@ -34,15 +34,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/ItemQuery.php
--- a/web/lib/Zend/Gdata/Gbase/ItemQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/ItemQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,20 +16,20 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ItemQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ItemQuery.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
- * @see Zend_Gdata_Query
+ * @see Zend_Exception
*/
-require_once('Zend/Gdata/Query.php');
+require_once 'Zend/Exception.php';
/**
* @see Zend_Gdata_Gbase_Query
*/
-require_once('Zend/Gdata/Gbase/Query.php');
+require_once 'Zend/Gdata/Gbase/Query.php';
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -48,54 +48,5 @@
/**
* 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;
- }
-
+ const GBASE_ITEM_FEED_URI = 'https://www.google.com/base/feeds/items';
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/Query.php
--- a/web/lib/Zend/Gdata/Gbase/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,15 +16,20 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Query.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Query
*/
-require_once('Zend/Gdata/Query.php');
+require_once 'Zend/Gdata/Query.php';
/**
* Assists in constructing queries for Google Base
@@ -34,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -43,226 +48,22 @@
/**
* Path to the customer items feeds on the Google Base server.
*/
- const GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items';
+ const GBASE_ITEM_FEED_URI = 'https://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;
- }
+ const GBASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets';
/**
- * @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
+ * Create Gdata_Query object
*/
- 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()
+ public function __construct($url = null)
{
- 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;
- }
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
}
-
- /**
- * @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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/SnippetEntry.php
--- a/web/lib/Zend/Gdata/Gbase/SnippetEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/SnippetEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SnippetEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SnippetEntry.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
@@ -34,15 +34,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/SnippetFeed.php
--- a/web/lib/Zend/Gdata/Gbase/SnippetFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/SnippetFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,15 +16,20 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SnippetFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SnippetFeed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
- * @see Zend_Gdata_Gbase_Feed
+ * @see Zend_Exception
*/
-require_once 'Zend/Gdata/Gbase/Feed.php';
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Feed
+ */
+require_once 'Zend/Gdata/Feed.php';
/**
* Represents the Google Base Snippets Feed
@@ -34,15 +39,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Gbase/SnippetQuery.php
--- a/web/lib/Zend/Gdata/Gbase/SnippetQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/SnippetQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,20 +16,15 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SnippetQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SnippetQuery.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
- * Zend_Gdata_Query
+ * @see Zend_Gdata_Gbase_Query
*/
-require_once('Zend/Gdata/Query.php');
-
-/**
- * Zend_Gdata_Gbase_Query
- */
-require_once('Zend/Gdata/Gbase/Query.php');
+require_once 'Zend/Gdata/Gbase/Query.php';
/**
* Assists in constructing queries for Google Base Snippets Feed
@@ -39,7 +34,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -47,28 +42,5 @@
/**
* 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;
- }
-
+ const BASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets';
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Geo.php
--- a/web/lib/Zend/Gdata/Geo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Geo.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Geo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Geo.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Geo extends Zend_Gdata
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Geo/Entry.php
--- a/web/lib/Zend/Gdata/Geo/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Geo/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Geo_Entry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Geo/Extension/GeoRssWhere.php
--- a/web/lib/Zend/Gdata/Geo/Extension/GeoRssWhere.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Geo/Extension/GeoRssWhere.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GeoRssWhere.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GeoRssWhere.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -43,7 +43,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Geo_Extension_GeoRssWhere extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Geo/Extension/GmlPoint.php
--- a/web/lib/Zend/Gdata/Geo/Extension/GmlPoint.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Geo/Extension/GmlPoint.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GmlPoint.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GmlPoint.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -43,7 +43,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Geo_Extension_GmlPoint extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Geo/Extension/GmlPos.php
--- a/web/lib/Zend/Gdata/Geo/Extension/GmlPos.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Geo/Extension/GmlPos.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GmlPos.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GmlPos.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Geo_Extension_GmlPos extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Geo/Feed.php
--- a/web/lib/Zend/Gdata/Geo/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Geo/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Geo
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Geo_Feed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Health.php
--- a/web/lib/Zend/Gdata/Health.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Health.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,37 +16,22 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Health.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Health.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata
*/
require_once 'Zend/Gdata.php';
/**
- * @see Zend_Gdata_Health_ProfileFeed
- */
-require_once 'Zend/Gdata/Health/ProfileFeed.php';
-
-/**
- * @see Zend_Gdata_Health_ProfileListFeed
- */
-require_once 'Zend/Gdata/Health/ProfileListFeed.php';
-
-/**
- * @see Zend_Gdata_Health_ProfileListEntry
- */
-require_once 'Zend/Gdata/Health/ProfileListEntry.php';
-
-/**
- * @see Zend_Gdata_Health_ProfileEntry
- */
-require_once 'Zend/Gdata/Health/ProfileEntry.php';
-
-/**
* Service class for interacting with the Google Health Data API
*
* @link http://code.google.com/apis/health
@@ -54,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Health extends Zend_Gdata
@@ -84,29 +69,6 @@
const H9_SANDBOX_SERVICE_NAME = 'weaver';
/**
- * Profile ID used for all API interactions. This can only be set when
- * using ClientLogin for authentication.
- *
- * @var string
- */
- private $_profileID = null;
-
- /**
- * True if API calls should be made to the H9 developer sandbox at /h9
- * rather than /health
- *
- * @var bool
- */
- private $_useH9Sandbox = false;
-
- public static $namespaces =
- array('ccr' => 'urn:astm-org:CCR',
- 'batch' => 'http://schemas.google.com/gdata/batch',
- 'h9m' => 'http://schemas.google.com/health/metadata',
- 'gAcl' => 'http://schemas.google.com/acl/2007',
- 'gd' => 'http://schemas.google.com/g/2005');
-
- /**
* Create Zend_Gdata_Health object
*
* @param Zend_Http_Client $client (optional) The HTTP client to use when
@@ -118,157 +80,10 @@
*/
public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0', $useH9Sandbox = false)
{
- $this->registerPackage('Zend_Gdata_Health');
- $this->registerPackage('Zend_Gdata_Health_Extension_Ccr');
- parent::__construct($client, $applicationId);
- $this->_useH9Sandbox = $useH9Sandbox;
- }
-
- /**
- * Gets the id of the user's profile
- *
- * @return string The profile id
- */
- public function getProfileID()
- {
- return $this->_profileID;
- }
-
- /**
- * Sets which of the user's profiles will be used
- *
- * @param string $id The profile ID
- * @return Zend_Gdata_Health Provides a fluent interface
- */
- public function setProfileID($id) {
- $this->_profileID = $id;
- return $this;
- }
-
- /**
- * Retrieves the list of profiles associated with the user's ClientLogin
- * credentials.
- *
- * @param string $query The query of the feed as a URL or Query object
- * @return Zend_Gdata_Feed
- */
- public function getHealthProfileListFeed($query = null)
- {
- if ($this->_httpClient->getClientLoginToken() === null) {
- require_once 'Zend/Gdata/App/AuthException.php';
- throw new Zend_Gdata_App_AuthException(
- 'Profiles list feed is only available when using ClientLogin');
- }
-
- if($query === null) {
- $uri = self::CLIENTLOGIN_PROFILELIST_FEED_URI;
- } else if ($query instanceof Zend_Gdata_Query) {
- $uri = $query->getQueryUrl();
- } else {
- $uri = $query;
- }
-
- // use correct feed for /h9 or /health
- if ($this->_useH9Sandbox) {
- $uri = preg_replace('/\/health\//', '/h9/', $uri);
- }
-
- return parent::getFeed($uri, 'Zend_Gdata_Health_ProfileListFeed');
- }
-
- /**
- * Retrieve a user's profile as a feed object. If ClientLogin is used, the
- * profile associated with $this->_profileID is returned, otherwise
- * the profile associated with the AuthSub token is read.
- *
- * @param mixed $query The query for the feed, as a URL or Query
- * @return Zend_Gdata_Health_ProfileFeed
- */
- public function getHealthProfileFeed($query = null)
- {
- if ($this->_httpClient->getClientLoginToken() !== null &&
- $this->getProfileID() == null) {
- require_once 'Zend/Gdata/App/AuthException.php';
- throw new Zend_Gdata_App_AuthException(
- 'Profile ID must not be null. Did you call setProfileID()?');
- }
-
- if ($query instanceof Zend_Gdata_Query) {
- $uri = $query->getQueryUrl();
- } else if ($this->_httpClient->getClientLoginToken() !== null &&
- $query == null) {
- $uri = self::CLIENTLOGIN_PROFILE_FEED_URI . '/' . $this->getProfileID();
- } else if ($query === null) {
- $uri = self::AUTHSUB_PROFILE_FEED_URI;
- } else {
- $uri = $query;
- }
-
- // use correct feed for /h9 or /health
- if ($this->_useH9Sandbox) {
- $uri = preg_replace('/\/health\//', '/h9/', $uri);
- }
-
- return parent::getFeed($uri, 'Zend_Gdata_Health_ProfileFeed');
- }
-
- /**
- * Retrieve a profile entry object
- *
- * @param mixed $query The query for the feed, as a URL or Query
- * @return Zend_Gdata_Health_ProfileEntry
- */
- public function getHealthProfileEntry($query = null)
- {
- if ($query === null) {
- require_once 'Zend/Gdata/App/InvalidArgumentException.php';
- throw new Zend_Gdata_App_InvalidArgumentException(
- 'Query must not be null');
- } else if ($query instanceof Zend_Gdata_Query) {
- $uri = $query->getQueryUrl();
- } else {
- $uri = $query;
- }
- return parent::getEntry($uri, 'Zend_Gdata_Health_ProfileEntry');
- }
-
- /**
- * Posts a new notice using the register feed. This function constructs
- * the atom profile entry.
- *
- * @param string $subject The subject line of the notice
- * @param string $body The message body of the notice
- * @param string $bodyType The (optional) type of message body
- * (text, xhtml, html, etc.)
- * @param string $ccrXML The (optional) CCR to add to the user's profile
- * @return Zend_Gdata_Health_ProfileEntry
- */
- public function sendHealthNotice($subject, $body, $bodyType = null, $ccrXML = null)
- {
- if ($this->_httpClient->getClientLoginToken()) {
- $profileID = $this->getProfileID();
- if ($profileID !== null) {
- $uri = self::CLIENTLOGIN_REGISTER_FEED_URI . '/' . $profileID;
- } else {
- require_once 'Zend/Gdata/App/AuthException.php';
- throw new Zend_Gdata_App_AuthException(
- 'Profile ID must not be null. Did you call setProfileID()?');
- }
- } else {
- $uri = self::AUTHSUB_REGISTER_FEED_URI;
- }
-
- $entry = new Zend_Gdata_Health_ProfileEntry();
- $entry->title = $this->newTitle($subject);
- $entry->content = $this->newContent($body);
- $entry->content->type = $bodyType ? $bodyType : 'text';
- $entry->setCcr($ccrXML);
-
- // use correct feed for /h9 or /health
- if ($this->_useH9Sandbox) {
- $uri = preg_replace('/\/health\//', '/h9/', $uri);
- }
-
- return $this->insertEntry($entry, $uri, 'Zend_Gdata_Health_ProfileEntry');
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Health/Extension/Ccr.php
--- a/web/lib/Zend/Gdata/Health/Extension/Ccr.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Health/Extension/Ccr.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,12 +15,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ccr.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Ccr.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_App_Extension_Element
*/
require_once 'Zend/Gdata/App/Extension/Element.php';
@@ -31,15 +36,11 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Health_Extension_Ccr extends Zend_Gdata_App_Extension_Element
{
- protected $_rootNamespace = 'ccr';
- protected $_rootElement = 'ContinuityOfCareRecord';
- protected $_ccrDom = null;
-
/**
* Creates a Zend_Gdata_Health_Extension_Ccr entry, representing CCR data
*
@@ -48,77 +49,10 @@
*/
public function __construct($element = null)
{
- foreach (Zend_Gdata_Health::$namespaces as $nsPrefix => $nsUri) {
- $this->registerNamespace($nsPrefix, $nsUri);
- }
- }
-
- /**
- * Transfers each child and attribute into member variables.
- * This is called when XML is received over the wire and the data
- * model needs to be built to represent this XML.
- *
- * @param DOMNode $node The DOMNode that represents this object's data
- */
- public function transferFromDOM($node)
- {
- $this->_ccrDom = $node;
- }
-
- /**
- * 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, $majorVersion = 1, $minorVersion = null)
- {
- if ($doc === null) {
- $doc = new DOMDocument('1.0', 'utf-8');
- }
- $domElement = $doc->importNode($this->_ccrDom, true);
- return $domElement;
- }
-
- /**
- * Magic helper that allows drilling down and returning specific elements
- * in the CCR. For example, to retrieve the users medications
- * (/ContinuityOfCareRecord/Body/Medications) from the entry's CCR, call
- * $entry->getCcr()->getMedications(). Similarly, getConditions() would
- * return extract the user's conditions.
- *
- * @param string $name Name of the function to call
- * @param unknown $args
- * @return array. A list of the appropriate CCR data
- */
- public function __call($name, $args)
- {
- if (substr($name, 0, 3) === 'get') {
- $category = substr($name, 3);
-
- switch ($category) {
- case 'Conditions':
- $category = 'Problems';
- break;
- case 'Allergies':
- $category = 'Alerts';
- break;
- case 'TestResults':
- // TestResults is an alias for LabResults
- case 'LabResults':
- $category = 'Results';
- break;
- default:
- // $category is already well formatted
- }
-
- return $this->_ccrDom->getElementsByTagNameNS($this->lookupNamespace('ccr'), $category);
- } else {
- return null;
- }
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Health/ProfileEntry.php
--- a/web/lib/Zend/Gdata/Health/ProfileEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Health/ProfileEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,22 +16,22 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ProfileEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ProfileEntry.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Entry
*/
require_once 'Zend/Gdata/Entry.php';
/**
- * @see Zend_Gdata_Health_Extension_Ccr
- */
-require_once 'Zend/Gdata/Health/Extension/Ccr.php';
-
-/**
* Concrete class for working with Health profile entries.
*
* @link http://code.google.com/apis/health/
@@ -39,97 +39,21 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Health_ProfileEntry extends Zend_Gdata_Entry
{
/**
- * The classname for individual profile entry elements.
- *
- * @var string
- */
- protected $_entryClassName = 'Zend_Gdata_Health_ProfileEntry';
-
- /**
- * Google Health CCR data
- *
- * @var Zend_Gdata_Health_Extension_Ccr
- */
- protected $_ccrData = null;
-
- /**
* Constructs a new Zend_Gdata_Health_ProfileEntry object.
* @param DOMElement $element (optional) The DOMElement on which to base this object.
*/
public function __construct($element = null)
{
- foreach (Zend_Gdata_Health::$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, $majorVersion = 1, $minorVersion = null)
- {
- $element = parent::getDOM($doc, $majorVersion, $minorVersion);
- if ($this->_ccrData !== null) {
- $element->appendChild($this->_ccrData->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('ccr') . ':')) {
- $ccrElement = new Zend_Gdata_Health_Extension_Ccr();
- $ccrElement->transferFromDOM($child);
- $this->_ccrData = $ccrElement;
- } else {
- parent::takeChildFromDOM($child);
-
- }
- }
-
- /**
- * Sets the profile entry's CCR data
- * @param string $ccrXMLStr The CCR as an xml string
- * @return Zend_Gdata_Health_Extension_Ccr
- */
- public function setCcr($ccrXMLStr) {
- $ccrElement = null;
- if ($ccrXMLStr != null) {
- $ccrElement = new Zend_Gdata_Health_Extension_Ccr();
- $ccrElement->transferFromXML($ccrXMLStr);
- $this->_ccrData = $ccrElement;
- }
- return $ccrElement;
- }
-
-
- /**
- * Returns all the CCR data in a profile entry
- * @return Zend_Gdata_Health_Extension_Ccr
- */
- public function getCcr() {
- return $this->_ccrData;
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Health/ProfileFeed.php
--- a/web/lib/Zend/Gdata/Health/ProfileFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Health/ProfileFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,12 +16,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ProfileFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ProfileFeed.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Feed
*/
require_once 'Zend/Gdata/Feed.php';
@@ -34,19 +39,12 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Health_ProfileFeed extends Zend_Gdata_Feed
{
/**
- * The class name for individual profile feed elements.
- *
- * @var string
- */
- protected $_entryClassName = 'Zend_Gdata_Health_ProfileEntry';
-
- /**
* Creates a Health Profile feed, representing a user's Health profile
*
* @param DOMElement $element (optional) DOMElement from which this
@@ -54,14 +52,10 @@
*/
public function __construct($element = null)
{
- foreach (Zend_Gdata_Health::$namespaces as $nsPrefix => $nsUri) {
- $this->registerNamespace($nsPrefix, $nsUri);
- }
- parent::__construct($element);
- }
-
- public function getEntries()
- {
- return $this->entry;
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Health/ProfileListEntry.php
--- a/web/lib/Zend/Gdata/Health/ProfileListEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Health/ProfileListEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,12 +16,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ProfileListEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ProfileListEntry.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Entry
*/
require_once 'Zend/Gdata/Entry.php';
@@ -34,67 +39,21 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Health_ProfileListEntry extends Zend_Gdata_Entry
{
/**
- * The classname for individual profile list entry elements.
- *
- * @var string
- */
- protected $_entryClassName = 'Zend_Gdata_Health_ProfileListEntry';
-
- /**
* Constructs a new Zend_Gdata_Health_ProfileListEntry object.
* @param DOMElement $element (optional) The DOMElement on which to base this object.
*/
public function __construct($element = null)
{
- 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, $majorVersion = 1, $minorVersion = null)
- {
- $element = parent::getDOM($doc, $majorVersion, $minorVersion);
- return $element;
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
-
- /**
- * 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)
- {
- parent::takeChildFromDOM($child);
- }
-
- /**
- * Retrieves the profile ID for the entry, which is contained in
- * @return string The profile id
- */
- public function getProfileID() {
- return $this->getContent()->text;
- }
-
- /**
- * Retrieves the profile's title, which is contained in
- * @return string The profile name
- */
- public function getProfileName() {
- return $this->getTitle()->text;
- }
-
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Health/ProfileListFeed.php
--- a/web/lib/Zend/Gdata/Health/ProfileListFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Health/ProfileListFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,12 +16,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ProfileListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ProfileListFeed.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Feed
*/
require_once 'Zend/Gdata/Feed.php';
@@ -34,20 +39,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Health_ProfileListFeed extends Zend_Gdata_Feed
{
- /**
- * The class name for individual profile feed elements.
- *
- * @var string
- */
- protected $_entryClassName = 'Zend_Gdata_Health_ProfileListEntry';
-
- public function getEntries()
+ public function __construct($element = null)
{
- return $this->entry;
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Health/Query.php
--- a/web/lib/Zend/Gdata/Health/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Health/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,12 +16,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Query.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Query
*/
require_once('Zend/Gdata/Query.php');
@@ -34,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Health_Query extends Zend_Gdata_Query
@@ -55,231 +60,16 @@
* Namespace for an item category
*/
const ITEM_CATEGORY_NS = 'http://schemas.google.com/health/item';
-
- /**
- * The default URI for POST methods
- *
- * @var string
- */
- protected $_defaultFeedUri = self::HEALTH_PROFILE_FEED_URI;
-
- /**
- * Sets the digest parameter's value.
- *
- * @param string $value
- * @return Zend_Gdata_Health_Query Provides a fluent interface
- */
- public function setDigest($value)
- {
- if ($value !== null) {
- $this->_params['digest'] = $value;
- }
- return $this;
- }
-
- /**
- * Returns the digest parameter's value.
- *
- * @return string The value set for the digest parameter.
- */
- public function getDigest()
- {
- if (array_key_exists('digest', $this->_params)) {
- return $this->_params['digest'];
- } else {
- return null;
- }
- }
-
- /**
- * Setter for category queries.
- *
- * @param string $item A category to query.
- * @param string $name (optional) A specific item to search a category for.
- * An example would be 'Lipitor' if $item is set to 'medication'.
- * @return Zend_Gdata_Health_Query Provides a fluent interface
- */
- public function setCategory($item, $name = null)
- {
- $this->_category = $item .
- ($name ? '/' . urlencode('{' . self::ITEM_CATEGORY_NS . '}' . $name) : null);
- return $this;
- }
-
- /**
- * Returns the query object's category.
- *
- * @return string id
- */
- public function getCategory()
- {
- return $this->_category;
- }
-
- /**
- * Setter for the grouped parameter.
- *
- * @param string $value setting a count of results per group.
- * @return Zend_Gdata_Health_Query Provides a fluent interface
- */
- public function setGrouped($value)
- {
- if ($value !== null) {
- $this->_params['grouped'] = $value;
- }
- return $this;
- }
-
- /**
- * Returns the value set for the grouped parameter.
- *
- * @return string grouped parameter.
- */
- public function getGrouped()
- {
- if (array_key_exists('grouped', $this->_params)) {
- return $this->_params['grouped'];
- } else {
- return null;
- }
- }
-
- /**
- * Setter for the max-results-group parameter.
- *
- * @param int $value Specifies the maximum number of groups to be
- * retrieved. Must be an integer value greater than zero. This parameter
- * is only valid if grouped=true.
- * @return Zend_Gdata_Health_Query Provides a fluent interface
- */
- public function setMaxResultsGroup($value)
- {
- if ($value !== null) {
- if ($value <= 0 || $this->getGrouped() !== 'true') {
- require_once 'Zend/Gdata/App/InvalidArgumentException.php';
- throw new Zend_Gdata_App_InvalidArgumentException(
- 'The max-results-group parameter must be set to a value
- greater than 0 and can only be used if grouped=true');
- } else {
- $this->_params['max-results-group'] = $value;
- }
- }
- return $this;
- }
-
+
/**
- * Returns the value set for max-results-group.
- *
- * @return int Returns max-results-group parameter.
+ * Create Gdata_Query object
*/
- public function getMaxResultsGroup()
- {
- if (array_key_exists('max-results-group', $this->_params)) {
- return $this->_params['max-results-group'];
- } else {
- return null;
- }
- }
-
- /**
- * Setter for the max-results-group parameter.
- *
- * @param int $value Specifies the maximum number of records to be
- * retrieved from each group. The limits that you specify with this
- * parameter apply to all groups. Must be an integer value greater than
- * zero. This parameter is only valid if grouped=true.
- * @return Zend_Gdata_Health_Query Provides a fluent interface
- */
- public function setMaxResultsInGroup($value)
- {
- if ($value !== null) {
- if ($value <= 0 || $this->getGrouped() !== 'true') {
- throw new Zend_Gdata_App_InvalidArgumentException(
- 'The max-results-in-group parameter must be set to a value
- greater than 0 and can only be used if grouped=true');
- } else {
- $this->_params['max-results-in-group'] = $value;
- }
- }
- return $this;
- }
-
- /**
- * Returns the value set for max-results-in-group.
- *
- * @return int Returns max-results-in-group parameter.
- */
- public function getMaxResultsInGroup()
+ public function __construct($url = null)
{
- if (array_key_exists('max-results-in-group', $this->_params)) {
- return $this->_params['max-results-in-group'];
- } else {
- return null;
- }
- }
-
- /**
- * Setter for the start-index-group parameter.
- *
- * @param int $value Retrieves only items whose group ranking is at
- * least start-index-group. This should be set to a 1-based index of the
- * first group to be retrieved. The range is applied per category.
- * This parameter is only valid if grouped=true.
- * @return Zend_Gdata_Health_Query Provides a fluent interface
- */
- public function setStartIndexGroup($value)
- {
- if ($value !== null && $this->getGrouped() !== 'true') {
- throw new Zend_Gdata_App_InvalidArgumentException(
- 'The start-index-group can only be used if grouped=true');
- } else {
- $this->_params['start-index-group'] = $value;
- }
- return $this;
- }
-
- /**
- * Returns the value set for start-index-group.
- *
- * @return int Returns start-index-group parameter.
- */
- public function getStartIndexGroup()
- {
- if (array_key_exists('start-index-group', $this->_params)) {
- return $this->_params['start-index-group'];
- } else {
- return null;
- }
- }
-
- /**
- * Setter for the start-index-in-group parameter.
- *
- * @param int $value A 1-based index of the records to be retrieved from
- * each group. This parameter is only valid if grouped=true.
- * @return Zend_Gdata_Health_Query Provides a fluent interface
- */
- public function setStartIndexInGroup($value)
- {
- if ($value !== null && $this->getGrouped() !== 'true') {
- throw new Zend_Gdata_App_InvalidArgumentException('start-index-in-group');
- } else {
- $this->_params['start-index-in-group'] = $value;
- }
- return $this;
- }
-
- /**
- * Returns the value set for start-index-in-group.
- *
- * @return int Returns start-index-in-group parameter.
- */
- public function getStartIndexInGroup()
- {
- if (array_key_exists('start-index-in-group', $this->_params)) {
- return $this->_params['start-index-in-group'];
- } else {
- return null;
- }
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/HttpAdapterStreamingProxy.php
--- a/web/lib/Zend/Gdata/HttpAdapterStreamingProxy.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/HttpAdapterStreamingProxy.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HttpAdapterStreamingProxy.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HttpAdapterStreamingProxy.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_HttpAdapterStreamingProxy extends Zend_Http_Client_Adapter_Proxy
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/HttpAdapterStreamingSocket.php
--- a/web/lib/Zend/Gdata/HttpAdapterStreamingSocket.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/HttpAdapterStreamingSocket.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HttpAdapterStreamingSocket.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HttpAdapterStreamingSocket.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_HttpAdapterStreamingSocket extends Zend_Http_Client_Adapter_Socket
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/HttpClient.php
--- a/web/lib/Zend/Gdata/HttpClient.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/HttpClient.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HttpClient.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HttpClient.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_HttpClient extends Zend_Http_Client
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Kind/EventEntry.php
--- a/web/lib/Zend/Gdata/Kind/EventEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Kind/EventEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EventEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EventEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -92,7 +92,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Kind_EventEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media.php
--- a/web/lib/Zend/Gdata/Media.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Media.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Media.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Entry.php
--- a/web/lib/Zend/Gdata/Media/Entry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Entry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaCategory.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaCategory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaCategory.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaCategory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaCategory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaContent.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaContent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaContent.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaContent.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaContent.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaCopyright.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaCopyright.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaCopyright.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaCopyright.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaCopyright.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaCredit.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaCredit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaCredit.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaCredit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaCredit.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaDescription.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaDescription.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaDescription.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaDescription.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaDescription.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaGroup.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaGroup.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaGroup.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaGroup.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaGroup.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -106,7 +106,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaHash.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaHash.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaHash.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaHash.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaHash.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaKeywords.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaKeywords.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaKeywords.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaKeywords.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaKeywords.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaPlayer.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaPlayer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaPlayer.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaPlayer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaPlayer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaRating.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaRating.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaRating.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaRating.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaRating.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaRestriction.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaRestriction.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaRestriction.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaRestriction.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaRestriction.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaText.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaText.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaText.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaText.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaText.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -64,11 +64,11 @@
/**
* Constructs a new MediaText element
*
- * @param $text string
- * @param $type string
- * @param $lang string
- * @param $start string
- * @param $end string
+ * @param string $text
+ * @param string $type
+ * @param string $lang
+ * @param string $start
+ * @param string $end
*/
public function __construct($text = null, $type = null, $lang = null,
$start = null, $end = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaThumbnail.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaThumbnail.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaThumbnail.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaThumbnail.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaThumbnail.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Extension/MediaTitle.php
--- a/web/lib/Zend/Gdata/Media/Extension/MediaTitle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Extension/MediaTitle.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaTitle.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaTitle.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Media/Feed.php
--- a/web/lib/Zend/Gdata/Media/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Media/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/MediaMimeStream.php
--- a/web/lib/Zend/Gdata/MediaMimeStream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/MediaMimeStream.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaMimeStream.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaMimeStream.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_MediaMimeStream
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/MimeBodyString.php
--- a/web/lib/Zend/Gdata/MimeBodyString.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/MimeBodyString.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MimeBodyString.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MimeBodyString.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_MimeBodyString
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/MimeFile.php
--- a/web/lib/Zend/Gdata/MimeFile.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/MimeFile.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MimeFile.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MimeFile.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_MimeFile
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos.php
--- a/web/lib/Zend/Gdata/Photos.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Photos.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Photos.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -52,14 +52,14 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos extends Zend_Gdata
{
- const PICASA_BASE_URI = 'http://picasaweb.google.com/data';
- const PICASA_BASE_FEED_URI = 'http://picasaweb.google.com/data/feed';
+ const PICASA_BASE_URI = 'https://picasaweb.google.com/data';
+ const PICASA_BASE_FEED_URI = 'https://picasaweb.google.com/data/feed';
const AUTH_SERVICE_NAME = 'lh2';
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/AlbumEntry.php
--- a/web/lib/Zend/Gdata/Photos/AlbumEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/AlbumEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AlbumEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AlbumEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -98,7 +98,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/AlbumFeed.php
--- a/web/lib/Zend/Gdata/Photos/AlbumFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/AlbumFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AlbumFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AlbumFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -46,7 +46,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/AlbumQuery.php
--- a/web/lib/Zend/Gdata/Photos/AlbumQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/AlbumQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AlbumQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AlbumQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_AlbumQuery extends Zend_Gdata_Photos_UserQuery
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/CommentEntry.php
--- a/web/lib/Zend/Gdata/Photos/CommentEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/CommentEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CommentEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CommentEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -58,7 +58,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_CommentEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Access.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Access.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Access.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Access.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Access.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Access extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/AlbumId.php
--- a/web/lib/Zend/Gdata/Photos/Extension/AlbumId.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/AlbumId.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AlbumId.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AlbumId.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_AlbumId extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/BytesUsed.php
--- a/web/lib/Zend/Gdata/Photos/Extension/BytesUsed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/BytesUsed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BytesUsed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: BytesUsed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_BytesUsed extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Checksum.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Checksum.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Checksum.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Checksum.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Checksum.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Checksum extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Client.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Client.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Client.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Client.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Client.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Client extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/CommentCount.php
--- a/web/lib/Zend/Gdata/Photos/Extension/CommentCount.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/CommentCount.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CommentCount.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CommentCount.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_CommentCount extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/CommentingEnabled.php
--- a/web/lib/Zend/Gdata/Photos/Extension/CommentingEnabled.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/CommentingEnabled.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CommentingEnabled.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CommentingEnabled.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_CommentingEnabled extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Height.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Height.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Height.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Height.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Height.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Height extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Id.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Id.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Id.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Id.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Id.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Id extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Location.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Location.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Location.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Location.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Location.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Location extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/MaxPhotosPerAlbum.php
--- a/web/lib/Zend/Gdata/Photos/Extension/MaxPhotosPerAlbum.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/MaxPhotosPerAlbum.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MaxPhotosPerAlbum.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MaxPhotosPerAlbum.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_MaxPhotosPerAlbum extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Name.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Name.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Name.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Name.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Name.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Name extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Nickname.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Nickname.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Nickname.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Nickname.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Nickname.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Nickname extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/NumPhotos.php
--- a/web/lib/Zend/Gdata/Photos/Extension/NumPhotos.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/NumPhotos.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NumPhotos.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NumPhotos.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_NumPhotos extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/NumPhotosRemaining.php
--- a/web/lib/Zend/Gdata/Photos/Extension/NumPhotosRemaining.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/NumPhotosRemaining.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NumPhotosRemaining.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NumPhotosRemaining.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_NumPhotosRemaining extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/PhotoId.php
--- a/web/lib/Zend/Gdata/Photos/Extension/PhotoId.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/PhotoId.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PhotoId.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PhotoId.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_PhotoId extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Position.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Position.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Position.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Position.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Position.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Position extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/QuotaCurrent.php
--- a/web/lib/Zend/Gdata/Photos/Extension/QuotaCurrent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/QuotaCurrent.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: QuotaCurrent.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: QuotaCurrent.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_QuotaCurrent extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/QuotaLimit.php
--- a/web/lib/Zend/Gdata/Photos/Extension/QuotaLimit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/QuotaLimit.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: QuotaLimit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: QuotaLimit.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_QuotaLimit extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Rotation.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Rotation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Rotation.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rotation.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rotation.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Rotation extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Size.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Size.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Size.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Size.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Size.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Size extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Thumbnail.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Thumbnail.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Thumbnail.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Thumbnail.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Thumbnail.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Thumbnail extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Timestamp.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Timestamp.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Timestamp.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Timestamp.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Timestamp.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Timestamp extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/User.php
--- a/web/lib/Zend/Gdata/Photos/Extension/User.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/User.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: User.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: User.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_User extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Version.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Version.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Version.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Version.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Version.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Version extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Weight.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Weight.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Weight.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Weight.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Weight.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Weight extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/Extension/Width.php
--- a/web/lib/Zend/Gdata/Photos/Extension/Width.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/Extension/Width.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Width.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Width.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_Extension_Width extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/PhotoEntry.php
--- a/web/lib/Zend/Gdata/Photos/PhotoEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/PhotoEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PhotoEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PhotoEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -113,7 +113,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/PhotoFeed.php
--- a/web/lib/Zend/Gdata/Photos/PhotoFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/PhotoFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PhotoFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PhotoFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -46,7 +46,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_PhotoFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/PhotoQuery.php
--- a/web/lib/Zend/Gdata/Photos/PhotoQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/PhotoQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PhotoQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PhotoQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_PhotoQuery extends Zend_Gdata_Photos_AlbumQuery
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/TagEntry.php
--- a/web/lib/Zend/Gdata/Photos/TagEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/TagEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TagEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TagEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -48,7 +48,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_TagEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/UserEntry.php
--- a/web/lib/Zend/Gdata/Photos/UserEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/UserEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UserEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -78,7 +78,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/UserFeed.php
--- a/web/lib/Zend/Gdata/Photos/UserFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/UserFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UserFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -66,7 +66,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Photos/UserQuery.php
--- a/web/lib/Zend/Gdata/Photos/UserQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Photos/UserQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UserQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_UserQuery extends Zend_Gdata_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Query.php
--- a/web/lib/Zend/Gdata/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Query.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Query
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets.php
--- a/web/lib/Zend/Gdata/Spreadsheets.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Spreadsheets.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Spreadsheets.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -89,13 +89,13 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets extends Zend_Gdata
{
- const SPREADSHEETS_FEED_URI = 'http://spreadsheets.google.com/feeds/spreadsheets';
- const SPREADSHEETS_POST_URI = 'http://spreadsheets.google.com/feeds/spreadsheets/private/full';
+ const SPREADSHEETS_FEED_URI = 'https://spreadsheets.google.com/feeds/spreadsheets';
+ const SPREADSHEETS_POST_URI = 'https://spreadsheets.google.com/feeds/spreadsheets/private/full';
const WORKSHEETS_FEED_LINK_URI = 'http://schemas.google.com/spreadsheets/2006#worksheetsfeed';
const LIST_FEED_LINK_URI = 'http://schemas.google.com/spreadsheets/2006#listfeed';
const CELL_FEED_LINK_URI = 'http://schemas.google.com/spreadsheets/2006#cellsfeed';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/CellEntry.php
--- a/web/lib/Zend/Gdata/Spreadsheets/CellEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/CellEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CellEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CellEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_CellEntry extends Zend_Gdata_Entry
@@ -92,7 +92,8 @@
/**
* Sets the Cell element of this Cell Entry.
- * @param $cell Zend_Gdata_Spreadsheets_Extension_Cell $cell
+ * @param Zend_Gdata_Spreadsheets_Extension_Cell $cell
+ * @return Zend_Gdata_Spreadsheets_CellEntry
*/
public function setCell($cell)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/CellFeed.php
--- a/web/lib/Zend/Gdata/Spreadsheets/CellFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/CellFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CellFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CellFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_CellFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/CellQuery.php
--- a/web/lib/Zend/Gdata/Spreadsheets/CellQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/CellQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CellQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CellQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,13 +39,13 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_CellQuery extends Zend_Gdata_Query
{
- const SPREADSHEETS_CELL_FEED_URI = 'http://spreadsheets.google.com/feeds/cells';
+ const SPREADSHEETS_CELL_FEED_URI = 'https://spreadsheets.google.com/feeds/cells';
protected $_defaultFeedUri = self::SPREADSHEETS_CELL_FEED_URI;
protected $_visibility = 'private';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/DocumentQuery.php
--- a/web/lib/Zend/Gdata/Spreadsheets/DocumentQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/DocumentQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DocumentQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DocumentQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,13 +39,13 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_DocumentQuery extends Zend_Gdata_Query
{
- const SPREADSHEETS_FEED_URI = 'http://spreadsheets.google.com/feeds';
+ const SPREADSHEETS_FEED_URI = 'https://spreadsheets.google.com/feeds';
protected $_defaultFeedUri = self::SPREADSHEETS_FEED_URI;
protected $_documentType;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/Extension/Cell.php
--- a/web/lib/Zend/Gdata/Spreadsheets/Extension/Cell.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/Extension/Cell.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cell.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cell.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_Extension_Cell extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/Extension/ColCount.php
--- a/web/lib/Zend/Gdata/Spreadsheets/Extension/ColCount.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/Extension/ColCount.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ColCount.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ColCount.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_Extension_ColCount extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/Extension/Custom.php
--- a/web/lib/Zend/Gdata/Spreadsheets/Extension/Custom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/Extension/Custom.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Custom.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Custom.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_Extension_Custom extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/Extension/RowCount.php
--- a/web/lib/Zend/Gdata/Spreadsheets/Extension/RowCount.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/Extension/RowCount.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RowCount.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RowCount.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_Extension_RowCount extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/ListEntry.php
--- a/web/lib/Zend/Gdata/Spreadsheets/ListEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/ListEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ListEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ListEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_ListEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/ListFeed.php
--- a/web/lib/Zend/Gdata/Spreadsheets/ListFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/ListFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ListFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_ListFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/ListQuery.php
--- a/web/lib/Zend/Gdata/Spreadsheets/ListQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/ListQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ListQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ListQuery.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,13 +39,13 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_ListQuery extends Zend_Gdata_Query
{
- const SPREADSHEETS_LIST_FEED_URI = 'http://spreadsheets.google.com/feeds/list';
+ const SPREADSHEETS_LIST_FEED_URI = 'https://spreadsheets.google.com/feeds/list';
protected $_defaultFeedUri = self::SPREADSHEETS_LIST_FEED_URI;
protected $_visibility = 'private';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/SpreadsheetEntry.php
--- a/web/lib/Zend/Gdata/Spreadsheets/SpreadsheetEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/SpreadsheetEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SpreadsheetEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SpreadsheetEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_SpreadsheetEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/SpreadsheetFeed.php
--- a/web/lib/Zend/Gdata/Spreadsheets/SpreadsheetFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/SpreadsheetFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SpreadsheetFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SpreadsheetFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_SpreadsheetFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/WorksheetEntry.php
--- a/web/lib/Zend/Gdata/Spreadsheets/WorksheetEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/WorksheetEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: WorksheetEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: WorksheetEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_WorksheetEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/Spreadsheets/WorksheetFeed.php
--- a/web/lib/Zend/Gdata/Spreadsheets/WorksheetFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Spreadsheets/WorksheetFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: WorksheetFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: WorksheetFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Spreadsheets_WorksheetFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube.php
--- a/web/lib/Zend/Gdata/YouTube.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: YouTube.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: YouTube.php 24796 2012-05-12 03:34:26Z adamlundrigan $
*/
/**
@@ -79,7 +79,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube extends Zend_Gdata_Media
@@ -88,22 +88,22 @@
const AUTH_SERVICE_NAME = 'youtube';
const CLIENTLOGIN_URL = 'https://www.google.com/youtube/accounts/ClientLogin';
- const STANDARD_TOP_RATED_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
- const STANDARD_MOST_VIEWED_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
- const STANDARD_RECENTLY_FEATURED_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
- const STANDARD_WATCH_ON_MOBILE_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
+ const STANDARD_TOP_RATED_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
+ const STANDARD_MOST_VIEWED_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
+ const STANDARD_RECENTLY_FEATURED_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
+ const STANDARD_WATCH_ON_MOBILE_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
const STANDARD_TOP_RATED_URI_V2 =
- 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
const STANDARD_MOST_VIEWED_URI_V2 =
- 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
const STANDARD_RECENTLY_FEATURED_URI_V2 =
- 'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
const STANDARD_WATCH_ON_MOBILE_URI_V2 =
- 'http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
- const USER_URI = 'http://gdata.youtube.com/feeds/api/users';
- const VIDEO_URI = 'http://gdata.youtube.com/feeds/api/videos';
+ const USER_URI = 'https://gdata.youtube.com/feeds/api/users';
+ const VIDEO_URI = 'https://gdata.youtube.com/feeds/api/videos';
const PLAYLIST_REL = 'http://gdata.youtube.com/schemas/2007#playlist';
const USER_UPLOADS_REL = 'http://gdata.youtube.com/schemas/2007#user.uploads';
const USER_PLAYLISTS_REL = 'http://gdata.youtube.com/schemas/2007#user.playlists';
@@ -113,9 +113,9 @@
const VIDEO_RESPONSES_REL = 'http://gdata.youtube.com/schemas/2007#video.responses';
const VIDEO_RATINGS_REL = 'http://gdata.youtube.com/schemas/2007#video.ratings';
const VIDEO_COMPLAINTS_REL = 'http://gdata.youtube.com/schemas/2007#video.complaints';
- const ACTIVITY_FEED_URI = 'http://gdata.youtube.com/feeds/api/events';
+ const ACTIVITY_FEED_URI = 'https://gdata.youtube.com/feeds/api/events';
const FRIEND_ACTIVITY_FEED_URI =
- 'http://gdata.youtube.com/feeds/api/users/default/friendsactivity';
+ 'https://gdata.youtube.com/feeds/api/users/default/friendsactivity';
/**
* The URI of the in-reply-to schema for comments in reply to
@@ -132,7 +132,7 @@
* @var string
*/
const INBOX_FEED_URI =
- 'http://gdata.youtube.com/feeds/api/users/default/inbox';
+ 'https://gdata.youtube.com/feeds/api/users/default/inbox';
/**
* The maximum number of users for which activity can be requested for,
@@ -256,7 +256,7 @@
if ($location == null) {
$uri = self::VIDEO_URI;
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -286,7 +286,7 @@
$uri = self::VIDEO_URI . "/" . $videoId;
}
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -324,7 +324,7 @@
$uri = self::VIDEO_URI . "/" . $videoId . "/" .
self::RELATED_URI_SUFFIX;
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -346,7 +346,7 @@
$uri = self::VIDEO_URI . "/" . $videoId . "/" .
self::RESPONSES_URI_SUFFIX;
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -367,7 +367,7 @@
if ($videoId !== null) {
$uri = self::VIDEO_URI . "/" . $videoId . "/comments";
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -398,7 +398,7 @@
$location->setFeedType('top rated');
}
}
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -430,7 +430,7 @@
$location->setFeedType('most viewed');
}
}
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -461,7 +461,7 @@
$location->setFeedType('recently featured');
}
}
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -493,7 +493,7 @@
$location->setFeedType('watch on mobile');
}
}
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -513,7 +513,7 @@
if ($user !== null) {
$uri = self::USER_URI . '/' . $user . '/playlists';
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -531,7 +531,7 @@
public function getPlaylistVideoFeed($location)
{
if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -551,7 +551,7 @@
if ($user !== null) {
$uri = self::USER_URI . '/' . $user . '/subscriptions';
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -571,7 +571,7 @@
if ($user !== null) {
$uri = self::USER_URI . '/' . $user . '/contacts';
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -592,7 +592,7 @@
$uri = self::USER_URI . '/' . $user . '/' .
self::UPLOADS_URI_SUFFIX;
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -613,7 +613,7 @@
$uri = self::USER_URI . '/' . $user . '/' .
self::FAVORITES_URI_SUFFIX;
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -633,7 +633,7 @@
if ($user !== null) {
$uri = self::USER_URI . '/' . $user;
} else if ($location instanceof Zend_Gdata_Query) {
- $uri = $location->getQueryUrl();
+ $uri = $location->getQueryUrl($this->getMajorProtocolVersion());
} else {
$uri = $location;
}
@@ -697,7 +697,7 @@
* @return array An array containing a token and URL
*/
public function getFormUploadToken($videoEntry,
- $url='http://gdata.youtube.com/action/GetUploadToken')
+ $url='https://gdata.youtube.com/action/GetUploadToken')
{
if ($url != null && is_string($url)) {
// $response is a Zend_Http_response object
@@ -729,7 +729,7 @@
$uri = null;
if ($username instanceof Zend_Gdata_Query) {
- $uri = $username->getQueryUrl();
+ $uri = $username->getQueryUrl($this->getMajorProtocolVersion());
} else {
if (count(explode(',', $username)) >
self::ACTIVITY_FEED_MAX_USERS) {
@@ -834,7 +834,7 @@
$messageEntry->setSummary($this->newSummary($body));
}
- $insertUrl = 'http://gdata.youtube.com/feeds/api/users/' .
+ $insertUrl = 'https://gdata.youtube.com/feeds/api/users/' .
$recipientUserName . '/inbox';
$response = $this->insertEntry($messageEntry, $insertUrl,
'Zend_Gdata_YouTube_InboxEntry');
@@ -844,11 +844,11 @@
/**
* Post a comment in reply to an existing comment
*
- * @param $commentEntry Zend_Gdata_YouTube_CommentEntry The comment entry
- * to reply to
- * @param $commentText string The text of the comment to post
- * @return A Zend_Gdata_YouTube_CommentEntry representing the posted
- * comment
+ * @param Zend_Gdata_YouTube_CommentEntry $commentEntry The comment entry
+ * to reply to
+ * @param string $commentText The text of the
+ * comment to post
+ * @return Zend_Gdata_YouTube_CommentEntry the posted comment
*/
public function replyToCommentEntry($commentEntry, $commentText)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/ActivityEntry.php
--- a/web/lib/Zend/Gdata/YouTube/ActivityEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/ActivityEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActivityEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActivityEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -49,7 +49,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_ActivityEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/ActivityFeed.php
--- a/web/lib/Zend/Gdata/YouTube/ActivityFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/ActivityFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActivityFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActivityFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_ActivityFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/CommentEntry.php
--- a/web/lib/Zend/Gdata/YouTube/CommentEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/CommentEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CommentEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CommentEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_CommentEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/CommentFeed.php
--- a/web/lib/Zend/Gdata/YouTube/CommentFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/CommentFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CommentFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CommentFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_CommentFeed extends Zend_Gdata_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/ContactEntry.php
--- a/web/lib/Zend/Gdata/YouTube/ContactEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/ContactEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ContactEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ContactEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_ContactEntry extends Zend_Gdata_YouTube_UserProfileEntry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/ContactFeed.php
--- a/web/lib/Zend/Gdata/YouTube/ContactFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/ContactFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ContactFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ContactFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_ContactFeed extends Zend_Gdata_Media_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/AboutMe.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/AboutMe.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/AboutMe.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AboutMe.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AboutMe.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_AboutMe extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Age.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Age.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Age.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Age.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Age.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Age extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Books.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Books.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Books.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Books.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Books.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Books extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Company.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Company.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Company.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Company.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Company.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Company extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Control.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Control.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Control.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Control.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Control.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Control extends Zend_Gdata_App_Extension_Control
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/CountHint.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/CountHint.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/CountHint.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CountHint.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CountHint.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_CountHint extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Description.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Description.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Description.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Description.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Description.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Description extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Duration.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Duration.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Duration.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Duration.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Duration.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Duration extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/FirstName.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/FirstName.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/FirstName.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FirstName.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FirstName.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_FirstName extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Gender.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Gender.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Gender.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Gender.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Gender.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Gender extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Hobbies.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Hobbies.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Hobbies.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hobbies.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Hobbies.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Hobbies extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Hometown.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Hometown.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Hometown.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hometown.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Hometown.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Hometown extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/LastName.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/LastName.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/LastName.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LastName.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: LastName.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_LastName extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Link.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Link.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Link.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Link.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Link.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Link extends Zend_Gdata_App_Extension_Link
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Location.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Location.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Location.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Location.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Location.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Location extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/MediaContent.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/MediaContent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/MediaContent.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaContent.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaContent.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_MediaContent extends Zend_Gdata_Media_Extension_MediaContent
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/MediaCredit.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/MediaCredit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/MediaCredit.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaCredit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaCredit.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_MediaCredit extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/MediaGroup.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/MediaGroup.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/MediaGroup.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaGroup.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaGroup.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -70,7 +70,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_MediaGroup extends Zend_Gdata_Media_Extension_MediaGroup
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/MediaRating.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/MediaRating.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/MediaRating.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Media
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaRating.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaRating.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_MediaRating extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Movies.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Movies.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Movies.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Movies.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Movies.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Movies extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Music.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Music.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Music.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Music.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Music.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Music extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/NoEmbed.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/NoEmbed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/NoEmbed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NoEmbed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NoEmbed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_NoEmbed extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Occupation.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Occupation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Occupation.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Occupation.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Occupation.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Occupation extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/PlaylistId.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/PlaylistId.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/PlaylistId.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlaylistId.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlaylistId.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_PlaylistId extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/PlaylistTitle.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/PlaylistTitle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/PlaylistTitle.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlaylistTitle.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlaylistTitle.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_PlaylistTitle extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Position.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Position.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Position.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Position.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Position.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Position extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Private.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Private.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Private.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Private.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Private.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Private extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/QueryString.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/QueryString.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/QueryString.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: QueryString.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: QueryString.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_QueryString extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Racy.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Racy.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Racy.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Racy.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Racy.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Racy extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Recorded.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Recorded.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Recorded.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Recorded.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Recorded.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Recorded extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Relationship.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Relationship.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Relationship.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Relationship.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Relationship.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Relationship extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/ReleaseDate.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/ReleaseDate.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/ReleaseDate.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ReleaseDate.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ReleaseDate.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_ReleaseDate extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/School.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/School.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/School.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: School.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: School.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_School extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/State.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/State.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/State.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: State.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: State.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_State extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Statistics.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Statistics.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Statistics.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Statistics.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Statistics.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Statistics extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Status.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Status.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Status.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Status.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Status.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Status extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Token.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Token.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Token.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Token.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Token.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Token extends Zend_Gdata_App_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Uploaded.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Uploaded.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Uploaded.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Uploaded.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Uploaded.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Uploaded extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/Username.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/Username.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/Username.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Username.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Username.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_Username extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/Extension/VideoId.php
--- a/web/lib/Zend/Gdata/YouTube/Extension/VideoId.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/Extension/VideoId.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VideoId.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VideoId.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_Extension_VideoId extends Zend_Gdata_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/InboxEntry.php
--- a/web/lib/Zend/Gdata/YouTube/InboxEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/InboxEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: InboxEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: InboxEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -53,7 +53,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_InboxEntry extends Zend_Gdata_Media_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/InboxFeed.php
--- a/web/lib/Zend/Gdata/YouTube/InboxFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/InboxFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: InboxFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: InboxFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_InboxFeed extends Zend_Gdata_Media_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/MediaEntry.php
--- a/web/lib/Zend/Gdata/YouTube/MediaEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/MediaEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MediaEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: MediaEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_MediaEntry extends Zend_Gdata_Media_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/PlaylistListEntry.php
--- a/web/lib/Zend/Gdata/YouTube/PlaylistListEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/PlaylistListEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlaylistListEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlaylistListEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -57,7 +57,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_PlaylistListEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/PlaylistListFeed.php
--- a/web/lib/Zend/Gdata/YouTube/PlaylistListFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/PlaylistListFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlaylistListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlaylistListFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_PlaylistListFeed extends Zend_Gdata_Media_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/PlaylistVideoEntry.php
--- a/web/lib/Zend/Gdata/YouTube/PlaylistVideoEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/PlaylistVideoEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlaylistVideoEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlaylistVideoEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_PlaylistVideoEntry extends Zend_Gdata_YouTube_VideoEntry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/PlaylistVideoFeed.php
--- a/web/lib/Zend/Gdata/YouTube/PlaylistVideoFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/PlaylistVideoFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlaylistVideoFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlaylistVideoFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_PlaylistVideoFeed extends Zend_Gdata_Media_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/SubscriptionEntry.php
--- a/web/lib/Zend/Gdata/YouTube/SubscriptionEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/SubscriptionEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubscriptionEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SubscriptionEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -72,7 +72,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_SubscriptionEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/SubscriptionFeed.php
--- a/web/lib/Zend/Gdata/YouTube/SubscriptionFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/SubscriptionFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubscriptionFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SubscriptionFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_SubscriptionFeed extends Zend_Gdata_Media_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/UserProfileEntry.php
--- a/web/lib/Zend/Gdata/YouTube/UserProfileEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/UserProfileEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserProfileEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UserProfileEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -132,7 +132,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_UserProfileEntry extends Zend_Gdata_Entry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/VideoEntry.php
--- a/web/lib/Zend/Gdata/YouTube/VideoEntry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/VideoEntry.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VideoEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VideoEntry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -92,7 +92,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_VideoEntry extends Zend_Gdata_YouTube_MediaEntry
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/VideoFeed.php
--- a/web/lib/Zend/Gdata/YouTube/VideoFeed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/VideoFeed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VideoFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: VideoFeed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_VideoFeed extends Zend_Gdata_Media_Feed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Gdata/YouTube/VideoQuery.php
--- a/web/lib/Zend/Gdata/YouTube/VideoQuery.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/YouTube/VideoQuery.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VideoQuery.php 20097 2010-01-06 15:40:27Z bate $
+ * @version $Id: VideoQuery.php 25185 2013-01-08 08:07:08Z frosch $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage YouTube
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_YouTube_VideoQuery extends Zend_Gdata_Query
@@ -92,7 +92,7 @@
'Video ID must be set for feed of type: ' . $feedType);
} else {
$this->_url = Zend_Gdata_YouTube::VIDEO_URI . '/' . $videoId .
- 'responses';
+ '/responses';
}
break;
case 'comments':
@@ -102,7 +102,7 @@
'Video ID must be set for feed of type: ' . $feedType);
} else {
$this->_url = Zend_Gdata_YouTube::VIDEO_URI . '/' .
- $videoId . 'comments';
+ $videoId . '/comments';
if ($entry !== null) {
$this->_url .= '/' . $entry;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client.php
--- a/web/lib/Zend/Http/Client.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client
- * @version $Id: Client.php 23443 2010-11-24 11:53:13Z shahar $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Client.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -60,7 +60,7 @@
* @package Zend_Http
* @subpackage Client
* @throws Zend_Http_Client_Exception
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Client
@@ -103,6 +103,12 @@
const ENC_FORMDATA = 'multipart/form-data';
/**
+ * Value types for Body key/value pairs
+ */
+ const VTYPE_SCALAR = 'SCALAR';
+ const VTYPE_FILE = 'FILE';
+
+ /**
* Configuration array, set using the constructor or using ::setConfig()
*
* @var array
@@ -203,6 +209,16 @@
protected $files = array();
/**
+ * Ordered list of keys from key/value pair data to include in body
+ *
+ * An associative array, where each element is of the format:
+ * '' => VTYPE_SCALAR | VTYPE_FILE
+ *
+ * @var array
+ */
+ protected $body_field_order = array();
+
+ /**
* The client's cookie jar
*
* @var Zend_Http_CookieJar
@@ -231,6 +247,20 @@
protected $redirectCounter = 0;
/**
+ * Status for unmasking GET array params
+ *
+ * @var boolean
+ */
+ protected $_unmaskStatus = false;
+
+ /**
+ * Status if the http_build_query function escapes brackets
+ *
+ * @var boolean
+ */
+ protected $_queryBracketsEscaped = true;
+
+ /**
* Fileinfo magic database resource
*
* This variable is populated the first time _detectFileMimeType is called
@@ -255,6 +285,8 @@
if ($config !== null) {
$this->setConfig($config);
}
+
+ $this->_queryBracketsEscaped = version_compare(phpversion(), '5.1.3', '>=');
}
/**
@@ -266,7 +298,10 @@
*/
public function setUri($uri)
{
- if (is_string($uri)) {
+ if ($uri instanceof Zend_Uri_Http) {
+ // clone the URI in order to keep the passed parameter constant
+ $uri = clone $uri;
+ } elseif (is_string($uri)) {
$uri = Zend_Uri::factory($uri);
}
@@ -355,7 +390,7 @@
throw new Zend_Http_Client_Exception("'{$method}' is not a valid HTTP request method.");
}
- if ($method == self::POST && $this->enctype === null) {
+ if (($method == self::POST || $method == self::PUT || $method == self::DELETE) && $this->enctype === null) {
$this->setEncType(self::ENC_URLENCODED);
}
@@ -501,6 +536,12 @@
break;
case 'post':
$parray = &$this->paramsPost;
+ if ( $value === null ) {
+ if (isset($this->body_field_order[$name]))
+ unset($this->body_field_order[$name]);
+ } else {
+ $this->body_field_order[$name] = self::VTYPE_SCALAR;
+ }
break;
}
@@ -718,6 +759,8 @@
'ctype' => $ctype,
'data' => $data
);
+
+ $this->body_field_order[$formname] = self::VTYPE_FILE;
return $this;
}
@@ -764,6 +807,35 @@
}
/**
+ * Set the unmask feature for GET parameters as array
+ *
+ * Example:
+ * foo%5B0%5D=a&foo%5B1%5D=b
+ * becomes
+ * foo=a&foo=b
+ *
+ * This is usefull for some services
+ *
+ * @param boolean $status
+ * @return Zend_Http_Client
+ */
+ public function setUnmaskStatus($status = true)
+ {
+ $this->_unmaskStatus = (BOOL)$status;
+ return $this;
+ }
+
+ /**
+ * Returns the currently configured unmask status
+ *
+ * @return boolean
+ */
+ public function getUnmaskStatus()
+ {
+ return $this->_unmaskStatus;
+ }
+
+ /**
* Clear all GET and POST parameters
*
* Should be used to reset the request parameters if the client is
@@ -782,6 +854,7 @@
$this->paramsPost = array();
$this->files = array();
$this->raw_post_data = null;
+ $this->enctype = null;
if($clearAll) {
$this->headers = array();
@@ -866,6 +939,10 @@
*/
public function getAdapter()
{
+ if (null === $this->adapter) {
+ $this->setAdapter($this->config['adapter']);
+ }
+
return $this->adapter;
}
@@ -911,10 +988,10 @@
require_once 'Zend/Http/Client/Exception.php';
throw new Zend_Http_Client_Exception("Could not open temp file {$this->_stream_name}");
}
-
+
return $fp;
}
-
+
/**
* Send the HTTP request and return an HTTP response object
*
@@ -955,6 +1032,15 @@
$query = str_replace('+', '%20', $query);
}
+ // @see ZF-11671 to unmask for some services to foo=val1&foo=val2
+ if ($this->getUnmaskStatus()) {
+ if ($this->_queryBracketsEscaped) {
+ $query = preg_replace('/%5B(?:[0-9]|[1-9][0-9]+)%5D=/', '=', $query);
+ } else {
+ $query = preg_replace('/\\[(?:[0-9]|[1-9][0-9]+)\\]=/', '=', $query);
+ }
+ }
+
$uri->setQuery($query);
}
@@ -994,7 +1080,10 @@
}
if($this->config['output_stream']) {
- rewind($stream);
+ $streamMetaData = stream_get_meta_data($stream);
+ if ($streamMetaData['seekable']) {
+ rewind($stream);
+ }
// cleanup the adapter
$this->adapter->setOutputStream(null);
$response = Zend_Http_Response_Stream::fromStream($response, $stream);
@@ -1019,6 +1108,10 @@
// If we got redirected, look for the Location header
if ($response->isRedirect() && ($location = $response->getHeader('location'))) {
+ // Avoid problems with buggy servers that add whitespace at the
+ // end of some headers (See ZF-11283)
+ $location = trim($location);
+
// Check whether we send the exact same request again, or drop the parameters
// and send a GET request
if ($response->getStatus() == 303 ||
@@ -1030,7 +1123,7 @@
}
// If we got a well formed absolute URI
- if (Zend_Uri_Http::check($location)) {
+ if (($scheme = substr($location, 0, 6)) && ($scheme == 'http:/' || $scheme == 'https:')) {
$this->setHeaders('host', null);
$this->setUri($location);
@@ -1198,16 +1291,30 @@
$boundary = '---ZENDHTTPCLIENT-' . md5(microtime());
$this->setHeaders(self::CONTENT_TYPE, self::ENC_FORMDATA . "; boundary={$boundary}");
- // Get POST parameters and encode them
- $params = self::_flattenParametersArray($this->paramsPost);
- foreach ($params as $pp) {
- $body .= self::encodeFormData($boundary, $pp[0], $pp[1]);
- }
-
- // Encode files
- foreach ($this->files as $file) {
- $fhead = array(self::CONTENT_TYPE => $file['ctype']);
- $body .= self::encodeFormData($boundary, $file['formname'], $file['data'], $file['filename'], $fhead);
+ // Encode all files and POST vars in the order they were given
+ foreach ($this->body_field_order as $fieldName=>$fieldType) {
+ switch ($fieldType) {
+ case self::VTYPE_FILE:
+ foreach ($this->files as $file) {
+ if ($file['formname']===$fieldName) {
+ $fhead = array(self::CONTENT_TYPE => $file['ctype']);
+ $body .= self::encodeFormData($boundary, $file['formname'], $file['data'], $file['filename'], $fhead);
+ }
+ }
+ break;
+ case self::VTYPE_SCALAR:
+ if (isset($this->paramsPost[$fieldName])) {
+ if (is_array($this->paramsPost[$fieldName])) {
+ $flattened = self::_flattenParametersArray($this->paramsPost[$fieldName], $fieldName);
+ foreach ($flattened as $pp) {
+ $body .= self::encodeFormData($boundary, $pp[0], $pp[1]);
+ }
+ } else {
+ $body .= self::encodeFormData($boundary, $fieldName, $this->paramsPost[$fieldName]);
+ }
+ }
+ break;
+ }
}
$body .= "--{$boundary}--\r\n";
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Adapter/Curl.php
--- a/web/lib/Zend/Http/Client/Adapter/Curl.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Adapter/Curl.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @version $Id: Curl.php 22216 2010-05-20 21:12:05Z dragonbe $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Curl.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Client_Adapter_Curl implements Zend_Http_Client_Adapter_Interface, Zend_Http_Client_Adapter_Stream
@@ -334,7 +334,7 @@
$curlMethod = CURLOPT_CUSTOMREQUEST;
$curlValue = "TRACE";
break;
-
+
case Zend_Http_Client::HEAD:
$curlMethod = CURLOPT_CUSTOMREQUEST;
$curlValue = "HEAD";
@@ -393,6 +393,9 @@
} elseif ($method == Zend_Http_Client::PUT) {
// This is a PUT by a setRawData string, not by file-handle
curl_setopt($this->_curl, CURLOPT_POSTFIELDS, $body);
+ } elseif ($method == Zend_Http_Client::DELETE) {
+ // This is a DELETE by a setRawData string
+ curl_setopt($this->_curl, CURLOPT_POSTFIELDS, $body);
}
// set additional curl options
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Adapter/Exception.php
--- a/web/lib/Zend/Http/Client/Adapter/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Adapter/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter_Exception
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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 -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Adapter/Interface.php
--- a/web/lib/Zend/Http/Client/Adapter/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Adapter/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Http_Client_Adapter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Adapter/Proxy.php
--- a/web/lib/Zend/Http/Client/Adapter/Proxy.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Adapter/Proxy.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @version $Id: Proxy.php 21792 2010-04-08 00:27:06Z stas $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Proxy.php 25273 2013-03-06 08:02:21Z frosch $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -46,7 +46,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -66,7 +66,7 @@
'proxy_user' => '',
'proxy_pass' => '',
'proxy_auth' => Zend_Http_Client::AUTH_BASIC,
- 'persistent' => false
+ 'persistent' => false,
);
/**
@@ -75,6 +75,13 @@
* @var boolean
*/
protected $negotiated = false;
+
+ /**
+ * Stores the last CONNECT handshake request
+ *
+ * @var string
+ */
+ protected $connectHandshakeRequest;
/**
* Connect to the remote server
@@ -89,13 +96,13 @@
public function connect($host, $port = 80, $secure = false)
{
// If no proxy is set, fall back to Socket adapter
- if (! $this->config['proxy_host']) {
+ if (!$this->config['proxy_host']) {
return parent::connect($host, $port, $secure);
}
-
+
/* Url might require stream context even if proxy connection doesn't */
if ($secure) {
- $this->config['sslusecontext'] = true;
+ $this->config['sslusecontext'] = true;
}
// Connect (a non-secure connection) to the proxy server
@@ -115,36 +122,63 @@
* @param array $headers
* @param string $body
* @return string Request as string
+ * @throws Zend_Http_Client_Adapter_Exception
*/
- public function write($method, $uri, $http_ver = '1.1', $headers = array(), $body = '')
+ 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);
+ if (!$this->config['proxy_host']) {
+ return parent::write($method, $uri, $http_ver, $headers, $body);
+ }
// Make sure we're properly connected
- if (! $this->socket) {
+ 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");
+ 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] != "tcp://$host" || $this->connected_to[1] != $port) {
+ if ($this->connected_to[0] != "tcp://$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");
+ 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 ($this->config['proxy_user']) {
+ // Check to see if one already exists
+ $hasProxyAuthHeader = false;
+ foreach ($headers as $k => $v) {
+ if ((string) $k == 'proxy-authorization'
+ || preg_match("/^proxy-authorization:/i", $v)
+ ) {
+ $hasProxyAuthHeader = true;
+ break;
+ }
+ }
+ if (!$hasProxyAuthHeader) {
+ $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);
+ if ($uri->getScheme() == 'https' && (!$this->negotiated)) {
+ $this->connectHandshake(
+ $uri->getHost(), $uri->getPort(), $http_ver, $headers
+ );
$this->negotiated = true;
}
@@ -174,20 +208,24 @@
// Add the request body
$request .= "\r\n" . $body;
}
-
+
// Send the request
- if (! @fwrite($this->socket, $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");
+ throw new Zend_Http_Client_Adapter_Exception(
+ 'Error writing request to proxy server'
+ );
}
-
+
if(is_resource($body)) {
if(stream_copy_to_stream($body, $this->socket) == 0) {
require_once 'Zend/Http/Client/Adapter/Exception.php';
- throw new Zend_Http_Client_Adapter_Exception('Error writing request to server');
+ throw new Zend_Http_Client_Adapter_Exception(
+ 'Error writing request to server'
+ );
}
}
-
+
return $request;
}
@@ -198,30 +236,41 @@
* @param integer $port
* @param string $http_ver
* @param array $headers
+ * @return void
+ * @throws Zend_Http_Client_Adapter_Exception
*/
- protected function connectHandshake($host, $port = 443, $http_ver = '1.1', array &$headers = array())
+ 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";
- }
+ // Process provided headers, including important ones to CONNECT request
+ foreach ($headers as $k => $v) {
+ switch (strtolower(substr($v,0,strpos($v,':')))) {
+ case 'proxy-authorization':
+ // break intentionally omitted
- // 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']);
+ case 'user-agent':
+ $request .= $v . "\r\n";
+ break;
+
+ default:
+ break;
+ }
}
-
$request .= "\r\n";
+
+ // @see ZF-3189
+ $this->connectHandshakeRequest = $request;
// Send the request
- if (! @fwrite($this->socket, $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");
+ throw new Zend_Http_Client_Adapter_Exception(
+ 'Error writing request to proxy server'
+ );
}
// Read response headers only
@@ -231,14 +280,18 @@
$gotStatus = $gotStatus || (strpos($line, 'HTTP') !== false);
if ($gotStatus) {
$response .= $line;
- if (!chop($line)) break;
+ 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);
+ 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
@@ -253,13 +306,17 @@
$success = false;
foreach($modes as $mode) {
$success = stream_socket_enable_crypto($this->socket, true, $mode);
- if ($success) break;
+ 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.");
+ 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.'
+ );
}
}
@@ -279,6 +336,8 @@
*/
public function __destruct()
{
- if ($this->socket) $this->close();
+ if ($this->socket) {
+ $this->close();
+ }
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Adapter/Socket.php
--- a/web/lib/Zend/Http/Client/Adapter/Socket.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Adapter/Socket.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @version $Id: Socket.php 22576 2010-07-16 15:49:24Z dragonbe $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Socket.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Client_Adapter_Socket implements Zend_Http_Client_Adapter_Interface, Zend_Http_Client_Adapter_Stream
@@ -62,11 +62,11 @@
/**
* Stream for storing output
- *
+ *
* @var resource
*/
protected $out_stream = null;
-
+
/**
* Parameters array
*
@@ -124,17 +124,17 @@
}
}
- /**
- * Retrieve the array of all configuration options
- *
- * @return array
- */
- public function getConfig()
- {
- return $this->config;
- }
+ /**
+ * Retrieve the array of all configuration options
+ *
+ * @return array
+ */
+ public function getConfig()
+ {
+ return $this->config;
+ }
- /**
+ /**
* Set the stream context for the TCP connection to the server
*
* Can accept either a pre-existing stream context resource, or an array
@@ -290,13 +290,13 @@
// 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 server');
}
-
+
if(is_resource($body)) {
if(stream_copy_to_stream($body, $this->socket) == 0) {
require_once 'Zend/Http/Client/Adapter/Exception.php';
@@ -317,7 +317,6 @@
// First, read headers only
$response = '';
$gotStatus = false;
- $stream = !empty($this->config['stream']);
while (($line = @fgets($this->socket)) !== false) {
$gotStatus = $gotStatus || (strpos($line, 'HTTP') !== false);
@@ -326,7 +325,7 @@
if (rtrim($line) === '') break;
}
}
-
+
$this->_checkSocketReadTimeout();
$statusCode = Zend_Http_Response::extractCode($response);
@@ -353,7 +352,7 @@
// If we got a 'transfer-encoding: chunked' header
if (isset($headers['transfer-encoding'])) {
-
+
if (strtolower($headers['transfer-encoding']) == 'chunked') {
do {
@@ -384,7 +383,7 @@
if($this->out_stream) {
if(stream_copy_to_stream($this->socket, $this->out_stream, $read_to - $current_pos) == 0) {
$this->_checkSocketReadTimeout();
- break;
+ break;
}
} else {
$line = @fread($this->socket, $read_to - $current_pos);
@@ -405,11 +404,11 @@
} while ($chunksize > 0);
} else {
$this->close();
- require_once 'Zend/Http/Client/Adapter/Exception.php';
+ require_once 'Zend/Http/Client/Adapter/Exception.php';
throw new Zend_Http_Client_Adapter_Exception('Cannot handle "' .
$headers['transfer-encoding'] . '" transfer encoding');
}
-
+
// We automatically decode chunked-messages when writing to a stream
// this means we have to disallow the Zend_Http_Response to do it again
if ($this->out_stream) {
@@ -421,11 +420,11 @@
// If we got more than one Content-Length header (see ZF-9404) use
// the last value sent
if (is_array($headers['content-length'])) {
- $contentLength = $headers['content-length'][count($headers['content-length']) - 1];
+ $contentLength = $headers['content-length'][count($headers['content-length']) - 1];
} else {
$contentLength = $headers['content-length'];
}
-
+
$current_pos = ftell($this->socket);
$chunk = '';
@@ -436,7 +435,7 @@
if($this->out_stream) {
if(@stream_copy_to_stream($this->socket, $this->out_stream, $read_to - $current_pos) == 0) {
$this->_checkSocketReadTimeout();
- break;
+ break;
}
} else {
$chunk = @fread($this->socket, $read_to - $current_pos);
@@ -459,7 +458,7 @@
if($this->out_stream) {
if(@stream_copy_to_stream($this->socket, $this->out_stream) == 0) {
$this->_checkSocketReadTimeout();
- break;
+ break;
}
} else {
$buff = @fread($this->socket, 8192);
@@ -516,19 +515,19 @@
}
}
}
-
+
/**
* Set output stream for the response
- *
+ *
* @param resource $stream
* @return Zend_Http_Client_Adapter_Socket
*/
- public function setOutputStream($stream)
+ public function setOutputStream($stream)
{
$this->out_stream = $stream;
return $this;
}
-
+
/**
* Destructor: make sure the socket is disconnected
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Adapter/Stream.php
--- a/web/lib/Zend/Http/Client/Adapter/Stream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Adapter/Stream.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @version $Id: Stream.php 20785 2010-01-31 09:43:03Z mikaelkael $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,18 +29,18 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Http_Client_Adapter_Stream
{
/**
* Set output stream
- *
+ *
* This function sets output stream where the result will be stored.
- *
+ *
* @param resource $stream Stream to write the output to
- *
+ *
*/
- function setOutputStream($stream);
+ public function setOutputStream($stream);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Adapter/Test.php
--- a/web/lib/Zend/Http/Client/Adapter/Test.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Adapter/Test.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @version $Id: Test.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Test.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -44,7 +44,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 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
@@ -235,4 +235,14 @@
}
$this->responseIndex = $index;
}
+
+ /**
+ * Retrieve the array of all configuration options
+ *
+ * @return array
+ */
+ public function getConfig()
+ {
+ return $this->config;
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Client/Exception.php
--- a/web/lib/Zend/Http/Client/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Client/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Client_Exception
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Client_Exception extends Zend_Http_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Cookie.php
--- a/web/lib/Zend/Http/Cookie.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Cookie.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Cookie
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Cookie.php 23443 2010-11-24 11:53:13Z shahar $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Cookie.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -41,7 +41,7 @@
*
* @category Zend
* @package Zend_Http
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Cookie
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/CookieJar.php
--- a/web/lib/Zend/Http/CookieJar.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/CookieJar.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Http
* @subpackage CookieJar
- * @version $Id: CookieJar.php 23443 2010-11-24 11:53:13Z shahar $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -54,7 +54,7 @@
* @category Zend
* @package Zend_Http
* @subpackage CookieJar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_CookieJar implements Countable, IteratorAggregate
@@ -78,6 +78,13 @@
const COOKIE_STRING_CONCAT = 2;
/**
+ * Return all cookies as one long string (strict mode)
+ * - Single space after the semi-colon separating each cookie
+ * - Remove trailing semi-colon, if any
+ */
+ const COOKIE_STRING_CONCAT_STRICT = 3;
+
+ /**
* Array storing cookies
*
* Cookies are stored according to domain and path:
@@ -173,6 +180,9 @@
public function getAllCookies($ret_as = self::COOKIE_OBJECT)
{
$cookies = $this->_flattenCookiesArray($this->cookies, $ret_as);
+ if($ret_as == self::COOKIE_STRING_CONCAT_STRICT) {
+ $cookies = rtrim(trim($cookies), ';');
+ }
return $cookies;
}
@@ -209,6 +219,9 @@
// Now, use self::_flattenCookiesArray again - only to convert to the return format ;)
$ret = $this->_flattenCookiesArray($ret, $ret_as);
+ if($ret_as == self::COOKIE_STRING_CONCAT_STRICT) {
+ $ret = rtrim(trim($ret), ';');
+ }
return $ret;
}
@@ -245,6 +258,10 @@
return $cookie;
break;
+ case self::COOKIE_STRING_CONCAT_STRICT:
+ return rtrim(trim($cookie->__toString()), ';');
+ break;
+
case self::COOKIE_STRING_ARRAY:
case self::COOKIE_STRING_CONCAT:
return $cookie->__toString();
@@ -270,9 +287,12 @@
*/
protected function _flattenCookiesArray($ptr, $ret_as = self::COOKIE_OBJECT) {
if (is_array($ptr)) {
- $ret = ($ret_as == self::COOKIE_STRING_CONCAT ? '' : array());
+ $ret = ($ret_as == self::COOKIE_STRING_CONCAT || $ret_as == self::COOKIE_STRING_CONCAT_STRICT) ? '' : array();
foreach ($ptr as $item) {
- if ($ret_as == self::COOKIE_STRING_CONCAT) {
+ if ($ret_as == self::COOKIE_STRING_CONCAT_STRICT) {
+ $postfix_combine = (!is_array($item) ? ' ' : '');
+ $ret .= $this->_flattenCookiesArray($item, $ret_as) . $postfix_combine;
+ } elseif ($ret_as == self::COOKIE_STRING_CONCAT) {
$ret .= $this->_flattenCookiesArray($item, $ret_as);
} else {
$ret = array_merge($ret, $this->_flattenCookiesArray($item, $ret_as));
@@ -285,6 +305,9 @@
return array($ptr->__toString());
break;
+ case self::COOKIE_STRING_CONCAT_STRICT:
+ // break intentionally omitted
+
case self::COOKIE_STRING_CONCAT:
return $ptr->__toString();
break;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Exception.php
--- a/web/lib/Zend/Http/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Exception
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Http
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Header/Exception/InvalidArgumentException.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Http/Header/Exception/InvalidArgumentException.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,36 @@
+getName() === NULL) {
+ $header->setName($headerKey);
+ $header->setValue($headerValue);
+ continue;
+ }
+
+ // Process the remanining elements
+ switch (str_replace(array('-', '_'), '', strtolower($headerKey))) {
+ case 'expires' : $header->setExpires($headerValue); break;
+ case 'domain' : $header->setDomain($headerValue); break;
+ case 'path' : $header->setPath($headerValue); break;
+ case 'secure' : $header->setSecure(true); break;
+ case 'httponly': $header->setHttponly(true); break;
+ case 'version' : $header->setVersion((int) $headerValue); break;
+ case 'maxage' : $header->setMaxAge((int) $headerValue); break;
+ default:
+ // Intentionally omitted
+ }
+ }
+ $headers[] = $header;
+ }
+ return count($headers) == 1 ? array_pop($headers) : $headers;
+ }
+
+ /**
+ * Cookie object constructor
+ *
+ * @todo Add validation of each one of the parameters (legal domain, etc.)
+ *
+ * @param string $name
+ * @param string $value
+ * @param int $expires
+ * @param string $path
+ * @param string $domain
+ * @param bool $secure
+ * @param bool $httponly
+ * @param string $maxAge
+ * @param int $version
+ * @return SetCookie
+ */
+ public function __construct($name = null, $value = null, $expires = null, $path = null, $domain = null, $secure = false, $httponly = false, $maxAge = null, $version = null)
+ {
+ $this->type = 'Cookie';
+
+ if ($name) {
+ $this->setName($name);
+ }
+
+ if ($value) {
+ $this->setValue($value); // in parent
+ }
+
+ if ($version) {
+ $this->setVersion($version);
+ }
+
+ if ($maxAge) {
+ $this->setMaxAge($maxAge);
+ }
+
+ if ($domain) {
+ $this->setDomain($domain);
+ }
+
+ if ($expires) {
+ $this->setExpires($expires);
+ }
+
+ if ($path) {
+ $this->setPath($path);
+ }
+
+ if ($secure) {
+ $this->setSecure($secure);
+ }
+
+ if ($httponly) {
+ $this->setHttponly($httponly);
+ }
+ }
+
+ /**
+ * @return string 'Set-Cookie'
+ */
+ public function getFieldName()
+ {
+ return 'Set-Cookie';
+ }
+
+ /**
+ * @throws Zend_Http_Header_Exception_RuntimeException
+ * @return string
+ */
+ public function getFieldValue()
+ {
+ if ($this->getName() == '') {
+ throw new Zend_Http_Header_Exception_RuntimeException('A cookie name is required to generate a field value for this cookie');
+ }
+
+ $value = $this->getValue();
+ if (strpos($value,'"')!==false) {
+ $value = '"'.urlencode(str_replace('"', '', $value)).'"';
+ } else {
+ $value = urlencode($value);
+ }
+ $fieldValue = $this->getName() . '=' . $value;
+
+ $version = $this->getVersion();
+ if ($version!==null) {
+ $fieldValue .= '; Version=' . $version;
+ }
+
+ $maxAge = $this->getMaxAge();
+ if ($maxAge!==null) {
+ $fieldValue .= '; Max-Age=' . $maxAge;
+ }
+
+ $expires = $this->getExpires();
+ if ($expires) {
+ $fieldValue .= '; Expires=' . $expires;
+ }
+
+ $domain = $this->getDomain();
+ if ($domain) {
+ $fieldValue .= '; Domain=' . $domain;
+ }
+
+ $path = $this->getPath();
+ if ($path) {
+ $fieldValue .= '; Path=' . $path;
+ }
+
+ if ($this->isSecure()) {
+ $fieldValue .= '; Secure';
+ }
+
+ if ($this->isHttponly()) {
+ $fieldValue .= '; HttpOnly';
+ }
+
+ return $fieldValue;
+ }
+
+ /**
+ * @param string $name
+ * @return SetCookie
+ */
+ public function setName($name)
+ {
+ if (preg_match("/[=,; \t\r\n\013\014]/", $name)) {
+ throw new Zend_Http_Header_Exception_InvalidArgumentException("Cookie name cannot contain these characters: =,; \\t\\r\\n\\013\\014 ({$name})");
+ }
+
+ $this->name = $name;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * @param string $value
+ */
+ public function setValue($value)
+ {
+ $this->value = $value;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Set version
+ *
+ * @param integer $version
+ */
+ public function setVersion($version)
+ {
+ if (!is_int($version)) {
+ throw new Zend_Http_Header_Exception_InvalidArgumentException('Invalid Version number specified');
+ }
+ $this->version = $version;
+ }
+
+ /**
+ * Get version
+ *
+ * @return integer
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Set Max-Age
+ *
+ * @param integer $maxAge
+ */
+ public function setMaxAge($maxAge)
+ {
+ if (!is_int($maxAge) || ($maxAge<0)) {
+ throw new Zend_Http_Header_Exception_InvalidArgumentException('Invalid Max-Age number specified');
+ }
+ $this->maxAge = $maxAge;
+ }
+
+ /**
+ * Get Max-Age
+ *
+ * @return integer
+ */
+ public function getMaxAge()
+ {
+ return $this->maxAge;
+ }
+
+ /**
+ * @param int $expires
+ * @return SetCookie
+ */
+ public function setExpires($expires)
+ {
+ if (!empty($expires)) {
+ if (is_string($expires)) {
+ $expires = strtotime($expires);
+ } elseif (!is_int($expires)) {
+ throw new Zend_Http_Header_Exception_InvalidArgumentException('Invalid expires time specified');
+ }
+ $this->expires = (int) $expires;
+ }
+ return $this;
+ }
+
+ /**
+ * @return int
+ */
+ public function getExpires($inSeconds = false)
+ {
+ if ($this->expires == null) {
+ return;
+ }
+ if ($inSeconds) {
+ return $this->expires;
+ }
+ return gmdate('D, d-M-Y H:i:s', $this->expires) . ' GMT';
+ }
+
+ /**
+ * @param string $domain
+ */
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+
+ /**
+ * @param string $path
+ */
+ public function setPath($path)
+ {
+ $this->path = $path;
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ /**
+ * @param boolean $secure
+ */
+ public function setSecure($secure)
+ {
+ $this->secure = $secure;
+ return $this;
+ }
+
+ /**
+ * @return boolean
+ */
+ public function isSecure()
+ {
+ return $this->secure;
+ }
+
+ /**
+ * @param bool $httponly
+ */
+ public function setHttponly($httponly)
+ {
+ $this->httponly = $httponly;
+ return $this;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isHttponly()
+ {
+ return $this->httponly;
+ }
+
+ /**
+ * Check whether the cookie has expired
+ *
+ * Always returns false if the cookie is a session cookie (has no expiry time)
+ *
+ * @param int $now Timestamp to consider as "now"
+ * @return boolean
+ */
+ public function isExpired($now = null)
+ {
+ if ($now === null) {
+ $now = time();
+ }
+
+ if (is_int($this->expires) && $this->expires < $now) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ * Check whether the cookie is a session cookie (has no expiry time set)
+ *
+ * @return boolean
+ */
+ public function isSessionCookie()
+ {
+ return ($this->expires === null);
+ }
+
+ public function isValidForRequest($requestDomain, $path, $isSecure = false)
+ {
+ if ($this->getDomain() && (strrpos($requestDomain, $this->getDomain()) !== false)) {
+ return false;
+ }
+
+ if ($this->getPath() && (strpos($path, $this->getPath()) !== 0)) {
+ return false;
+ }
+
+ if ($this->secure && $this->isSecure()!==$isSecure) {
+ return false;
+ }
+
+ return true;
+
+ }
+
+ public function toString()
+ {
+ return $this->getFieldName() . ': ' . $this->getFieldValue();
+ }
+
+ public function __toString()
+ {
+ return $this->toString();
+ }
+
+ public function toStringMultipleHeaders(array $headers)
+ {
+ $headerLine = $this->toString();
+ /* @var $header SetCookie */
+ foreach ($headers as $header) {
+ if (!$header instanceof Zend_Http_Header_SetCookie) {
+ throw new Zend_Http_Header_Exception_RuntimeException(
+ 'The SetCookie multiple header implementation can only accept an array of SetCookie headers'
+ );
+ }
+ $headerLine .= ', ' . $header->getFieldValue();
+ }
+ return $headerLine;
+ }
+
+
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Response.php
--- a/web/lib/Zend/Http/Response.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Response.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Response
- * @version $Id: Response.php 22810 2010-08-08 10:29:09Z shahar $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Response.php 25081 2012-11-06 20:59:47Z rob $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Http
* @subpackage Response
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Response
@@ -165,7 +165,7 @@
require_once 'Zend/Http/Exception.php';
throw new Zend_Http_Exception("'{$value}' is not a valid HTTP header");
}
-
+
$name = trim($header[0]);
$value = trim($header[1]);
}
@@ -641,7 +641,7 @@
* @link http://framework.zend.com/issues/browse/ZF-6040
*/
$zlibHeader = unpack('n', substr($body, 0, 2));
- if ($zlibHeader[1] % 31 == 0) {
+ if ($zlibHeader[1] % 31 == 0 && ord($body[0]) == 0x78 && in_array(ord($body[1]), array(0x01, 0x5e, 0x9c, 0xda))) {
return gzuncompress($body);
} else {
return gzinflate($body);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/Response/Stream.php
--- a/web/lib/Zend/Http/Response/Stream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/Response/Stream.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,8 +16,8 @@
* @category Zend
* @package Zend_Http
* @subpackage Response
- * @version $Id: Stream.php 20785 2010-01-31 09:43:03Z mikaelkael $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Http
* @subpackage Response
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_Response_Stream extends Zend_Http_Response
@@ -90,7 +90,7 @@
/**
* Set the cleanup trigger
*
- * @param $cleanup Set cleanup trigger
+ * @param bool $cleanup Set cleanup trigger
*/
public function setCleanup($cleanup = true) {
$this->_cleanup = $cleanup;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent.php
--- a/web/lib/Zend/Http/UserAgent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http_UserAgent
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Http_UserAgent
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent implements Serializable
@@ -52,17 +52,17 @@
const DEFAULT_BROWSER_TYPE = 'desktop';
/**
- * Default User Agent chain to prevent empty value
+ * Default User Agent chain to prevent empty value
*/
const DEFAULT_HTTP_USER_AGENT = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)';
/**
- * Default Http Accept param to prevent empty value
+ * Default Http Accept param to prevent empty value
*/
const DEFAULT_HTTP_ACCEPT = "application/xhtml+xml";
/**
- * Default markup language
+ * Default markup language
*/
const DEFAULT_MARKUP_LANGUAGE = "xhtml";
@@ -85,9 +85,9 @@
/**
* Array to store config
*
- * Default values are provided to ensure specific keys are present at
+ * Default values are provided to ensure specific keys are present at
* instantiation.
- *
+ *
* @var array
*/
protected $_config = array(
@@ -113,7 +113,7 @@
* - User-Agent (defined in $_server)
* - HTTP Accept value (defined in $_server)
* - $_storage
- *
+ *
* @var bool
*/
protected $_immutable = false;
@@ -139,7 +139,7 @@
/**
* Server variable
- *
+ *
* @var array
*/
protected $_server;
@@ -153,8 +153,8 @@
/**
* Constructor
- *
- * @param null|array|Zend_Config|ArrayAccess $options
+ *
+ * @param null|array|Zend_Config|ArrayAccess $options
* @return void
*/
public function __construct($options = null)
@@ -166,16 +166,17 @@
/**
* Serialized representation of the object
- *
+ *
* @return string
*/
public function serialize()
{
+ $device = $this->getDevice();
$spec = array(
'browser_type' => $this->_browserType,
'config' => $this->_config,
- 'device_class' => get_class($this->_device),
- 'device' => $this->_device->serialize(),
+ 'device_class' => get_class($device),
+ 'device' => $device->serialize(),
'user_agent' => $this->getServerValue('http_user_agent'),
'http_accept' => $this->getServerValue('http_accept'),
);
@@ -184,7 +185,7 @@
/**
* Unserialize a previous representation of the object
- *
+ *
* @param string $serialized
* @return void
*/
@@ -209,8 +210,8 @@
/**
* Configure instance
- *
- * @param array|Zend_Config|ArrayAccess $options
+ *
+ * @param array|Zend_Config|ArrayAccess $options
* @return Zend_Http_UserAgent
*/
public function setOptions($options)
@@ -219,8 +220,8 @@
$options = $options->toArray();
}
- if (!is_array($options)
- && !$options instanceof ArrayAccess
+ if (!is_array($options)
+ && !$options instanceof ArrayAccess
&& !$options instanceof Traversable
) {
require_once 'Zend/Http/UserAgent/Exception.php';
@@ -273,7 +274,7 @@
/**
* Comparison of the UserAgent chain and browser signatures.
- *
+ *
* The comparison is case-insensitive : the browser signatures must be in lower
* case
*
@@ -295,8 +296,8 @@
// Call match method on device class
return call_user_func(
- array($deviceClass, 'match'),
- $userAgent,
+ array($deviceClass, 'match'),
+ $userAgent,
$this->getServer()
);
}
@@ -315,7 +316,7 @@
return $this->_browserTypeClass[$browserType];
}
- if (isset($this->_config[$browserType])
+ if (isset($this->_config[$browserType])
&& isset($this->_config[$browserType]['device'])
) {
$deviceConfig = $this->_config[$browserType]['device'];
@@ -410,9 +411,9 @@
/**
* Returns the persistent storage handler
*
- * Session storage is used by default unless a different storage adapter
- * has been set via the "persistent_storage_adapter" key. That key should
- * contain either a fully qualified class name, or a short name that
+ * Session storage is used by default unless a different storage adapter
+ * has been set via the "persistent_storage_adapter" key. That key should
+ * contain either a fully qualified class name, or a short name that
* resolves via the plugin loader.
*
* @param string $browser Browser identifier (User Agent chain)
@@ -482,20 +483,20 @@
/**
* Config parameters is an Array or a Zend_Config object
- *
+ *
* The allowed parameters are :
* - the identification sequence (can be empty) => desktop browser type is the
* default browser type returned
* $config['identification_sequence'] : ',' separated browser types
- * - the persistent storage adapter
+ * - the persistent storage adapter
* $config['persistent_storage_adapter'] = "Session" or "NonPersistent"
- * - to add or replace a browser type device
+ * - to add or replace a browser type device
* $config[(type)]['device']['path']
* $config[(type)]['device']['classname']
- * - to add or replace a browser type features adapter
+ * - to add or replace a browser type features adapter
* $config[(type)]['features']['path']
* $config[(type)]['features']['classname']
- *
+ *
* @param mixed $config (option) Config array
* @return Zend_Http_UserAgent
*/
@@ -504,7 +505,7 @@
if ($config instanceof Zend_Config) {
$config = $config->toArray();
}
-
+
// Verify that Config parameters are in an array.
if (!is_array($config) && !$config instanceof Traversable) {
require_once 'Zend/Http/UserAgent/Exception.php';
@@ -528,7 +529,12 @@
}
/**
- * @return the $device
+ * Returns the device object
+ *
+ * This is the object that will contain the various discovered device
+ * capabilities.
+ *
+ * @return Zend_Http_UserAgent_Device $device
*/
public function getDevice()
{
@@ -540,9 +546,9 @@
// search an existing identification in the session
$storage = $this->getStorage($userAgent);
-
+
if (!$storage->isEmpty()) {
- // If the user agent and features are already existing, the
+ // If the user agent and features are already existing, the
// Zend_Http_UserAgent object is serialized in the session
$object = $storage->read();
$this->unserialize($object);
@@ -551,7 +557,7 @@
// Find the browser type:
$this->setBrowserType($this->_matchUserAgent());
$this->_createDevice();
-
+
// put the result in storage:
$this->getStorage($userAgent)
->write($this->serialize());
@@ -596,10 +602,10 @@
/**
* Retrieve the "$_SERVER" array
*
- * Basically, the $_SERVER array or an equivalent container storing the
+ * Basically, the $_SERVER array or an equivalent container storing the
* data that will be introspected.
*
- * If the value has not been previously set, it sets itself from the
+ * If the value has not been previously set, it sets itself from the
* $_SERVER superglobal.
*
* @return array
@@ -613,9 +619,9 @@
}
/**
- * Retrieve the "$_SERVER" array
+ * Set the "$_SERVER" array
*
- * Basically, the $_SERVER array or an equivalent container storing the
+ * Basically, the $_SERVER array or an equivalent container storing the
* data that will be introspected.
*
* @param array|ArrayAccess $server
@@ -660,7 +666,7 @@
/**
* Retrieve a server value
- *
+ *
* @param string $key
* @return mixed
*/
@@ -700,9 +706,9 @@
/**
* Set plugin loader
- *
+ *
* @param string $type Type of plugin loader; one of 'storage', (?)
- * @param string|Zend_Loader_PluginLoader $loader
+ * @param string|Zend_Loader_PluginLoader $loader
* @return Zend_Http_UserAgent
*/
public function setPluginLoader($type, $loader)
@@ -749,7 +755,7 @@
/**
* Get a plugin loader
- *
+ *
* @param string $type A valid plugin loader type; see {@link $_loaderTypes}
* @return Zend_Loader_PluginLoader
*/
@@ -766,10 +772,10 @@
/**
* Validate a plugin loader type
*
- * Verifies that it is in {@link $_loaderTypes}, and returns a normalized
+ * Verifies that it is in {@link $_loaderTypes}, and returns a normalized
* version of the type.
- *
- * @param string $type
+ *
+ * @param string $type
* @return string
* @throws Zend_Http_UserAgent_Exception on invalid type
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/AbstractDevice.php
--- a/web/lib/Zend/Http/UserAgent/AbstractDevice.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/AbstractDevice.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Http_UserAgent_AbstractDevice
@@ -49,7 +49,7 @@
/**
* Configuration
- *
+ *
* @var array
*/
protected $_config;
@@ -63,22 +63,22 @@
/**
* Server variable
- *
+ *
* @var array
*/
protected $_server;
/**
* Image types
- *
+ *
* @var array
*/
protected $_images = array(
- 'jpeg',
- 'gif',
- 'png',
- 'pjpeg',
- 'x-png',
+ 'jpeg',
+ 'gif',
+ 'png',
+ 'pjpeg',
+ 'x-png',
'bmp',
);
@@ -100,8 +100,8 @@
* Constructor
*
* @param null|string|array $userAgent If array, restores from serialized version
- * @param array $server
- * @param array $config
+ * @param array $server
+ * @param array $config
* @return void
*/
public function __construct($userAgent = null, array $server = array(), array $config = array())
@@ -121,7 +121,7 @@
/**
* Serialize object
- *
+ *
* @return string
*/
public function serialize()
@@ -139,8 +139,8 @@
/**
* Unserialize
- *
- * @param string $serialized
+ *
+ * @param string $serialized
* @return void
*/
public function unserialize($serialized)
@@ -151,8 +151,8 @@
/**
* Restore object state from array
- *
- * @param array $spec
+ *
+ * @param array $spec
* @return void
*/
protected function _restoreFromArray(array $spec)
@@ -176,7 +176,7 @@
if (is_array($features)) {
$this->_aFeatures = array_merge($this->_aFeatures, $features);
}
-
+
return $this->_aFeatures;
}
@@ -195,7 +195,7 @@
*/
public function hasFeature($feature)
{
- return (!empty($this->_aFeatures[$feature]));
+ return (isset($this->_aFeatures[$feature]) && !is_null($this->_aFeatures[$feature]));
}
/**
@@ -286,16 +286,16 @@
protected function _getDefaultFeatures()
{
$server = array();
-
- // gets info from user agent chain
+
+ // gets info from user agent chain
$uaExtract = $this->extractFromUserAgent($this->getUserAgent());
-
+
if (is_array($uaExtract)) {
foreach ($uaExtract as $key => $info) {
$this->setFeature($key, $info, 'product_info');
}
}
-
+
if (isset($uaExtract['browser_name'])) {
$this->_browser = $uaExtract['browser_name'];
}
@@ -305,7 +305,7 @@
if (isset($uaExtract['device_os'])) {
$this->device_os = $uaExtract['device_os_name'];
}
-
+
/* browser & device info */
$this->setFeature('is_wireless_device', false, 'product_info');
$this->setFeature('is_mobile', false, 'product_info');
@@ -315,9 +315,9 @@
$this->setFeature('is_email', false, 'product_info');
$this->setFeature('is_text', false, 'product_info');
$this->setFeature('device_claims_web_support', false, 'product_info');
-
+
$this->setFeature('is_' . strtolower($this->getType()), true, 'product_info');
-
+
/* sets the browser name */
if (isset($this->list) && empty($this->_browser)) {
$lowerUserAgent = strtolower($this->getUserAgent());
@@ -328,7 +328,7 @@
}
}
}
-
+
/* sets the client IP */
if (isset($this->_server['remote_addr'])) {
$this->setFeature('client_ip', $this->_server['remote_addr'], 'product_info');
@@ -337,7 +337,7 @@
} elseif (isset($this->_server['http_client_ip'])) {
$this->setFeature('client_ip', $this->_server['http_client_ip'], 'product_info');
}
-
+
/* sets the server infos */
if (isset($this->_server['server_software'])) {
if (strpos($this->_server['server_software'], 'Apache') !== false || strpos($this->_server['server_software'], 'LiteSpeed') !== false) {
@@ -347,11 +347,11 @@
}
$server['server'] = 'apache';
}
-
+
if (strpos($this->_server['server_software'], 'Microsoft-IIS') !== false) {
$server['server'] = 'iis';
}
-
+
if (strpos($this->_server['server_software'], 'Unix') !== false) {
$server['os'] = 'unix';
if (isset($_ENV['MACHTYPE'])) {
@@ -362,7 +362,7 @@
} elseif (strpos($this->_server['server_software'], 'Win') !== false) {
$server['os'] = 'windows';
}
-
+
if (preg_match('/Apache\/([0-9\.]*)/', $this->_server['server_software'], $arr)) {
if ($arr[1]) {
$server['version'] = $arr[1];
@@ -370,7 +370,7 @@
}
}
}
-
+
$this->setFeature('php_version', phpversion(), 'server_info');
if (isset($server['server'])) {
$this->setFeature('server_os', $server['server'], 'server_info');
@@ -401,7 +401,7 @@
public static function extractFromUserAgent($userAgent)
{
$userAgent = trim($userAgent);
-
+
/**
* @see http://www.texsoft.it/index.php?c=software&m=sw.php.useragent&l=it
*/
@@ -412,13 +412,13 @@
if (isset($match[7])) {
$comment = explode(';', $match[7]);
}
-
+
// second part if exists
$end = substr($userAgent, strlen($match[0]));
if (!empty($end)) {
$result['others']['full'] = $end;
}
-
+
$match2 = array();
if (isset($result['others'])) {
preg_match_all('/(([^\/\s]*)(\/)?([^\/\(\)\s]*)?)(\s\((([^\)]*)*)\))?/i', $result['others']['full'], $match2);
@@ -451,18 +451,18 @@
for ($i = 0; $i < $max; $i ++) {
if (!empty($match2[0][$i])) {
$result['others']['detail'][] = array(
- $match2[0][$i],
- $match2[2][$i],
+ $match2[0][$i],
+ $match2[2][$i],
$match2[4][$i],
);
}
}
}
-
+
/** Security level */
$security = array(
- 'N' => 'no security',
- 'U' => 'strong security',
+ 'N' => 'no security',
+ 'U' => 'strong security',
'I' => 'weak security',
);
if (!empty($result['browser_token'])) {
@@ -471,9 +471,9 @@
unset($result['browser_token']);
}
}
-
+
$product = strtolower($result['browser_name']);
-
+
// Mozilla : true && false
$compatibleOrIe = false;
if (isset($result['compatibility_flag']) && isset($result['comment'])) {
@@ -492,26 +492,28 @@
$real[1][0] = "Internet Explorer";
$temp = explode(' ', trim($v));
$real[3][0] = $temp[1];
-
+
}
if (strpos($v, 'Win') !== false) {
$result['device_os_token'] = trim($v);
}
}
}
-
+
if (!empty($real[0])) {
$result['browser_name'] = $real[1][0];
$result['browser_version'] = $real[3][0];
} else {
- $result['browser_name'] = $result['browser_token'];
+ if(isset($result['browser_token'])) {
+ $result['browser_name'] = $result['browser_token'];
+ }
$result['browser_version'] = '??';
}
} elseif ($product == 'mozilla' && $result['browser_version'] < 5.0) {
// handles the real Mozilla (or old Netscape if version < 5.0)
$result['browser_name'] = 'Netscape';
}
-
+
/** windows */
if ($result['browser_name'] == 'MSIE') {
$result['browser_engine'] = 'MSIE';
@@ -519,21 +521,21 @@
}
if (isset($result['device_os_token'])) {
if (strpos($result['device_os_token'], 'Win') !== false) {
-
+
$windows = array(
- 'Windows NT 6.1' => 'Windows 7',
- 'Windows NT 6.0' => 'Windows Vista',
- 'Windows NT 5.2' => 'Windows Server 2003',
- 'Windows NT 5.1' => 'Windows XP',
- 'Windows NT 5.01' => 'Windows 2000 SP1',
- 'Windows NT 5.0' => 'Windows 2000',
- 'Windows NT 4.0' => 'Microsoft Windows NT 4.0',
- 'WinNT' => 'Microsoft Windows NT 4.0',
- 'Windows 98; Win 9x 4.90' => 'Windows Me',
- 'Windows 98' => 'Windows 98',
- 'Win98' => 'Windows 98',
- 'Windows 95' => 'Windows 95',
- 'Win95' => 'Windows 95',
+ 'Windows NT 6.1' => 'Windows 7',
+ 'Windows NT 6.0' => 'Windows Vista',
+ 'Windows NT 5.2' => 'Windows Server 2003',
+ 'Windows NT 5.1' => 'Windows XP',
+ 'Windows NT 5.01' => 'Windows 2000 SP1',
+ 'Windows NT 5.0' => 'Windows 2000',
+ 'Windows NT 4.0' => 'Microsoft Windows NT 4.0',
+ 'WinNT' => 'Microsoft Windows NT 4.0',
+ 'Windows 98; Win 9x 4.90' => 'Windows Me',
+ 'Windows 98' => 'Windows 98',
+ 'Win98' => 'Windows 98',
+ 'Windows 95' => 'Windows 95',
+ 'Win95' => 'Windows 95',
'Windows CE' => 'Windows CE',
);
if (isset($windows[$result['device_os_token']])) {
@@ -543,19 +545,25 @@
}
}
}
-
- // iphone
+
+ // iphone
$apple_device = array(
- 'iPhone',
- 'iPod',
+ 'iPhone',
+ 'iPod',
'iPad',
);
if (isset($result['compatibility_flag'])) {
if (in_array($result['compatibility_flag'], $apple_device)) {
$result['device'] = strtolower($result['compatibility_flag']);
$result['device_os_token'] = 'iPhone OS';
- $result['browser_language'] = trim($comment[3]);
- $result['browser_version'] = $result['others']['detail'][1][2];
+ if (isset($comment[3])) {
+ $result['browser_language'] = trim($comment[3]);
+ }
+ if (isset($result['others']['detail'][1])) {
+ $result['browser_version'] = $result['others']['detail'][1][2];
+ } elseif (isset($result['others']['detail']) && count($result['others']['detail'])) {
+ $result['browser_version'] = $result['others']['detail'][0][2];
+ }
if (!empty($result['others']['detail'][2])) {
$result['firmware'] = $result['others']['detail'][2][2];
}
@@ -565,12 +573,12 @@
}
}
}
-
+
// Safari
if (isset($result['others'])) {
if ($result['others']['detail'][0][1] == 'AppleWebKit') {
$result['browser_engine'] = 'AppleWebKit';
- if ($result['others']['detail'][1][1] == 'Version') {
+ if (isset($result['others']['detail'][1]) && $result['others']['detail'][1][1] == 'Version') {
$result['browser_version'] = $result['others']['detail'][1][2];
} else {
$result['browser_version'] = $result['others']['detail'][count($result['others']['detail']) - 1][2];
@@ -578,16 +586,21 @@
if (isset($comment[3])) {
$result['browser_language'] = trim($comment[3]);
}
-
+
$last = $result['others']['detail'][count($result['others']['detail']) - 1][1];
-
+
if (empty($result['others']['detail'][2][1]) || $result['others']['detail'][2][1] == 'Safari') {
- $result['browser_name'] = ($result['others']['detail'][1][1] && $result['others']['detail'][1][1] != 'Version' ? $result['others']['detail'][1][1] : 'Safari');
- $result['browser_version'] = ($result['others']['detail'][1][2] ? $result['others']['detail'][1][2] : $result['others']['detail'][0][2]);
+ if (isset($result['others']['detail'][1])) {
+ $result['browser_name'] = ($result['others']['detail'][1][1] && $result['others']['detail'][1][1] != 'Version' ? $result['others']['detail'][1][1] : 'Safari');
+ $result['browser_version'] = ($result['others']['detail'][1][2] ? $result['others']['detail'][1][2] : $result['others']['detail'][0][2]);
+ } else {
+ $result['browser_name'] = ($result['others']['detail'][0][1] && $result['others']['detail'][0][1] != 'Version' ? $result['others']['detail'][0][1] : 'Safari');
+ $result['browser_version'] = $result['others']['detail'][0][2];
+ }
} else {
$result['browser_name'] = $result['others']['detail'][2][1];
$result['browser_version'] = $result['others']['detail'][2][2];
-
+
// mobile version
if ($result['browser_name'] == 'Mobile') {
$result['browser_name'] = 'Safari ' . $result['browser_name'];
@@ -596,18 +609,18 @@
}
}
}
-
+
// For Safari < 2.2, AppleWebKit version gives the Safari version
if (strpos($result['browser_version'], '.') > 2 || (int) $result['browser_version'] > 20) {
$temp = explode('.', $result['browser_version']);
$build = (int) $temp[0];
$awkVersion = array(
- 48 => '0.8',
- 73 => '0.9',
- 85 => '1.0',
- 103 => '1.1',
- 124 => '1.2',
- 300 => '1.3',
+ 48 => '0.8',
+ 73 => '0.9',
+ 85 => '1.0',
+ 103 => '1.1',
+ 124 => '1.2',
+ 300 => '1.3',
400 => '2.0',
);
foreach ($awkVersion as $k => $v) {
@@ -617,28 +630,28 @@
}
}
}
-
+
// Gecko (Firefox or compatible)
if ($result['others']['detail'][0][1] == 'Gecko') {
$searchRV = true;
if (!empty($result['others']['detail'][1][1]) && !empty($result['others']['detail'][count($result['others']['detail']) - 1][2]) || strpos(strtolower($result['others']['full']), 'opera') !== false) {
$searchRV = false;
$result['browser_engine'] = $result['others']['detail'][0][1];
-
- // the name of the application is at the end indepenently
+
+ // the name of the application is at the end indepenently
// of quantity of information in $result['others']['detail']
$last = count($result['others']['detail']) - 1;
-
- // exception : if the version of the last information is
+
+ // exception : if the version of the last information is
// empty we take the previous one
if (empty($result['others']['detail'][$last][2])) {
$last --;
}
-
- // exception : if the last one is 'Red Hat' or 'Debian' =>
+
+ // exception : if the last one is 'Red Hat' or 'Debian' =>
// use rv: to find browser_version */
if (in_array($result['others']['detail'][$last][1], array(
- 'Debian',
+ 'Debian',
'Hat',
))) {
$searchRV = true;
@@ -648,8 +661,10 @@
if (isset($comment[4])) {
$result['browser_build'] = trim($comment[4]);
}
- $result['browser_language'] = trim($comment[3]);
-
+ if (isset($comment[3])) {
+ $result['browser_language'] = trim($comment[3]);
+ }
+
// Netscape
if ($result['browser_name'] == 'Navigator' || $result['browser_name'] == 'Netscape6') {
$result['browser_name'] = 'Netscape';
@@ -667,14 +682,14 @@
}
}
}
-
+
// Netscape
if ($result['others']['detail'][0][1] == 'Netscape') {
$result['browser_name'] = 'Netscape';
$result['browser_version'] = $result['others']['detail'][0][2];
}
-
- // Opera
+
+ // Opera
// Opera: engine Presto
if ($result['others']['detail'][0][1] == 'Presto') {
$result['browser_engine'] = 'Presto';
@@ -682,40 +697,46 @@
$result['browser_version'] = $result['others']['detail'][1][2];
}
}
-
- // UA ends with 'Opera X.XX'
+
+ // UA ends with 'Opera X.XX' or 'Opera/X.XX'
if ($result['others']['detail'][0][1] == 'Opera') {
$result['browser_name'] = $result['others']['detail'][0][1];
- $result['browser_version'] = $result['others']['detail'][1][1];
+ // Opera X.XX
+ if (isset($result['others']['detail'][1][1])) {
+ $result['browser_version'] = $result['others']['detail'][1][1];
+ // Opera/X.XX
+ } elseif (isset($result['others']['detail'][0][2])) {
+ $result['browser_version'] = $result['others']['detail'][0][2];
+ }
}
-
+
// Opera Mini
if (isset($result["browser_token"])) {
if (strpos($result["browser_token"], 'Opera Mini') !== false) {
$result['browser_name'] = 'Opera Mini';
}
}
-
+
// Symbian
if ($result['others']['detail'][0][1] == 'SymbianOS') {
$result['device_os_token'] = 'SymbianOS';
}
}
-
+
// UA ends with 'Opera X.XX'
if (isset($result['browser_name']) && isset($result['browser_engine'])) {
if ($result['browser_name'] == 'Opera' && $result['browser_engine'] == 'Gecko' && empty($result['browser_version'])) {
$result['browser_version'] = $result['others']['detail'][count($result['others']['detail']) - 1][1];
}
}
-
+
// cleanup
if (isset($result['browser_version']) && isset($result['browser_build'])) {
if ($result['browser_version'] == $result['browser_build']) {
unset($result['browser_build']);
}
}
-
+
// compatibility
$compatibility['AppleWebKit'] = 'Safari';
$compatibility['Gecko'] = 'Firefox';
@@ -726,7 +747,7 @@
$result['browser_compatibility'] = $compatibility[$result['browser_engine']];
}
}
-
+
ksort($result);
return $result;
}
@@ -760,13 +781,13 @@
require_once 'Zend/Http/UserAgent/Exception.php';
throw new Zend_Http_UserAgent_Exception('The ' . $this->getType() . ' features adapter must have a "path" config parameter defined');
}
-
+
if (false === include_once ($path)) {
require_once 'Zend/Http/UserAgent/Exception.php';
throw new Zend_Http_UserAgent_Exception('The ' . $this->getType() . ' features adapter path that does not exist');
}
}
-
+
return call_user_func(array($className, 'getFromRequest'), $this->_server, $this->_config);
}
@@ -953,9 +974,9 @@
/**
* Match a user agent string against a list of signatures
- *
- * @param string $userAgent
- * @param array $signatures
+ *
+ * @param string $userAgent
+ * @param array $signatures
* @return bool
*/
protected static function _matchAgentAgainstSignatures($userAgent, $signatures)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Bot.php
--- a/web/lib/Zend/Http/UserAgent/Bot.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Bot.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
require_once 'Zend/Http/UserAgent/AbstractDevice.php';
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -40,67 +40,68 @@
*/
protected static $_uaSignatures = array(
// The most common ones.
- 'googlebot',
- 'msnbot',
- 'slurp',
+ 'googlebot',
+ 'msnbot',
+ 'slurp',
'yahoo',
// The rest, alphabetically.
- 'alexa',
- 'appie',
- 'archiver',
- 'ask jeeves',
- 'baiduspider',
- 'bot',
- 'crawl',
- 'crawler',
- 'curl',
- 'eventbox',
- 'facebookexternal',
- 'fast',
- 'feedfetcher-google',
- 'firefly',
- 'froogle',
- 'gigabot',
- 'girafabot',
- 'google',
- 'infoseek',
- 'inktomi',
- 'java',
+ 'alexa',
+ 'appie',
+ 'archiver',
+ 'ask jeeves',
+ 'baiduspider',
+ 'bot',
+ 'crawl',
+ 'crawler',
+ 'curl',
+ 'eventbox',
+ 'facebookexternal',
+ 'fast',
+ 'feedfetcher-google',
+ 'firefly',
+ 'froogle',
+ 'gigabot',
+ 'girafabot',
+ 'google',
+ 'htdig',
+ 'infoseek',
+ 'inktomi',
+ 'java',
'larbin',
- 'looksmart',
- 'mechanize',
- 'mediapartners-google',
- 'monitor',
- 'nambu',
- 'nationaldirectory',
- 'novarra',
- 'pear',
- 'perl',
- 'python',
- 'rabaz',
- 'radian',
- 'rankivabot',
- 'scooter',
- 'sogou web spider',
- 'spade',
- 'sphere',
- 'spider',
- 'technoratisnoop',
- 'tecnoseek',
- 'teoma',
- 'toolbar',
- 'transcoder',
- 'twitt',
- 'url_spider_sql',
- 'webalta crawler',
- 'webbug',
- 'webfindbot',
- 'wordpress',
- 'www.galaxy.com',
- 'yahoo! searchmonkey',
- 'yahoo! slurp',
- 'yandex',
+ 'looksmart',
+ 'mechanize',
+ 'mediapartners-google',
+ 'monitor',
+ 'nambu',
+ 'nationaldirectory',
+ 'novarra',
+ 'pear',
+ 'perl',
+ 'python',
+ 'rabaz',
+ 'radian',
+ 'rankivabot',
+ 'scooter',
+ 'sogou web spider',
+ 'spade',
+ 'sphere',
+ 'spider',
+ 'technoratisnoop',
+ 'tecnoseek',
+ 'teoma',
+ 'toolbar',
+ 'transcoder',
+ 'twitt',
+ 'url_spider_sql',
+ 'webalta crawler',
+ 'webbug',
+ 'webfindbot',
+ 'wordpress',
+ 'www.galaxy.com',
+ 'yahoo! searchmonkey',
+ 'yahoo! slurp',
+ 'yandex',
'zyborg',
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Checker.php
--- a/web/lib/Zend/Http/UserAgent/Checker.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Checker.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
require_once 'Zend/Http/UserAgent/Desktop.php';
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -40,15 +40,15 @@
*/
protected static $_uaSignatures = array(
'abilogic',
- 'checklink',
- 'checker',
- 'linksmanager',
- 'mojoo',
- 'notifixious',
- 'ploetz',
- 'zeller',
- 'sitebar',
- 'xenu',
+ 'checklink',
+ 'checker',
+ 'linksmanager',
+ 'mojoo',
+ 'notifixious',
+ 'ploetz',
+ 'zeller',
+ 'sitebar',
+ 'xenu',
'sleuth',
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Console.php
--- a/web/lib/Zend/Http/UserAgent/Console.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Console.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Console extends Zend_Http_UserAgent_Desktop
@@ -38,8 +38,8 @@
* @var array
*/
protected static $_uaSignatures = array(
- 'playstation',
- 'wii',
+ 'playstation',
+ 'wii',
'libnup',
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Desktop.php
--- a/web/lib/Zend/Http/UserAgent/Desktop.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Desktop.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,7 +26,7 @@
*
* @category Zend
* @package Zend_Browser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Desktop extends Zend_Http_UserAgent_AbstractDevice
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Device.php
--- a/web/lib/Zend/Http/UserAgent/Device.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Device.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Http_UserAgent_Device extends Serializable
@@ -33,13 +33,13 @@
/**
* Constructor
*
- * Allows injecting user agent, server array, and/or config array. If an
+ * Allows injecting user agent, server array, and/or config array. If an
* array is provided for the first argument, the assumption should be that
* the device object is being seeded with cached values from serialization.
- *
- * @param null|string|array $userAgent
- * @param array $server
- * @param array $config
+ *
+ * @param null|string|array $userAgent
+ * @param array $server
+ * @param array $config
* @return void
*/
public function __construct($userAgent = null, array $server = array(), array $config = array());
@@ -48,145 +48,145 @@
* Attempt to match the user agent
*
* Return either an array of browser signature strings, or a boolean.
- *
- * @param string $userAgent
- * @param array $server
+ *
+ * @param string $userAgent
+ * @param array $server
* @return bool|array
*/
public static function match($userAgent, $server);
/**
* Get all browser/device features
- *
+ *
* @return array
*/
public function getAllFeatures();
/**
* Get all of the browser/device's features' groups
- *
+ *
* @return void
*/
public function getAllGroups();
/**
* Whether or not the device has a given feature
- *
- * @param string $feature
+ *
+ * @param string $feature
* @return bool
*/
public function hasFeature($feature);
/**
* Get the value of a specific device feature
- *
- * @param string $feature
+ *
+ * @param string $feature
* @return mixed
*/
public function getFeature($feature);
/**
* Get the browser type
- *
+ *
* @return string
*/
public function getBrowser();
/**
* Retrurn the browser version
- *
+ *
* @return string
*/
public function getBrowserVersion();
/**
* Get an array of features associated with a group
- *
- * @param string $group
+ *
+ * @param string $group
* @return array
*/
public function getGroup($group);
/**
* Retrieve image format support
- *
+ *
* @return array
*/
public function getImageFormatSupport();
/**
* Get image types
- *
+ *
* @return array
*/
public function getImages();
/**
* Get the maximum image height supported by this device
- *
+ *
* @return int
*/
public function getMaxImageHeight();
/**
* Get the maximum image width supported by this device
- *
+ *
* @return int
*/
public function getMaxImageWidth();
/**
* Get the physical screen height of this device
- *
+ *
* @return int
*/
public function getPhysicalScreenHeight();
/**
* Get the physical screen width of this device
- *
+ *
* @return int
*/
public function getPhysicalScreenWidth();
/**
* Get the preferred markup type
- *
+ *
* @return string
*/
public function getPreferredMarkup();
/**
* Get the user agent string
- *
+ *
* @return string
*/
public function getUserAgent();
/**
* Get supported X/HTML version
- *
+ *
* @return int
*/
public function getXhtmlSupportLevel();
/**
* Does the device support Flash?
- *
+ *
* @return bool
*/
public function hasFlashSupport();
/**
* Does the device support PDF?
- *
+ *
* @return bool
*/
public function hasPdfSupport();
/**
* Does the device have a phone number associated with it?
- *
+ *
* @return bool
*/
public function hasPhoneNumber();
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Email.php
--- a/web/lib/Zend/Http/UserAgent/Email.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Email.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Email extends Zend_Http_UserAgent_Desktop
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Exception.php
--- a/web/lib/Zend/Http/UserAgent/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Features/Adapter.php
--- a/web/lib/Zend/Http/UserAgent/Features/Adapter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Features/Adapter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,17 +15,17 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
/**
- * The interface required by all Zend_Browser_Features Adapter classes to implement.
+ * The interface required by all Zend_Browser_Features Adapter classes to implement.
*
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Http_UserAgent_Features_Adapter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Features/Adapter/Browscap.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Http/UserAgent/Features/Adapter/Browscap.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,90 @@
+ $value) {
+ // For a few keys, we need to munge a bit for the device object
+ switch ($key) {
+ case 'browser':
+ $features['mobile_browser'] = $value;
+ break;
+ case 'version':
+ $features['mobile_browser_version'] = $value;
+ break;
+ case 'platform':
+ $features['device_os'] = $value;
+ break;
+ default:
+ $features[$key] = $value;
+ break;
+ }
+ }
+ return $features;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Features/Adapter/DeviceAtlas.php
--- a/web/lib/Zend/Http/UserAgent/Features/Adapter/DeviceAtlas.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Features/Adapter/DeviceAtlas.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,12 +26,12 @@
/**
* Features adapter build with the Tera Wurfl Api
- * See installation instruction here : http://deviceatlas.com/licences
+ * See installation instruction here : http://deviceatlas.com/licences
* Download : http://deviceatlas.com/getAPI/php
*
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Features_Adapter_DeviceAtlas implements Zend_Http_UserAgent_Features_Adapter
@@ -50,9 +50,9 @@
throw new Zend_Http_UserAgent_Features_Exception('"DeviceAtlas" configuration is not defined');
}
}
-
+
$config = $config['deviceatlas'];
-
+
if (!class_exists('Mobi_Mtld_DA_Api')) {
if (empty($config['deviceatlas_lib_dir'])) {
require_once 'Zend/Http/UserAgent/Features/Exception.php';
@@ -62,17 +62,17 @@
// Include the Device Atlas file from the specified lib_dir
require_once ($config['deviceatlas_lib_dir'] . '/Mobi/Mtld/DA/Api.php');
}
-
+
if (empty($config['deviceatlas_data'])) {
require_once 'Zend/Http/UserAgent/Features/Exception.php';
throw new Zend_Http_UserAgent_Features_Exception('The "deviceatlas_data" parameter is not defined');
}
-
+
//load the device data-tree : e.g. 'json/DeviceAtlas.json
$tree = Mobi_Mtld_DA_Api::getTreeFromFile($config['deviceatlas_data']);
-
+
$properties = Mobi_Mtld_DA_Api::getProperties($tree, $request['http_user_agent']);
-
+
return $properties;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Features/Adapter/TeraWurfl.php
--- a/web/lib/Zend/Http/UserAgent/Features/Adapter/TeraWurfl.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Features/Adapter/TeraWurfl.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,12 +26,12 @@
/**
* Features adapter build with the Tera Wurfl Api
- * See installation instruction here : http://www.tera-wurfl.com/wiki/index.php/Installation
+ * See installation instruction here : http://www.tera-wurfl.com/wiki/index.php/Installation
* Download : http://www.tera-wurfl.com/wiki/index.php/Downloads
*
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Features_Adapter_TeraWurfl implements Zend_Http_UserAgent_Features_Adapter
@@ -45,7 +45,7 @@
public static function getFromRequest($request, array $config)
{
if (!class_exists('TeraWurfl')) {
- // If TeraWurfl class not found, see if we can load it from
+ // If TeraWurfl class not found, see if we can load it from
// configuration
//
if (!isset($config['terawurfl'])) {
@@ -53,7 +53,7 @@
require_once 'Zend/Http/UserAgent/Features/Exception.php';
throw new Zend_Http_UserAgent_Features_Exception('"TeraWurfl" configuration is not defined');
}
-
+
$config = $config['terawurfl'];
if (empty($config['terawurfl_lib_dir'])) {
@@ -65,25 +65,25 @@
// Include the Tera-WURFL file
require_once ($config['terawurfl_lib_dir'] . '/TeraWurfl.php');
}
-
-
+
+
// instantiate the Tera-WURFL object
$wurflObj = new TeraWurfl();
-
+
// Get the capabilities of the current client.
$matched = $wurflObj->getDeviceCapabilitiesFromRequest(array_change_key_case($request, CASE_UPPER));
-
+
return self::getAllCapabilities($wurflObj);
}
/***
* Builds an array with all capabilities
- *
+ *
* @param TeraWurfl $wurflObj TeraWurfl object
*/
public static function getAllCapabilities(TeraWurfl $wurflObj)
{
-
+
foreach ($wurflObj->capabilities as $group) {
if (!is_array($group)) {
continue;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Features/Adapter/WurflApi.php
--- a/web/lib/Zend/Http/UserAgent/Features/Adapter/WurflApi.php Sun Apr 21 10:07:03 2013 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-wurflFile($c['wurfl']['main-file'])
- ->wurflPatch($c['wurfl']['patches'])
- ->persistence($c['persistence']['provider'], $c['persistence']['dir']);
- }
-
- $wurflManagerFactory = new WURFL_WURFLManagerFactory($wurflConfig);
- $wurflManager = $wurflManagerFactory->create();
- break;
- default:
- require_once 'Zend/Http/UserAgent/Features/Exception.php';
- throw new Zend_Http_UserAgent_Features_Exception(sprintf(
- 'Unknown API version "%s"',
- $config['wurfl_api_version']
- ));
- }
-
- $device = $wurflManager->getDeviceForHttpRequest(array_change_key_case($request, CASE_UPPER));
- $features = $device->getAllCapabilities();
- return $features;
- }
-}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Features/Exception.php
--- a/web/lib/Zend/Http/UserAgent/Features/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Features/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Features_Exception extends Zend_Http_UserAgent_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Feed.php
--- a/web/lib/Zend/Http/UserAgent/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Feed extends Zend_Http_UserAgent_AbstractDevice
@@ -38,9 +38,9 @@
* @var array
*/
protected static $_uaSignatures = array(
- 'bloglines',
- 'everyfeed',
- 'feedfetcher',
+ 'bloglines',
+ 'everyfeed',
+ 'feedfetcher',
'gregarius',
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Mobile.php
--- a/web/lib/Zend/Http/UserAgent/Mobile.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Mobile.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,534 +1,536 @@
-setFeature('is_wireless_device', false, 'product_info');
-
- parent::_defineFeatures();
-
- if (isset($this->_aFeatures["mobile_browser"])) {
- $this->setFeature("browser_name", $this->_aFeatures["mobile_browser"]);
- $this->_browser = $this->_aFeatures["mobile_browser"];
- }
- if (isset($this->_aFeatures["mobile_browser_version"])) {
- $this->setFeature("browser_version", $this->_aFeatures["mobile_browser_version"]);
- $this->_browserVersion = $this->_aFeatures["mobile_browser_version"];
- }
-
- // markup
- if ($this->getFeature('device_os') == 'iPhone OS'
- || $this->getFeature('device_os_token') == 'iPhone OS'
- ) {
- $this->setFeature('markup', 'iphone');
- } else {
- $this->setFeature('markup', $this->getMarkupLanguage($this->getFeature('preferred_markup')));
- }
-
- // image format
- $this->_images = array();
-
- if ($this->getFeature('png')) {
- $this->_images[] = 'png';
- }
- if ($this->getFeature('jpg')) {
- $this->_images[] = 'jpg';
- }
- if ($this->getFeature('gif')) {
- $this->_images[] = 'gif';
- }
- if ($this->getFeature('wbmp')) {
- $this->_images[] = 'wbmp';
- }
-
- return $this->_aFeatures;
- }
-
- /**
- * Determine markup language expected
- *
- * @access public
- * @return __TYPE__
- */
- public function getMarkupLanguage($preferredMarkup = null)
- {
- $return = '';
- switch ($preferredMarkup) {
- case 'wml_1_1':
- case 'wml_1_2':
- case 'wml_1_3':
- $return = 'wml'; //text/vnd.wap.wml encoding="ISO-8859-15"
- case 'html_wi_imode_compact_generic':
- case 'html_wi_imode_html_1':
- case 'html_wi_imode_html_2':
- case 'html_wi_imode_html_3':
- case 'html_wi_imode_html_4':
- case 'html_wi_imode_html_5':
- $return = 'chtml'; //text/html
- case 'html_wi_oma_xhtmlmp_1_0': //application/vnd.wap.xhtml+xml
- case 'html_wi_w3_xhtmlbasic': //application/xhtml+xml DTD XHTML Basic 1.0
- $return = 'xhtml';
- case 'html_web_3_2': //text/html DTD Html 3.2 Final
- case 'html_web_4_0': //text/html DTD Html 4.01 Transitional
- $return = '';
- }
- return $return;
- }
-
- /**
- * Determine image format support
- *
- * @return array
- */
- public function getImageFormatSupport()
- {
- return $this->_images;
- }
-
- /**
- * Determine maximum image height supported
- *
- * @return int
- */
- public function getMaxImageHeight()
- {
- return $this->getFeature('max_image_height');
- }
-
- /**
- * Determine maximum image width supported
- *
- * @return int
- */
- public function getMaxImageWidth()
- {
- return $this->getFeature('max_image_width');
- }
-
- /**
- * Determine physical screen height
- *
- * @return int
- */
- public function getPhysicalScreenHeight()
- {
- return $this->getFeature('physical_screen_height');
- }
-
- /**
- * Determine physical screen width
- *
- * @return int
- */
- public function getPhysicalScreenWidth()
- {
- return $this->getFeature('physical_screen_width');
- }
-
- /**
- * Determine preferred markup
- *
- * @return string
- */
- public function getPreferredMarkup()
- {
- return $this->getFeature("markup");
- }
-
- /**
- * Determine X/HTML support level
- *
- * @return int
- */
- public function getXhtmlSupportLevel()
- {
- return $this->getFeature('xhtml_support_level');
- }
-
- /**
- * Does the device support Flash?
- *
- * @return bool
- */
- public function hasFlashSupport()
- {
- return $this->getFeature('fl_browser');
- }
-
- /**
- * Does the device support PDF?
- *
- * @return bool
- */
- public function hasPdfSupport()
- {
- return $this->getFeature('pdf_support');
- }
-
- /**
- * Does the device have an associated phone number?
- *
- * @return bool
- */
- public function hasPhoneNumber()
- {
- return $this->getFeature('can_assign_phone_number');
- }
-
- /**
- * Does the device support HTTPS?
- *
- * @return bool
- */
- public function httpsSupport()
- {
- return ($this->getFeature('https_support') == 'supported');
- }
-}
+setFeature('is_wireless_device', false, 'product_info');
+
+ parent::_defineFeatures();
+
+ if (isset($this->_aFeatures["mobile_browser"])) {
+ $this->setFeature("browser_name", $this->_aFeatures["mobile_browser"]);
+ $this->_browser = $this->_aFeatures["mobile_browser"];
+ }
+ if (isset($this->_aFeatures["mobile_browser_version"])) {
+ $this->setFeature("browser_version", $this->_aFeatures["mobile_browser_version"]);
+ $this->_browserVersion = $this->_aFeatures["mobile_browser_version"];
+ }
+
+ // markup
+ if ($this->getFeature('device_os') == 'iPhone OS'
+ || $this->getFeature('device_os_token') == 'iPhone OS'
+ ) {
+ $this->setFeature('markup', 'iphone');
+ } else {
+ $this->setFeature('markup', $this->getMarkupLanguage($this->getFeature('preferred_markup')));
+ }
+
+ // image format
+ $this->_images = array();
+
+ if ($this->getFeature('png')) {
+ $this->_images[] = 'png';
+ }
+ if ($this->getFeature('jpg')) {
+ $this->_images[] = 'jpg';
+ }
+ if ($this->getFeature('gif')) {
+ $this->_images[] = 'gif';
+ }
+ if ($this->getFeature('wbmp')) {
+ $this->_images[] = 'wbmp';
+ }
+
+ return $this->_aFeatures;
+ }
+
+ /**
+ * Determine markup language expected
+ *
+ * @access public
+ * @return __TYPE__
+ */
+ public function getMarkupLanguage($preferredMarkup = null)
+ {
+ $return = '';
+ switch ($preferredMarkup) {
+ case 'wml_1_1':
+ case 'wml_1_2':
+ case 'wml_1_3':
+ $return = 'wml'; //text/vnd.wap.wml encoding="ISO-8859-15"
+ case 'html_wi_imode_compact_generic':
+ case 'html_wi_imode_html_1':
+ case 'html_wi_imode_html_2':
+ case 'html_wi_imode_html_3':
+ case 'html_wi_imode_html_4':
+ case 'html_wi_imode_html_5':
+ $return = 'chtml'; //text/html
+ case 'html_wi_oma_xhtmlmp_1_0': //application/vnd.wap.xhtml+xml
+ case 'html_wi_w3_xhtmlbasic': //application/xhtml+xml DTD XHTML Basic 1.0
+ $return = 'xhtml';
+ case 'html_web_3_2': //text/html DTD Html 3.2 Final
+ case 'html_web_4_0': //text/html DTD Html 4.01 Transitional
+ $return = '';
+ }
+ return $return;
+ }
+
+ /**
+ * Determine image format support
+ *
+ * @return array
+ */
+ public function getImageFormatSupport()
+ {
+ return $this->_images;
+ }
+
+ /**
+ * Determine maximum image height supported
+ *
+ * @return int
+ */
+ public function getMaxImageHeight()
+ {
+ return $this->getFeature('max_image_height');
+ }
+
+ /**
+ * Determine maximum image width supported
+ *
+ * @return int
+ */
+ public function getMaxImageWidth()
+ {
+ return $this->getFeature('max_image_width');
+ }
+
+ /**
+ * Determine physical screen height
+ *
+ * @return int
+ */
+ public function getPhysicalScreenHeight()
+ {
+ return $this->getFeature('physical_screen_height');
+ }
+
+ /**
+ * Determine physical screen width
+ *
+ * @return int
+ */
+ public function getPhysicalScreenWidth()
+ {
+ return $this->getFeature('physical_screen_width');
+ }
+
+ /**
+ * Determine preferred markup
+ *
+ * @return string
+ */
+ public function getPreferredMarkup()
+ {
+ return $this->getFeature("markup");
+ }
+
+ /**
+ * Determine X/HTML support level
+ *
+ * @return int
+ */
+ public function getXhtmlSupportLevel()
+ {
+ return $this->getFeature('xhtml_support_level');
+ }
+
+ /**
+ * Does the device support Flash?
+ *
+ * @return bool
+ */
+ public function hasFlashSupport()
+ {
+ return $this->getFeature('fl_browser');
+ }
+
+ /**
+ * Does the device support PDF?
+ *
+ * @return bool
+ */
+ public function hasPdfSupport()
+ {
+ return $this->getFeature('pdf_support');
+ }
+
+ /**
+ * Does the device have an associated phone number?
+ *
+ * @return bool
+ */
+ public function hasPhoneNumber()
+ {
+ return $this->getFeature('can_assign_phone_number');
+ }
+
+ /**
+ * Does the device support HTTPS?
+ *
+ * @return bool
+ */
+ public function httpsSupport()
+ {
+ return ($this->getFeature('https_support') == 'supported');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Offline.php
--- a/web/lib/Zend/Http/UserAgent/Offline.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Offline.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Offline extends Zend_Http_UserAgent_Desktop
@@ -38,11 +38,11 @@
* @var array
*/
protected static $_uaSignatures = array(
- 'wget',
- 'webzip',
- 'webcopier',
- 'downloader',
- 'superbot',
+ 'wget',
+ 'webzip',
+ 'webcopier',
+ 'downloader',
+ 'superbot',
'offline',
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Probe.php
--- a/web/lib/Zend/Http/UserAgent/Probe.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Probe.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Probe extends Zend_Http_UserAgent_AbstractDevice
@@ -38,10 +38,10 @@
* @var array
*/
protected static $_uaSignatures = array(
- 'witbe',
+ 'witbe',
'netvigie',
);
-
+
/**
* Comparison of the UserAgent chain and User Agent signatures
*
@@ -54,7 +54,7 @@
return self::_matchAgentAgainstSignatures($userAgent, self::$_uaSignatures);
}
-
+
/**
* Gives the current browser type
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Spam.php
--- a/web/lib/Zend/Http/UserAgent/Spam.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Spam.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Spam extends Zend_Http_UserAgent_AbstractDevice
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Storage.php
--- a/web/lib/Zend/Http/UserAgent/Storage.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Storage.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,7 +23,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Http_UserAgent_Storage
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Storage/Exception.php
--- a/web/lib/Zend/Http/UserAgent/Storage/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Storage/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
/**
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Storage_Exception extends Zend_Http_UserAgent_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Storage/NonPersistent.php
--- a/web/lib/Zend/Http/UserAgent/Storage/NonPersistent.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Storage/NonPersistent.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: NonPersistent.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -36,10 +36,10 @@
*
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-class Zend_Http_UserAgent_Storage_NonPersistent
+class Zend_Http_UserAgent_Storage_NonPersistent
implements Zend_Http_UserAgent_Storage
{
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Storage/Session.php
--- a/web/lib/Zend/Http/UserAgent/Storage/Session.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Storage/Session.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -32,42 +32,42 @@
/**
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-class Zend_Http_UserAgent_Storage_Session implements Zend_Http_UserAgent_Storage
+class Zend_Http_UserAgent_Storage_Session implements Zend_Http_UserAgent_Storage
{
/**
* Default session namespace
*/
const NAMESPACE_DEFAULT = 'Zend_Http_UserAgent';
-
+
/**
* Default session object member name
*/
const MEMBER_DEFAULT = 'storage';
-
+
/**
* Object to proxy $_SESSION storage
*
* @var Zend_Session_Namespace
*/
protected $_session;
-
+
/**
* Session namespace
*
* @var mixed
*/
protected $_namespace;
-
+
/**
* Session object member
*
* @var mixed
*/
protected $_member;
-
+
/**
* Sets session storage options and initializes session namespace object
*
@@ -79,7 +79,7 @@
* @return void
* @throws Zend_Http_UserAgent_Storage_Exception on invalid $options argument
*/
- public function __construct($options = null)
+ public function __construct($options = null)
{
if (is_object($options) && method_exists($options, 'toArray')) {
$options = $options->toArray();
@@ -95,71 +95,71 @@
}
// add '.' to prevent the message ''Session namespace must not start with a number'
- $this->_namespace = '.'
- . (isset($options['browser_type'])
- ? $options['browser_type']
+ $this->_namespace = '.'
+ . (isset($options['browser_type'])
+ ? $options['browser_type']
: self::NAMESPACE_DEFAULT);
$this->_member = isset($options['member']) ? $options['member'] : self::MEMBER_DEFAULT;
$this->_session = new Zend_Session_Namespace($this->_namespace);
}
-
+
/**
* Returns the session namespace name
*
* @return string
*/
- public function getNamespace()
+ public function getNamespace()
{
return $this->_namespace;
}
-
+
/**
* Returns the name of the session object member
*
* @return string
*/
- public function getMember()
+ public function getMember()
{
return $this->_member;
}
-
+
/**
* Defined by Zend_Http_UserAgent_Storage
*
* @return boolean
*/
- public function isEmpty()
+ public function isEmpty()
{
return empty($this->_session->{$this->_member});
}
-
+
/**
* Defined by Zend_Http_UserAgent_Storage
*
* @return mixed
*/
- public function read()
+ public function read()
{
return $this->_session->{$this->_member};
}
-
+
/**
* Defined by Zend_Http_UserAgent_Storage
*
* @param mixed $contents
* @return void
*/
- public function write($content)
+ public function write($content)
{
$this->_session->{$this->_member} = $content;
}
-
+
/**
* Defined by Zend_Http_UserAgent_Storage
*
* @return void
*/
- public function clear()
+ public function clear()
{
unset($this->_session->{$this->_member});
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Text.php
--- a/web/lib/Zend/Http/UserAgent/Text.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Text.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Text extends Zend_Http_UserAgent_AbstractDevice
@@ -38,8 +38,8 @@
* @var array
*/
protected static $_uaSignatures = array(
- 'lynx',
- 'retawq',
+ 'lynx',
+ 'retawq',
'w3m',
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Http/UserAgent/Validator.php
--- a/web/lib/Zend/Http/UserAgent/Validator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Http/UserAgent/Validator.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Http
* @subpackage UserAgent
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Http_UserAgent_Validator extends Zend_Http_UserAgent_Desktop
@@ -38,14 +38,14 @@
* @var array
*/
protected static $_uaSignatures = array(
- 'htmlvalidator',
- 'csscheck',
- 'cynthia',
- 'htmlparser',
- 'validator',
- 'jfouffa',
- 'jigsaw',
- 'w3c_validator',
+ 'htmlvalidator',
+ 'csscheck',
+ 'cynthia',
+ 'htmlparser',
+ 'validator',
+ 'jfouffa',
+ 'jigsaw',
+ 'w3c_validator',
'wdg_validator',
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard.php
--- a/web/lib/Zend/InfoCard.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: InfoCard.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: InfoCard.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -52,7 +52,7 @@
/**
* @category Zend
* @package Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Adapter/Default.php
--- a/web/lib/Zend/InfoCard/Adapter/Default.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Adapter/Default.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Default.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Default.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Adapter_Default implements Zend_InfoCard_Adapter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Adapter/Exception.php
--- a/web/lib/Zend/InfoCard/Adapter/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Adapter/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Adapter_Exception extends Zend_InfoCard_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Adapter/Interface.php
--- a/web/lib/Zend/InfoCard/Adapter/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Adapter/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Adapter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher.php
--- a/web/lib/Zend/InfoCard/Cipher.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cipher.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cipher.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Cipher
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Exception.php
--- a/web/lib/Zend/InfoCard/Cipher/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Cipher_Exception extends Zend_InfoCard_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Abstract.php
--- a/web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_InfoCard_Cipher_Pki_Adapter_Abstract implements Zend_InfoCard_Cipher_Pki_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Rsa.php
--- a/web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Rsa.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Pki/Adapter/Rsa.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rsa.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rsa.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Cipher_Pki_Adapter_Rsa
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Pki/Interface.php
--- a/web/lib/Zend/InfoCard/Cipher/Pki/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Pki/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Cipher_Pki_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Pki/Rsa/Interface.php
--- a/web/lib/Zend/InfoCard/Cipher/Pki/Rsa/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Pki/Rsa/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Cipher_Pki_Rsa_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Abstract.php
--- a/web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_InfoCard_Cipher_Symmetric_Adapter_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Aes128cbc.php
--- a/web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Aes128cbc.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Aes128cbc.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Aes128cbc.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Aes128cbc.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Cipher_Symmetric_Adapter_Aes128cbc
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Aes256cbc.php
--- a/web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Aes256cbc.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Symmetric/Adapter/Aes256cbc.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Aes256cbc.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Aes256cbc.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Cipher_Symmetric_Adapter_Aes256cbc
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Symmetric/Aes128cbc/Interface.php
--- a/web/lib/Zend/InfoCard/Cipher/Symmetric/Aes128cbc/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Symmetric/Aes128cbc/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Cipher_Symmetric_Aes128cbc_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Symmetric/Aes256cbc/Interface.php
--- a/web/lib/Zend/InfoCard/Cipher/Symmetric/Aes256cbc/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Symmetric/Aes256cbc/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Cipher_Symmetric_Aes256cbc_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Cipher/Symmetric/Interface.php
--- a/web/lib/Zend/InfoCard/Cipher/Symmetric/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Cipher/Symmetric/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Cipher
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Cipher_Symmetric_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Claims.php
--- a/web/lib/Zend/InfoCard/Claims.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Claims.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Claims.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Claims.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -25,7 +25,7 @@
*
* @category Zend
* @package Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Claims
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Exception.php
--- a/web/lib/Zend/InfoCard/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
if (class_exists("Zend_Exception")) {
@@ -35,7 +35,7 @@
*
* @category Zend
* @package Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Exception extends Zend_InfoCard_Exception_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Assertion.php
--- a/web/lib/Zend/InfoCard/Xml/Assertion.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Assertion.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Assertion.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Assertion.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
final class Zend_InfoCard_Xml_Assertion
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Assertion/Interface.php
--- a/web/lib/Zend/InfoCard/Xml/Assertion/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Assertion/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Xml_Assertion_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Assertion/Saml.php
--- a/web/lib/Zend/InfoCard/Xml/Assertion/Saml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Assertion/Saml.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Saml.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Saml.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Assertion_Saml
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Element.php
--- a/web/lib/Zend/InfoCard/Xml/Element.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Element.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Element.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Element.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_InfoCard_Xml_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Element/Interface.php
--- a/web/lib/Zend/InfoCard/Xml/Element/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Element/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Xml_Element_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/EncryptedData.php
--- a/web/lib/Zend/InfoCard/Xml/EncryptedData.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/EncryptedData.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EncryptedData.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EncryptedData.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
final class Zend_InfoCard_Xml_EncryptedData
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/EncryptedData/Abstract.php
--- a/web/lib/Zend/InfoCard/Xml/EncryptedData/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/EncryptedData/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_InfoCard_Xml_EncryptedData_Abstract extends Zend_InfoCard_Xml_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/EncryptedData/XmlEnc.php
--- a/web/lib/Zend/InfoCard/Xml/EncryptedData/XmlEnc.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/EncryptedData/XmlEnc.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: XmlEnc.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: XmlEnc.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_EncryptedData_XmlEnc extends Zend_InfoCard_Xml_EncryptedData_Abstract
@@ -52,7 +52,7 @@
if(!($cipherdata instanceof Zend_InfoCard_Xml_Element)) {
throw new Zend_InfoCard_Xml_Exception("Unable to find the enc:CipherData block");
}
-
+ $cipherdata->registerXPathNamespace('enc', 'http://www.w3.org/2001/04/xmlenc#');
list(,$ciphervalue) = $cipherdata->xpath("//enc:CipherValue");
if(!($ciphervalue instanceof Zend_InfoCard_Xml_Element)) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/EncryptedKey.php
--- a/web/lib/Zend/InfoCard/Xml/EncryptedKey.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/EncryptedKey.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EncryptedKey.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EncryptedKey.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_EncryptedKey
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Exception.php
--- a/web/lib/Zend/InfoCard/Xml/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Exception extends Zend_InfoCard_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/KeyInfo.php
--- a/web/lib/Zend/InfoCard/Xml/KeyInfo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/KeyInfo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: KeyInfo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: KeyInfo.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_KeyInfo
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/KeyInfo/Abstract.php
--- a/web/lib/Zend/InfoCard/Xml/KeyInfo/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/KeyInfo/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_InfoCard_Xml_KeyInfo_Abstract extends Zend_InfoCard_Xml_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/KeyInfo/Default.php
--- a/web/lib/Zend/InfoCard/Xml/KeyInfo/Default.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/KeyInfo/Default.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Default.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Default.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_KeyInfo_Default extends Zend_InfoCard_Xml_KeyInfo_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/KeyInfo/Interface.php
--- a/web/lib/Zend/InfoCard/Xml/KeyInfo/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/KeyInfo/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Xml_KeyInfo_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/KeyInfo/XmlDSig.php
--- a/web/lib/Zend/InfoCard/Xml/KeyInfo/XmlDSig.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/KeyInfo/XmlDSig.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: XmlDSig.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: XmlDSig.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
*
* @category Zend
* @package Zend_InfoCard
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_KeyInfo_XmlDSig
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Security.php
--- a/web/lib/Zend/InfoCard/Xml/Security.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Security.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Security.php 23280 2010-10-31 10:28:58Z ramon $
+ * @version $Id: Security.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Security
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Security/Exception.php
--- a/web/lib/Zend/InfoCard/Xml/Security/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Security/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Security_Exception extends Zend_InfoCard_Xml_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Security/Transform.php
--- a/web/lib/Zend/InfoCard/Xml/Security/Transform.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Security/Transform.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Transform.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Transform.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Security_Transform
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Security/Transform/EnvelopedSignature.php
--- a/web/lib/Zend/InfoCard/Xml/Security/Transform/EnvelopedSignature.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Security/Transform/EnvelopedSignature.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EnvelopedSignature.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EnvelopedSignature.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Security_Transform_EnvelopedSignature
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Security/Transform/Exception.php
--- a/web/lib/Zend/InfoCard/Xml/Security/Transform/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Security/Transform/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Security_Transform_Exception extends Zend_InfoCard_Xml_Security_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Security/Transform/Interface.php
--- a/web/lib/Zend/InfoCard/Xml/Security/Transform/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Security/Transform/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_InfoCard_Xml_Security_Transform_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/Security/Transform/XmlExcC14N.php
--- a/web/lib/Zend/InfoCard/Xml/Security/Transform/XmlExcC14N.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/Security/Transform/XmlExcC14N.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: XmlExcC14N.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: XmlExcC14N.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml_Security
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_Security_Transform_XmlExcC14N
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/InfoCard/Xml/SecurityTokenReference.php
--- a/web/lib/Zend/InfoCard/Xml/SecurityTokenReference.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/InfoCard/Xml/SecurityTokenReference.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SecurityTokenReference.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SecurityTokenReference.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_InfoCard
* @subpackage Zend_InfoCard_Xml
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_InfoCard_Xml_SecurityTokenReference extends Zend_InfoCard_Xml_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json.php
--- a/web/lib/Zend/Json.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Json.php 20615 2010-01-25 19:54:12Z matthew $
+ * @version $Id: Json.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Json
* @uses Zend_Json_Expr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json
@@ -125,8 +125,12 @@
*/
public static function encode($valueToEncode, $cycleCheck = false, $options = array())
{
- if (is_object($valueToEncode) && method_exists($valueToEncode, 'toJson')) {
- return $valueToEncode->toJson();
+ if (is_object($valueToEncode)) {
+ if (method_exists($valueToEncode, 'toJson')) {
+ return $valueToEncode->toJson();
+ } elseif (method_exists($valueToEncode, 'toArray')) {
+ return self::encode($valueToEncode->toArray(), $cycleCheck, $options);
+ }
}
// Pre-encoding look for Zend_Json_Expr objects and replacing by tmp ids
@@ -179,12 +183,15 @@
* NOTE: This method is used internally by the encode method.
*
* @see encode
- * @param mixed $valueToCheck a string - object property to be encoded
+ * @param array|object|Zend_Json_Expr $value a string - object property to be encoded
+ * @param array $javascriptExpressions
+ * @param null $currentKey
+ *
+ * @internal param mixed $valueToCheck
* @return void
*/
- protected static function _recursiveJsonExprFinder(
- &$value, array &$javascriptExpressions, $currentKey = null
- ) {
+ protected static function _recursiveJsonExprFinder(&$value, array &$javascriptExpressions, $currentKey = null)
+ {
if ($value instanceof Zend_Json_Expr) {
// TODO: Optimize with ascii keys, if performance is bad
$magicKey = "____" . $currentKey . "_" . (count($javascriptExpressions));
@@ -208,6 +215,104 @@
}
/**
+ * Return the value of an XML attribute text or the text between
+ * the XML tags
+ *
+ * In order to allow Zend_Json_Expr from xml, we check if the node
+ * matchs the pattern that try to detect if it is a new Zend_Json_Expr
+ * if it matches, we return a new Zend_Json_Expr instead of a text node
+ *
+ * @param SimpleXMLElement $simpleXmlElementObject
+ * @return Zend_Json_Expr|string
+ */
+ protected static function _getXmlValue($simpleXmlElementObject) {
+ $pattern = '/^[\s]*new Zend_Json_Expr[\s]*\([\s]*[\"\']{1}(.*)[\"\']{1}[\s]*\)[\s]*$/';
+ $matchings = array();
+ $match = preg_match ($pattern, $simpleXmlElementObject, $matchings);
+ if ($match) {
+ return new Zend_Json_Expr($matchings[1]);
+ } else {
+ return (trim(strval($simpleXmlElementObject)));
+ }
+ }
+ /**
+ * _processXml - Contains the logic for xml2json
+ *
+ * The logic in this function is a recursive one.
+ *
+ * The main caller of this function (i.e. fromXml) needs to provide
+ * only the first two parameters i.e. the SimpleXMLElement object and
+ * the flag for ignoring or not ignoring XML attributes. The third parameter
+ * will be used internally within this function during the recursive calls.
+ *
+ * This function converts the SimpleXMLElement object into a PHP array by
+ * calling a recursive (protected static) function in this class. Once all
+ * the XML elements are stored in the PHP array, it is returned to the caller.
+ *
+ * Throws a Zend_Json_Exception if the XML tree is deeper than the allowed limit.
+ *
+ * @param SimpleXMLElement $simpleXmlElementObject
+ * @param boolean $ignoreXmlAttributes
+ * @param integer $recursionDepth
+ * @return array
+ */
+ protected static function _processXml($simpleXmlElementObject, $ignoreXmlAttributes, $recursionDepth=0)
+ {
+ // Keep an eye on how deeply we are involved in recursion.
+ if ($recursionDepth > self::$maxRecursionDepthAllowed) {
+ // XML tree is too deep. Exit now by throwing an exception.
+ require_once 'Zend/Json/Exception.php';
+ throw new Zend_Json_Exception(
+ "Function _processXml exceeded the allowed recursion depth of " .
+ self::$maxRecursionDepthAllowed);
+ } // End of if ($recursionDepth > self::$maxRecursionDepthAllowed)
+
+ $children = $simpleXmlElementObject->children();
+ $name = $simpleXmlElementObject->getName();
+ $value = self::_getXmlValue($simpleXmlElementObject);
+ $attributes = (array) $simpleXmlElementObject->attributes();
+
+ if (count($children) == 0) {
+ if (!empty($attributes) && !$ignoreXmlAttributes) {
+ foreach ($attributes['@attributes'] as $k => $v) {
+ $attributes['@attributes'][$k]= self::_getXmlValue($v);
+ }
+ if (!empty($value)) {
+ $attributes['@text'] = $value;
+ }
+ return array($name => $attributes);
+ } else {
+ return array($name => $value);
+ }
+ } else {
+ $childArray= array();
+ foreach ($children as $child) {
+ $childname = $child->getName();
+ $element = self::_processXml($child,$ignoreXmlAttributes,$recursionDepth+1);
+ if (array_key_exists($childname, $childArray)) {
+ if (empty($subChild[$childname])) {
+ $childArray[$childname] = array($childArray[$childname]);
+ $subChild[$childname] = true;
+ }
+ $childArray[$childname][] = $element[$childname];
+ } else {
+ $childArray[$childname] = $element[$childname];
+ }
+ }
+ if (!empty($attributes) && !$ignoreXmlAttributes) {
+ foreach ($attributes['@attributes'] as $k => $v) {
+ $attributes['@attributes'][$k] = self::_getXmlValue($v);
+ }
+ $childArray['@attributes'] = $attributes['@attributes'];
+ }
+ if (!empty($value)) {
+ $childArray['@text'] = $value;
+ }
+ return array($name => $childArray);
+ }
+ }
+
+ /**
* fromXml - Converts XML to JSON
*
* Converts a XML formatted string into a JSON formatted string.
@@ -233,7 +338,8 @@
* @return mixed - JSON formatted string on success
* @throws Zend_Json_Exception
*/
- public static function fromXml ($xmlStringContents, $ignoreXmlAttributes=true) {
+ public static function fromXml($xmlStringContents, $ignoreXmlAttributes=true)
+ {
// Load the XML formatted string into a Simple XML Element object.
$simpleXmlElementObject = simplexml_load_string($xmlStringContents);
@@ -252,120 +358,16 @@
// It is just that simple.
$jsonStringOutput = self::encode($resultArray);
return($jsonStringOutput);
- } // End of function fromXml.
+ }
+
+
/**
- * _processXml - Contains the logic for xml2json
- *
- * The logic in this function is a recursive one.
- *
- * The main caller of this function (i.e. fromXml) needs to provide
- * only the first two parameters i.e. the SimpleXMLElement object and
- * the flag for ignoring or not ignoring XML attributes. The third parameter
- * will be used internally within this function during the recursive calls.
- *
- * This function converts the SimpleXMLElement object into a PHP array by
- * calling a recursive (protected static) function in this class. Once all
- * the XML elements are stored in the PHP array, it is returned to the caller.
- *
- * Throws a Zend_Json_Exception if the XML tree is deeper than the allowed limit.
+ * Pretty-print JSON string
*
- * @static
- * @access protected
- * @param SimpleXMLElement $simpleXmlElementObject XML element to be converted
- * @param boolean $ignoreXmlAttributes Include or exclude XML attributes in
- * the xml2json conversion process.
- * @param int $recursionDepth Current recursion depth of this function
- * @return mixed - On success, a PHP associative array of traversed XML elements
- * @throws Zend_Json_Exception
- */
- protected static function _processXml ($simpleXmlElementObject, $ignoreXmlAttributes, $recursionDepth=0) {
- // Keep an eye on how deeply we are involved in recursion.
- if ($recursionDepth > self::$maxRecursionDepthAllowed) {
- // XML tree is too deep. Exit now by throwing an exception.
- require_once 'Zend/Json/Exception.php';
- throw new Zend_Json_Exception(
- "Function _processXml exceeded the allowed recursion depth of " .
- self::$maxRecursionDepthAllowed);
- } // End of if ($recursionDepth > self::$maxRecursionDepthAllowed)
-
- if ($recursionDepth == 0) {
- // Store the original SimpleXmlElementObject sent by the caller.
- // We will need it at the very end when we return from here for good.
- $callerProvidedSimpleXmlElementObject = $simpleXmlElementObject;
- } // End of if ($recursionDepth == 0)
-
- if ($simpleXmlElementObject instanceof SimpleXMLElement) {
- // Get a copy of the simpleXmlElementObject
- $copyOfSimpleXmlElementObject = $simpleXmlElementObject;
- // Get the object variables in the SimpleXmlElement object for us to iterate.
- $simpleXmlElementObject = get_object_vars($simpleXmlElementObject);
- } // End of if (get_class($simpleXmlElementObject) == "SimpleXMLElement")
-
- // It needs to be an array of object variables.
- if (is_array($simpleXmlElementObject)) {
- // Initialize a result array.
- $resultArray = array();
- // Is the input array size 0? Then, we reached the rare CDATA text if any.
- if (count($simpleXmlElementObject) <= 0) {
- // Let us return the lonely CDATA. It could even be
- // an empty element or just filled with whitespaces.
- return (trim(strval($copyOfSimpleXmlElementObject)));
- } // End of if (count($simpleXmlElementObject) <= 0)
-
- // Let us walk through the child elements now.
- foreach($simpleXmlElementObject as $key=>$value) {
- // Check if we need to ignore the XML attributes.
- // If yes, you can skip processing the XML attributes.
- // Otherwise, add the XML attributes to the result array.
- if(($ignoreXmlAttributes == true) && (is_string($key)) && ($key == "@attributes")) {
- continue;
- } // End of if(($ignoreXmlAttributes == true) && ($key == "@attributes"))
-
- // Let us recursively process the current XML element we just visited.
- // Increase the recursion depth by one.
- $recursionDepth++;
- $resultArray[$key] = self::_processXml ($value, $ignoreXmlAttributes, $recursionDepth);
-
- // Decrease the recursion depth by one.
- $recursionDepth--;
- } // End of foreach($simpleXmlElementObject as $key=>$value) {
-
- if ($recursionDepth == 0) {
- // That is it. We are heading to the exit now.
- // Set the XML root element name as the root [top-level] key of
- // the associative array that we are going to return to the original
- // caller of this recursive function.
- $tempArray = $resultArray;
- $resultArray = array();
- $resultArray[$callerProvidedSimpleXmlElementObject->getName()] = $tempArray;
- } // End of if ($recursionDepth == 0)
-
- return($resultArray);
- } else {
- // We are now looking at either the XML attribute text or
- // the text between the XML tags.
-
- // In order to allow Zend_Json_Expr from xml, we check if the node
- // matchs the pattern that try to detect if it is a new Zend_Json_Expr
- // if it matches, we return a new Zend_Json_Expr instead of a text node
- $pattern = '/^[\s]*new Zend_Json_Expr[\s]*\([\s]*[\"\']{1}(.*)[\"\']{1}[\s]*\)[\s]*$/';
- $matchings = array();
- $match = preg_match ($pattern, $simpleXmlElementObject, $matchings);
- if ($match) {
- return new Zend_Json_Expr($matchings[1]);
- } else {
- return (trim(strval($simpleXmlElementObject)));
- }
-
- } // End of if (is_array($simpleXmlElementObject))
- } // End of function _processXml.
-
- /**
- * Pretty-print JSON string
- *
- * Use 'indent' option to select indentation string - by default it's a tab
- *
+ * Use 'format' option to select output format - currently html and txt supported, txt is default
+ * Use 'indent' option to override the indentation string set in the format - by default for the 'txt' format it's a tab
+ *
* @param string $json Original JSON string
* @param array $options Encoding options
* @return string
@@ -373,32 +375,62 @@
public static function prettyPrint($json, $options = array())
{
$tokens = preg_split('|([\{\}\]\[,])|', $json, -1, PREG_SPLIT_DELIM_CAPTURE);
- $result = "";
+ $result = '';
$indent = 0;
-
+
+ $format= 'txt';
+
$ind = "\t";
- if(isset($options['indent'])) {
+
+ if (isset($options['format'])) {
+ $format = $options['format'];
+ }
+
+ switch ($format) {
+ case 'html':
+ $lineBreak = ' ';
+ $ind = ' ';
+ break;
+ default:
+ case 'txt':
+ $lineBreak = "\n";
+ $ind = "\t";
+ break;
+ }
+
+ // override the defined indent setting with the supplied option
+ if (isset($options['indent'])) {
$ind = $options['indent'];
}
-
+
+ $inLiteral = false;
foreach($tokens as $token) {
- if($token == "") continue;
-
+ if($token == '') {
+ continue;
+ }
+
$prefix = str_repeat($ind, $indent);
- if($token == "{" || $token == "[") {
+ if (!$inLiteral && ($token == '{' || $token == '[')) {
$indent++;
- if($result != "" && $result[strlen($result)-1] == "\n") {
+ if (($result != '') && ($result[(strlen($result)-1)] == $lineBreak)) {
$result .= $prefix;
}
- $result .= "$token\n";
- } else if($token == "}" || $token == "]") {
+ $result .= $token . $lineBreak;
+ } elseif (!$inLiteral && ($token == '}' || $token == ']')) {
$indent--;
$prefix = str_repeat($ind, $indent);
- $result .= "\n$prefix$token";
- } else if($token == ",") {
- $result .= "$token\n";
+ $result .= $lineBreak . $prefix . $token;
+ } elseif (!$inLiteral && $token == ',') {
+ $result .= $token . $lineBreak;
} else {
- $result .= $prefix.$token;
+ $result .= ( $inLiteral ? '' : $prefix ) . $token;
+
+ // Count # of unescaped double-quotes in token, subtract # of
+ // escaped double-quotes and if the result is odd then we are
+ // inside a string literal
+ if ((substr_count($token, "\"")-substr_count($token, "\\\"")) % 2 != 0) {
+ $inLiteral = !$inLiteral;
+ }
}
}
return $result;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Decoder.php
--- a/web/lib/Zend/Json/Decoder.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Decoder.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Decoder.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: Decoder.php 24799 2012-05-12 19:27:07Z adamlundrigan $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Decoder
@@ -236,6 +236,9 @@
// Create new StdClass and populate with $members
$result = new StdClass();
foreach ($members as $key => $value) {
+ if ($key === '') {
+ $key = '_empty_';
+ }
$result->$key = $value;
}
break;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Encoder.php
--- a/web/lib/Zend/Json/Encoder.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Encoder.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Encoder.php 22452 2010-06-18 18:13:23Z ralph $
+ * @version $Id: Encoder.php 25059 2012-11-02 21:01:06Z rob $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Encoder
@@ -74,7 +74,6 @@
public static function encode($value, $cycleCheck = false, $options = array())
{
$encoder = new self(($cycleCheck) ? true : false, $options);
-
return $encoder->_encodeValue($value);
}
@@ -85,7 +84,7 @@
* - arrays (returns from {@link _encodeArray()})
* - basic datums (e.g. numbers or strings) (returns from {@link _encodeDatum()})
*
- * @param $value mixed The value to be encoded
+ * @param mixed $value The value to be encoded
* @return string Encoded value
*/
protected function _encodeValue(&$value)
@@ -108,7 +107,7 @@
* that contains the name of the class of $value. This is used to decode
* the object on the client into a specific class.
*
- * @param $value object
+ * @param object $value
* @return string
* @throws Zend_Json_Exception If recursive checks are enabled and the object has been serialized previously
*/
@@ -135,23 +134,28 @@
}
$props = '';
-
- if ($value instanceof Iterator) {
- $propCollection = $value;
+ if (method_exists($value, 'toJson')) {
+ $props =',' . preg_replace("/^\{(.*)\}$/","\\1",$value->toJson());
} else {
- $propCollection = get_object_vars($value);
- }
+ if ($value instanceof IteratorAggregate) {
+ $propCollection = $value->getIterator();
+ } elseif ($value instanceof Iterator) {
+ $propCollection = $value;
+ } else {
+ $propCollection = get_object_vars($value);
+ }
- foreach ($propCollection as $name => $propValue) {
- if (isset($propValue)) {
- $props .= ','
- . $this->_encodeString($name)
- . ':'
- . $this->_encodeValue($propValue);
+ foreach ($propCollection as $name => $propValue) {
+ if (isset($propValue)) {
+ $props .= ','
+ . $this->_encodeString($name)
+ . ':'
+ . $this->_encodeValue($propValue);
+ }
}
}
-
- return '{"__className":"' . get_class($value) . '"'
+ $className = get_class($value);
+ return '{"__className":' . $this->_encodeString($className)
. $props . '}';
}
@@ -182,7 +186,7 @@
* the last index is (count($array) -1); any deviation from that is
* considered an associative array, and will be encoded as such.
*
- * @param $array array
+ * @param array& $array
* @return string
*/
protected function _encodeArray(&$array)
@@ -222,7 +226,7 @@
* If value type is not a string, number, boolean, or null, the string
* 'null' is returned.
*
- * @param $value mixed
+ * @param mixed& $value
* @return string
*/
protected function _encodeDatum(&$value)
@@ -245,7 +249,7 @@
/**
* JSON encode a string value by escaping characters as necessary
*
- * @param $value string
+ * @param string& $value
* @return string
*/
protected function _encodeString(&$string)
@@ -270,7 +274,7 @@
* Encode the constants associated with the ReflectionClass
* parameter. The encoding format is based on the class2 format
*
- * @param $cls ReflectionClass
+ * @param ReflectionClass $cls
* @return string Encoded constant block in class2 format
*/
private static function _encodeConstants(ReflectionClass $cls)
@@ -295,7 +299,7 @@
* Encode the public methods of the ReflectionClass in the
* class2 format
*
- * @param $cls ReflectionClass
+ * @param ReflectionClass $cls
* @return string Encoded method fragment
*
*/
@@ -359,7 +363,7 @@
* Encode the public properties of the ReflectionClass in the class2
* format.
*
- * @param $cls ReflectionClass
+ * @param ReflectionClass $cls
* @return string Encode properties list
*
*/
@@ -391,10 +395,10 @@
* NOTE: Currently only public methods and variables are proxied onto
* the client machine
*
- * @param $className string The name of the class, the class must be
- * instantiable using a null constructor
- * @param $package string Optional package name appended to JavaScript
- * proxy class name
+ * @param string $className The name of the class, the class must be
+ * instantiable using a null constructor
+ * @param string $package Optional package name appended to JavaScript
+ * proxy class name
* @return string The class2 (JavaScript) encoding of the class
* @throws Zend_Json_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Exception.php
--- a/web/lib/Zend/Json/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Expr.php
--- a/web/lib/Zend/Json/Expr.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Expr.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Json
* @subpackage Expr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Expr.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Expr.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -45,7 +45,7 @@
* @category Zend
* @package Zend_Json
* @subpackage Expr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Expr
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server.php
--- a/web/lib/Zend/Json/Server.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Server.php 22237 2010-05-21 23:58:00Z andyfowler $
+ * @version $Id: Server.php 25085 2012-11-06 21:11:41Z rob $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server extends Zend_Server_Abstract
@@ -534,8 +534,8 @@
$reflection = new ReflectionFunction( $callback->getFunction() );
$refParams = $reflection->getParameters();
} else {
-
- $reflection = new ReflectionMethod(
+
+ $reflection = new ReflectionMethod(
$callback->getClass(),
$callback->getMethod()
);
@@ -547,11 +547,11 @@
if( isset( $params[ $refParam->getName() ] ) ) {
$orderedParams[ $refParam->getName() ] = $params[ $refParam->getName() ];
} elseif( $refParam->isOptional() ) {
- $orderedParams[ $refParam->getName() ] = null;
+ $orderedParams[ $refParam->getName() ] = $refParam->getDefaultValue();
} else {
- throw new Zend_Server_Exception(
- 'Missing required parameter: ' . $refParam->getName()
- );
+ throw new Zend_Server_Exception(
+ 'Missing required parameter: ' . $refParam->getName()
+ );
}
}
$params = $orderedParams;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Cache.php
--- a/web/lib/Zend/Json/Server/Cache.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Cache.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cache.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cache.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Server_Cache */
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Cache extends Zend_Server_Cache
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Error.php
--- a/web/lib/Zend/Json/Server/Error.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Error.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Error.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Error.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Error
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Exception.php
--- a/web/lib/Zend/Json/Server/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Json_Exception */
@@ -28,7 +28,7 @@
* @uses Zend_Json_Exception
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Exception extends Zend_Json_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Request.php
--- a/web/lib/Zend/Json/Server/Request.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Request.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Request.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Request.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Request
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Request/Http.php
--- a/web/lib/Zend/Json/Server/Request/Http.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Request/Http.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Http.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Http.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Request_Http extends Zend_Json_Server_Request
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Response.php
--- a/web/lib/Zend/Json/Server/Response.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Response.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Response.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Response.php 24807 2012-05-15 12:10:42Z adamlundrigan $
*/
/**
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Response
@@ -144,13 +144,14 @@
*/
public function setVersion($version)
{
- $version = (string) $version;
- if ('2.0' == $version) {
+ $version = is_array($version)
+ ? implode(' ', $version)
+ : $version;
+ if ((string)$version == '2.0') {
$this->_version = '2.0';
} else {
$this->_version = null;
}
-
return $this;
}
@@ -173,7 +174,6 @@
{
if ($this->isError()) {
$response = array(
- 'result' => null,
'error' => $this->getError()->toArray(),
'id' => $this->getId(),
);
@@ -181,7 +181,6 @@
$response = array(
'result' => $this->getResult(),
'id' => $this->getId(),
- 'error' => null,
);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Response/Http.php
--- a/web/lib/Zend/Json/Server/Response/Http.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Response/Http.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Http.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Http.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Response_Http extends Zend_Json_Server_Response
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Smd.php
--- a/web/lib/Zend/Json/Server/Smd.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Smd.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Smd.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Smd.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Json
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Smd
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Json/Server/Smd/Service.php
--- a/web/lib/Zend/Json/Server/Smd/Service.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Json/Server/Smd/Service.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,8 +28,8 @@
*
* @package Zend_Json
* @subpackage Server
- * @version $Id: Service.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Service.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Server_Smd_Service
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Layout.php
--- a/web/lib/Zend/Layout.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Layout.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Layout
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Layout.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Layout.php 25263 2013-02-18 11:48:02Z frosch $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Layout
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Layout
@@ -174,12 +174,12 @@
{
if (null === self::$_mvcInstance) {
self::$_mvcInstance = new self($options, true);
- }
-
- if (is_string($options)) {
- self::$_mvcInstance->setLayoutPath($options);
- } elseif (is_array($options) || $options instanceof Zend_Config) {
- self::$_mvcInstance->setOptions($options);
+ } else {
+ if (is_string($options)) {
+ self::$_mvcInstance->setLayoutPath($options);
+ } elseif (is_array($options) || $options instanceof Zend_Config) {
+ self::$_mvcInstance->setOptions($options);
+ }
}
return self::$_mvcInstance;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Layout/Controller/Action/Helper/Layout.php
--- a/web/lib/Zend/Layout/Controller/Action/Helper/Layout.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Layout/Controller/Action/Helper/Layout.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Layout.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Layout.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Zend_Controller_Action
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Layout_Controller_Action_Helper_Layout extends Zend_Controller_Action_Helper_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Layout/Controller/Plugin/Layout.php
--- a/web/lib/Zend/Layout/Controller/Plugin/Layout.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Layout/Controller/Plugin/Layout.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @category Zend
* @package Zend_Controller
* @subpackage Plugins
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Layout.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Layout.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Layout_Controller_Plugin_Layout extends Zend_Controller_Plugin_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Layout/Exception.php
--- a/web/lib/Zend/Layout/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Layout/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Layout
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Layout
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Layout_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap.php
--- a/web/lib/Zend/Ldap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,15 +15,15 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ldap.php 22996 2010-09-22 17:01:46Z sgehrig $
+ * @version $Id: Ldap.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap
@@ -922,8 +922,8 @@
* @param array $attributes
* @param string|null $sort
* @param string|null $collectionClass
- * @param integer $sizelimit
- * @param integer $timelimit
+ * @param integer $sizelimit
+ * @param integer $timelimit
* @return Zend_Ldap_Collection
* @throws Zend_Ldap_Exception
*/
@@ -1008,8 +1008,8 @@
/**
* Extension point for collection creation
*
- * @param Zend_Ldap_Collection_Iterator_Default $iterator
- * @param string|null $collectionClass
+ * @param Zend_Ldap_Collection_Iterator_Default $iterator
+ * @param string|null $collectionClass
* @return Zend_Ldap_Collection
* @throws Zend_Ldap_Exception
*/
@@ -1107,8 +1107,8 @@
* @param array $attributes
* @param string|null $sort
* @param boolean $reverseSort
- * @param integer $sizelimit
- * @param integer $timelimit
+ * @param integer $sizelimit
+ * @param integer $timelimit
* @return array
* @throws Zend_Ldap_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Attribute.php
--- a/web/lib/Zend/Ldap/Attribute.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Attribute.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Attribute.php 22996 2010-09-22 17:01:46Z sgehrig $
+ * @version $Id: Attribute.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Attribute
@@ -214,9 +214,9 @@
/**
* Converts a PHP data type into its LDAP representation
*
- * @deprected use Zend_Ldap_Converter instead
- * @param mixed $value
- * @return string|null - null if the PHP data type cannot be converted.
+ * @deprected use Zend_Ldap_Converter instead
+ * @param mixed $value
+ * @return string|null - null if the PHP data type cannot be converted.
*/
public static function convertToLdapValue($value)
{
@@ -226,9 +226,9 @@
/**
* Converts an LDAP value into its PHP data type
*
- * @deprected use Zend_Ldap_Converter instead
- * @param string $value
- * @return mixed
+ * @deprected use Zend_Ldap_Converter instead
+ * @param string $value
+ * @return mixed
*/
public static function convertFromLdapValue($value)
{
@@ -392,9 +392,9 @@
}
}
else {
- $newVal = self::_valueFromLdapDateTime($values);
- if ($newVal !== null) $values = $newVal;
- }
+ $newVal = self::_valueFromLdapDateTime($values);
+ if ($newVal !== null) $values = $newVal;
+ }
return $values;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Collection.php
--- a/web/lib/Zend/Ldap/Collection.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Collection.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Collection.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Collection.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Collection implements Iterator, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Collection/Iterator/Default.php
--- a/web/lib/Zend/Ldap/Collection/Iterator/Default.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Collection/Iterator/Default.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Default.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Default.php 24612 2012-01-21 14:42:30Z sgehrig $
*/
/**
@@ -25,7 +25,7 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Collection_Iterator_Default implements Iterator, Countable
@@ -260,7 +260,7 @@
*/
public function next()
{
- if (is_resource($this->_current)) {
+ if (is_resource($this->_current) && $this->_itemCount > 0) {
$this->_current = @ldap_next_entry($this->_ldap->getResource(), $this->_current);
/** @see Zend_Ldap_Exception */
require_once 'Zend/Ldap/Exception.php';
@@ -273,6 +273,8 @@
throw new Zend_Ldap_Exception($this->_ldap, 'getting next entry (' . $msg . ')');
}
}
+ } else {
+ $this->_current = false;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Converter.php
--- a/web/lib/Zend/Ldap/Converter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Converter.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Converter.php 22996 2010-09-22 17:01:46Z sgehrig $
+ * @version $Id: Converter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Converter
@@ -73,7 +73,7 @@
return $string;
}
- /**
+ /**
* Convert any value to an LDAP-compatible value.
*
* By setting the $type -parameter the conversion of a certain
@@ -81,10 +81,10 @@
*
* @todo write more tests
*
- * @param mixed $value The value to convert
- * @param int $ytpe The conversion type to use
- * @return string
- * @throws Zend_Ldap_Converter_Exception
+ * @param mixed $value The value to convert
+ * @param int $ytpe The conversion type to use
+ * @return string
+ * @throws Zend_Ldap_Converter_Exception
*/
public static function toLdap($value, $type = self::STANDARD)
{
@@ -132,11 +132,11 @@
* DateTime Object, a string that is parseable by strtotime() or a Zend_Date
* Object.
*
- * @param integer|string|DateTimt|Zend_Date $date The date-entity
- * @param boolean $asUtc Whether to return the LDAP-compatible date-string
- * as UTC or as local value
- * @return string
- * @throws InvalidArgumentException
+ * @param integer|string|DateTimt|Zend_Date $date The date-entity
+ * @param boolean $asUtc Whether to return the LDAP-compatible date-string
+ * as UTC or as local value
+ * @return string
+ * @throws InvalidArgumentException
*/
public static function toLdapDateTime($date, $asUtc = true)
{
@@ -170,8 +170,8 @@
* case-insensitive string 'true' to an LDAP-compatible 'TRUE'. All other
* other values are converted to an LDAP-compatible 'FALSE'.
*
- * @param boolean|integer|string $value The boolean value to encode
- * @return string
+ * @param boolean|integer|string $value The boolean value to encode
+ * @return string
*/
public static function toLdapBoolean($value)
{
@@ -188,8 +188,8 @@
/**
* Serialize any value for storage in LDAP
*
- * @param mixed $value The value to serialize
- * @return string
+ * @param mixed $value The value to serialize
+ * @return string
*/
public static function toLdapSerialize($value)
{
@@ -202,11 +202,11 @@
* By setting the $type -parameter the conversion of a certain
* type can be forced
* .
- * @param string $value The value to convert
- * @param int $ytpe The conversion type to use
- * @param boolean $dateTimeAsUtc Return DateTime values in UTC timezone
- * @return mixed
- * @throws Zend_Ldap_Converter_Exception
+ * @param string $value The value to convert
+ * @param int $ytpe The conversion type to use
+ * @param boolean $dateTimeAsUtc Return DateTime values in UTC timezone
+ * @return mixed
+ * @throws Zend_Ldap_Converter_Exception
*/
public static function fromLdap($value, $type = self::STANDARD, $dateTimeAsUtc = true)
{
@@ -219,7 +219,8 @@
break;
default:
if (is_numeric($value)) {
- return (float)$value;
+ // prevent numeric values to be treated as date/time
+ return $value;
} else if ('TRUE' === $value || 'FALSE' === $value) {
return self::fromLdapBoolean($value);
}
@@ -239,10 +240,10 @@
*
* CAVEAT: The DateTime-Object returned will alwasy be set to UTC-Timezone.
*
- * @param string $date The generalized-Time
- * @param boolean $asUtc Return the DateTime with UTC timezone
- * @return DateTime
- * @throws InvalidArgumentException if a non-parseable-format is given
+ * @param string $date The generalized-Time
+ * @param boolean $asUtc Return the DateTime with UTC timezone
+ * @return DateTime
+ * @throws InvalidArgumentException if a non-parseable-format is given
*/
public static function fromLdapDateTime($date, $asUtc = true)
{
@@ -265,7 +266,7 @@
'second' => 0,
'offdir' => '+',
'offsethours' => 0,
- 'offsetminutes' => 0
+ 'offsetminutes' => 0
);
$length = strlen($date);
@@ -363,9 +364,9 @@
/**
* Convert an LDAP-compatible boolean value into a PHP-compatible one
*
- * @param string $value The value to convert
- * @return boolean
- * @throws InvalidArgumentException
+ * @param string $value The value to convert
+ * @return boolean
+ * @throws InvalidArgumentException
*/
public static function fromLdapBoolean($value)
{
@@ -381,9 +382,9 @@
/**
* Unserialize a serialized value to return the corresponding object
*
- * @param string $value The value to convert
- * @return mixed
- * @throws UnexpectedValueException
+ * @param string $value The value to convert
+ * @return mixed
+ * @throws UnexpectedValueException
*/
public static function fromLdapUnserialize($value)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Converter/Exception.php
--- a/web/lib/Zend/Ldap/Converter/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Converter/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Converter_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Dn.php
--- a/web/lib/Zend/Ldap/Dn.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Dn.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Dn.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Dn.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Dn implements ArrayAccess
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Exception.php
--- a/web/lib/Zend/Ldap/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Ldap
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 22996 2010-09-22 17:01:46Z sgehrig $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Ldap
* @uses Zend_Exception
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter.php
--- a/web/lib/Zend/Ldap/Filter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Filter.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Filter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Filter extends Zend_Ldap_Filter_String
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/Abstract.php
--- a/web/lib/Zend/Ldap/Filter/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Ldap_Filter_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/And.php
--- a/web/lib/Zend/Ldap/Filter/And.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/And.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: And.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: And.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Filter_And extends Zend_Ldap_Filter_Logical
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/Exception.php
--- a/web/lib/Zend/Ldap/Filter/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Filter_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/Logical.php
--- a/web/lib/Zend/Ldap/Filter/Logical.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/Logical.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Logical.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Logical.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Ldap_Filter_Logical extends Zend_Ldap_Filter_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/Mask.php
--- a/web/lib/Zend/Ldap/Filter/Mask.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/Mask.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mask.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mask.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Filter_Mask extends Zend_Ldap_Filter_String
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/Not.php
--- a/web/lib/Zend/Ldap/Filter/Not.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/Not.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Not.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Not.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Filter_Not extends Zend_Ldap_Filter_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/Or.php
--- a/web/lib/Zend/Ldap/Filter/Or.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/Or.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Or.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Or.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Filter_Or extends Zend_Ldap_Filter_Logical
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Filter/String.php
--- a/web/lib/Zend/Ldap/Filter/String.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Filter/String.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: String.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: String.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Filter_String extends Zend_Ldap_Filter_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Ldif/Encoder.php
--- a/web/lib/Zend/Ldap/Ldif/Encoder.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Ldif/Encoder.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Ldif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Encoder.php 21005 2010-02-09 13:16:26Z sgehrig $
+ * @version $Id: Encoder.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Ldif
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Ldif_Encoder
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node.php
--- a/web/lib/Zend/Ldap/Node.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Node.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Node.php 24610 2012-01-21 13:54:27Z sgehrig $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node extends Zend_Ldap_Node_Abstract implements Iterator, RecursiveIterator
@@ -171,6 +171,7 @@
$this->_ldap = $ldap;
if (is_array($this->_children)) {
foreach ($this->_children as $child) {
+ /* @var Zend_Ldap_Node $child */
$child->attachLdap($ldap);
}
}
@@ -190,6 +191,7 @@
$this->_ldap = null;
if (is_array($this->_children)) {
foreach ($this->_children as $child) {
+ /* @var Zend_Ldap_Node $child */
$child->detachLdap();
}
}
@@ -319,12 +321,17 @@
/**
* Ensures that teh RDN attributes are correctly set.
*
+ * @param boolean $overwrite True to overwrite the RDN attributes
* @return void
*/
- protected function _ensureRdnAttributeValues()
+ protected function _ensureRdnAttributeValues($overwrite = false)
{
foreach ($this->getRdnArray() as $key => $value) {
- Zend_Ldap_Attribute::setAttribute($this->_currentData, $key, $value, false);
+ if (!array_key_exists($key, $this->_currentData) || $overwrite) {
+ Zend_Ldap_Attribute::setAttribute($this->_currentData, $key, $value, false);
+ } else if (!in_array($value, $this->_currentData[$key])) {
+ Zend_Ldap_Attribute::setAttribute($this->_currentData, $key, $value, true);
+ }
}
}
@@ -428,20 +435,25 @@
if ($this->willBeDeleted()) {
if ($ldap->exists($this->_dn)) {
+ $this->_preDelete();
$ldap->delete($this->_dn);
+ $this->_postDelete();
}
return $this;
}
if ($this->isNew()) {
+ $this->_preAdd();
$data = $this->getData();
$ldap->add($this->_getDn(), $data);
$this->_loadData($data, true);
+ $this->_postAdd();
return $this;
}
$changedData = $this->getChangedData();
if ($this->willBeMoved()) {
+ $this->_preRename();
$recursive = $this->hasChildren();
$ldap->rename($this->_dn, $this->_newDn, $recursive, false);
foreach ($this->_newDn->getRdn() as $key => $value) {
@@ -451,9 +463,12 @@
}
$this->_dn = $this->_newDn;
$this->_newDn = null;
+ $this->_postRename();
}
if (count($changedData) > 0) {
+ $this->_preUpdate();
$ldap->update($this->_getDn(), $changedData);
+ $this->_postUpdate();
}
$this->_originalData = $this->_currentData;
return $this;
@@ -501,7 +516,7 @@
} else {
$this->_newDn = Zend_Ldap_Dn::factory($newDn);
}
- $this->_ensureRdnAttributeValues();
+ $this->_ensureRdnAttributeValues(true);
return $this;
}
@@ -1019,6 +1034,7 @@
if ($this->isAttached()) {
$children = $this->searchChildren('(objectClass=*)', null);
foreach ($children as $child) {
+ /* @var Zend_Ldap_Node $child */
$this->_children[$child->getRdnString(Zend_Ldap_Dn::ATTR_CASEFOLD_LOWER)] = $child;
}
}
@@ -1098,4 +1114,72 @@
{
return $this->_iteratorRewind;
}
+
+ ####################################################
+ # Empty method bodies for overriding in subclasses #
+ ####################################################
+
+ /**
+ * Allows pre-delete logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _preDelete() { }
+
+ /**
+ * Allows post-delete logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _postDelete() { }
+
+ /**
+ * Allows pre-add logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _preAdd() { }
+
+ /**
+ * Allows post-add logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _postAdd() { }
+
+ /**
+ * Allows pre-rename logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _preRename() { }
+
+ /**
+ * Allows post-rename logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _postRename() { }
+
+ /**
+ * Allows pre-update logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _preUpdate() { }
+
+ /**
+ * Allows post-update logic to be applied to node.
+ * Subclasses may override this method.
+ *
+ * @return void
+ */
+ protected function _postUpdate() { }
}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Abstract.php
--- a/web/lib/Zend/Ldap/Node/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/ChildrenIterator.php
--- a/web/lib/Zend/Ldap/Node/ChildrenIterator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/ChildrenIterator.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ChildrenIterator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ChildrenIterator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_ChildrenIterator implements Iterator, Countable, RecursiveIterator, ArrayAccess
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Collection.php
--- a/web/lib/Zend/Ldap/Node/Collection.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Collection.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Collection.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Collection.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Node
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Collection extends Zend_Ldap_Collection
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/RootDse.php
--- a/web/lib/Zend/Ldap/Node/RootDse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/RootDse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RootDse.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RootDse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_RootDse extends Zend_Ldap_Node_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/RootDse/ActiveDirectory.php
--- a/web/lib/Zend/Ldap/Node/RootDse/ActiveDirectory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/RootDse/ActiveDirectory.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActiveDirectory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActiveDirectory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_RootDse_ActiveDirectory extends Zend_Ldap_Node_RootDse
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/RootDse/OpenLdap.php
--- a/web/lib/Zend/Ldap/Node/RootDse/OpenLdap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/RootDse/OpenLdap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenLdap.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenLdap.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_RootDse_OpenLdap extends Zend_Ldap_Node_RootDse
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/RootDse/eDirectory.php
--- a/web/lib/Zend/Ldap/Node/RootDse/eDirectory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/RootDse/eDirectory.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: eDirectory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: eDirectory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage RootDSE
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_RootDse_eDirectory extends Zend_Ldap_Node_RootDse
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema.php
--- a/web/lib/Zend/Ldap/Node/Schema.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Schema.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Schema.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Schema extends Zend_Ldap_Node_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/ActiveDirectory.php
--- a/web/lib/Zend/Ldap/Node/Schema/ActiveDirectory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/ActiveDirectory.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActiveDirectory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActiveDirectory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Schema_ActiveDirectory extends Zend_Ldap_Node_Schema
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/AttributeType/ActiveDirectory.php
--- a/web/lib/Zend/Ldap/Node/Schema/AttributeType/ActiveDirectory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/AttributeType/ActiveDirectory.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActiveDirectory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActiveDirectory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Schema_AttributeType_ActiveDirectory extends Zend_Ldap_Node_Schema_Item
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/AttributeType/Interface.php
--- a/web/lib/Zend/Ldap/Node/Schema/AttributeType/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/AttributeType/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Ldap_Node_Schema_AttributeType_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/AttributeType/OpenLdap.php
--- a/web/lib/Zend/Ldap/Node/Schema/AttributeType/OpenLdap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/AttributeType/OpenLdap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenLdap.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenLdap.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Schema_AttributeType_OpenLdap extends Zend_Ldap_Node_Schema_Item
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/Item.php
--- a/web/lib/Zend/Ldap/Node/Schema/Item.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/Item.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Item.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Item.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Ldap_Node_Schema_Item implements ArrayAccess, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/ObjectClass/ActiveDirectory.php
--- a/web/lib/Zend/Ldap/Node/Schema/ObjectClass/ActiveDirectory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/ObjectClass/ActiveDirectory.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ActiveDirectory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ActiveDirectory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory extends Zend_Ldap_Node_Schema_Item
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/ObjectClass/Interface.php
--- a/web/lib/Zend/Ldap/Node/Schema/ObjectClass/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/ObjectClass/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Ldap_Node_Schema_ObjectClass_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/ObjectClass/OpenLdap.php
--- a/web/lib/Zend/Ldap/Node/Schema/ObjectClass/OpenLdap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/ObjectClass/OpenLdap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenLdap.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenLdap.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Schema_ObjectClass_OpenLdap extends Zend_Ldap_Node_Schema_Item
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Ldap/Node/Schema/OpenLdap.php
--- a/web/lib/Zend/Ldap/Node/Schema/OpenLdap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Ldap/Node/Schema/OpenLdap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenLdap.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenLdap.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Ldap
* @subpackage Schema
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader.php
--- a/web/lib/Zend/Loader.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Loader.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Loader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Loader.php 22019 2010-04-27 16:33:31Z matthew $
+ * @version $Id: Loader.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Loader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Loader
@@ -60,19 +60,7 @@
throw new Zend_Exception('Directory argument must be a string or an array');
}
- // Autodiscover the path from the class name
- // Implementation is PHP namespace-aware, and based on
- // Framework Interop Group reference implementation:
- // http://groups.google.com/group/php-standards/web/psr-0-final-proposal
- $className = ltrim($class, '\\');
- $file = '';
- $namespace = '';
- if ($lastNsPos = strripos($className, '\\')) {
- $namespace = substr($className, 0, $lastNsPos);
- $className = substr($className, $lastNsPos + 1);
- $file = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
- }
- $file .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
+ $file = self::standardiseFile($class);
if (!empty($dirs)) {
// use the autodiscovered path
@@ -174,7 +162,7 @@
public static function isReadable($filename)
{
if (is_readable($filename)) {
- // Return early if the filename is readable without needing the
+ // Return early if the filename is readable without needing the
// include_path
return true;
}
@@ -182,7 +170,7 @@
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN'
&& preg_match('/^[a-z]:/i', $filename)
) {
- // If on windows, and path provided is clearly an absolute path,
+ // If on windows, and path provided is clearly an absolute path,
// return false immediately
return false;
}
@@ -207,8 +195,8 @@
*
* If no path provided, uses current include_path. Works around issues that
* occur when the path includes stream schemas.
- *
- * @param string|null $path
+ *
+ * @param string|null $path
* @return array
*/
public static function explodeIncludePath($path = null)
@@ -218,7 +206,7 @@
}
if (PATH_SEPARATOR == ':') {
- // On *nix systems, include_paths which include paths with a stream
+ // On *nix systems, include_paths which include paths with a stream
// schema cannot be safely explode'd, so we have to be a bit more
// intelligent in the approach.
$paths = preg_split('#:(?!//)#', $path);
@@ -326,4 +314,30 @@
return include $filespec ;
}
}
+
+ /**
+ * Standardise the filename.
+ *
+ * Convert the supplied filename into the namespace-aware standard,
+ * based on the Framework Interop Group reference implementation:
+ * http://groups.google.com/group/php-standards/web/psr-0-final-proposal
+ *
+ * The filename must be formatted as "$file.php".
+ *
+ * @param string $file - The file name to be loaded.
+ * @return string
+ */
+ public static function standardiseFile($file)
+ {
+ $fileName = ltrim($file, '\\');
+ $file = '';
+ $namespace = '';
+ if ($lastNsPos = strripos($fileName, '\\')) {
+ $namespace = substr($fileName, 0, $lastNsPos);
+ $fileName = substr($fileName, $lastNsPos + 1);
+ $file = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
+ }
+ $file .= str_replace('_', DIRECTORY_SEPARATOR, $fileName) . '.php';
+ return $file;
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/Autoloader.php
--- a/web/lib/Zend/Loader/Autoloader.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Loader/Autoloader.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Loader
* @subpackage Autoloader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Autoloader.php 23161 2010-10-19 16:08:36Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Autoloader.php 25024 2012-07-30 15:08:15Z rob $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @uses Zend_Loader_Autoloader
* @package Zend_Loader
* @subpackage Autoloader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Loader_Autoloader
@@ -335,9 +335,10 @@
continue;
}
if (0 === strpos($class, $ns)) {
- $namespace = $ns;
- $autoloaders = $autoloaders + $this->getNamespaceAutoloaders($ns);
- break;
+ if ((false === $namespace) || (strlen($ns) > strlen($namespace))) {
+ $namespace = $ns;
+ $autoloaders = $this->getNamespaceAutoloaders($ns);
+ }
}
}
@@ -351,7 +352,13 @@
}
// Add non-namespaced autoloaders
- $autoloaders = $autoloaders + $this->getNamespaceAutoloaders('');
+ $autoloadersNonNamespace = $this->getNamespaceAutoloaders('');
+ if (count($autoloadersNonNamespace)) {
+ foreach ($autoloadersNonNamespace as $ns) {
+ $autoloaders[] = $ns;
+ }
+ unset($autoloadersNonNamespace);
+ }
// Add fallback autoloader
if (!$namespace && $this->isFallbackAutoloader()) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/Autoloader/Interface.php
--- a/web/lib/Zend/Loader/Autoloader/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Loader/Autoloader/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Loader
* @subpackage Autoloader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Interface.php 22913 2010-08-29 00:28:02Z ramon $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -25,7 +25,7 @@
*
* @package Zend_Loader
* @subpackage Autoloader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Loader_Autoloader_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/Autoloader/Resource.php
--- a/web/lib/Zend/Loader/Autoloader/Resource.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Loader/Autoloader/Resource.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Loader
* @subpackage Autoloader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Resource.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Resource.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @uses Zend_Loader_Autoloader_Interface
* @package Zend_Loader
* @subpackage Autoloader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Loader_Autoloader_Resource implements Zend_Loader_Autoloader_Interface
@@ -88,6 +88,7 @@
if (!empty($namespace)) {
$namespace .= '_';
}
+ require_once 'Zend/Loader/Autoloader.php';
Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);
}
@@ -144,7 +145,12 @@
$namespace = '';
if (!empty($namespaceTopLevel)) {
- $namespace = array_shift($segments);
+ $namespace = array();
+ $topLevelSegments = count(explode('_', $namespaceTopLevel));
+ for ($i = 0; $i < $topLevelSegments; $i++) {
+ $namespace[] = array_shift($segments);
+ }
+ $namespace = implode('_', $namespace);
if ($namespace != $namespaceTopLevel) {
// wrong prefix? we're done
return false;
@@ -205,6 +211,12 @@
*/
public function setOptions(array $options)
{
+ // Set namespace first, see ZF-10836
+ if (isset($options['namespace'])) {
+ $this->setNamespace($options['namespace']);
+ unset($options['namespace']);
+ }
+
$methods = get_class_methods($this);
foreach ($options as $key => $value) {
$method = 'set' . ucfirst($key);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/AutoloaderFactory.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Loader/AutoloaderFactory.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,211 @@
+
+ * array(
+ * '' => $autoloaderOptions,
+ * )
+ *
+ *
+ * The factory will then loop through and instantiate each autoloader with
+ * the specified options, and register each with the spl_autoloader.
+ *
+ * You may retrieve the concrete autoloader instances later using
+ * {@link getRegisteredAutoloaders()}.
+ *
+ * Note that the class names must be resolvable on the include_path or via
+ * the Zend library, using PSR-0 rules (unless the class has already been
+ * loaded).
+ *
+ * @param array|Traversable $options (optional) options to use. Defaults to Zend_Loader_StandardAutoloader
+ * @return void
+ * @throws Zend_Loader_Exception_InvalidArgumentException for invalid options
+ * @throws Zend_Loader_Exception_InvalidArgumentException for unloadable autoloader classes
+ */
+ public static function factory($options = null)
+ {
+ if (null === $options) {
+ if (!isset(self::$loaders[self::STANDARD_AUTOLOADER])) {
+ $autoloader = self::getStandardAutoloader();
+ $autoloader->register();
+ self::$loaders[self::STANDARD_AUTOLOADER] = $autoloader;
+ }
+
+ // Return so we don't hit the next check's exception (we're done here anyway)
+ return;
+ }
+
+ if (!is_array($options) && !($options instanceof Traversable)) {
+ require_once 'Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException(
+ 'Options provided must be an array or Traversable'
+ );
+ }
+
+ foreach ($options as $class => $options) {
+ if (!isset(self::$loaders[$class])) {
+ $autoloader = self::getStandardAutoloader();
+ if (!class_exists($class) && !$autoloader->autoload($class)) {
+ require_once 'Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException(sprintf(
+ 'Autoloader class "%s" not loaded',
+ $class
+ ));
+ }
+
+ // unfortunately is_subclass_of is broken on some 5.3 versions
+ // additionally instanceof is also broken for this use case
+ if (version_compare(PHP_VERSION, '5.3.7', '>=')) {
+ if (!is_subclass_of($class, 'Zend_Loader_SplAutoloader')) {
+ require_once 'Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException(sprintf(
+ 'Autoloader class %s must implement Zend\\Loader\\SplAutoloader',
+ $class
+ ));
+ }
+ }
+
+ if ($class === self::STANDARD_AUTOLOADER) {
+ $autoloader->setOptions($options);
+ } else {
+ $autoloader = new $class($options);
+ }
+ $autoloader->register();
+ self::$loaders[$class] = $autoloader;
+ } else {
+ self::$loaders[$class]->setOptions($options);
+ }
+ }
+ }
+
+ /**
+ * Get an list of all autoloaders registered with the factory
+ *
+ * Returns an array of autoloader instances.
+ *
+ * @return array
+ */
+ public static function getRegisteredAutoloaders()
+ {
+ return self::$loaders;
+ }
+
+ /**
+ * Retrieves an autoloader by class name
+ *
+ * @param string $class
+ * @return Zend_Loader_SplAutoloader
+ * @throws Zend_Loader_Exception_InvalidArgumentException for non-registered class
+ */
+ public static function getRegisteredAutoloader($class)
+ {
+ if (!isset(self::$loaders[$class])) {
+ require_once 'Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException(sprintf('Autoloader class "%s" not loaded', $class));
+ }
+ return self::$loaders[$class];
+ }
+
+ /**
+ * Unregisters all autoloaders that have been registered via the factory.
+ * This will NOT unregister autoloaders registered outside of the fctory.
+ *
+ * @return void
+ */
+ public static function unregisterAutoloaders()
+ {
+ foreach (self::getRegisteredAutoloaders() as $class => $autoloader) {
+ spl_autoload_unregister(array($autoloader, 'autoload'));
+ unset(self::$loaders[$class]);
+ }
+ }
+
+ /**
+ * Unregister a single autoloader by class name
+ *
+ * @param string $autoloaderClass
+ * @return bool
+ */
+ public static function unregisterAutoloader($autoloaderClass)
+ {
+ if (!isset(self::$loaders[$autoloaderClass])) {
+ return false;
+ }
+
+ $autoloader = self::$loaders[$autoloaderClass];
+ spl_autoload_unregister(array($autoloader, 'autoload'));
+ unset(self::$loaders[$autoloaderClass]);
+ return true;
+ }
+
+ /**
+ * Get an instance of the standard autoloader
+ *
+ * Used to attempt to resolve autoloader classes, using the
+ * StandardAutoloader. The instance is marked as a fallback autoloader, to
+ * allow resolving autoloaders not under the "Zend" or "Zend" namespaces.
+ *
+ * @return Zend_Loader_SplAutoloader
+ */
+ protected static function getStandardAutoloader()
+ {
+ if (null !== self::$standardAutoloader) {
+ return self::$standardAutoloader;
+ }
+
+ // Extract the filename from the classname
+ $stdAutoloader = substr(strrchr(self::STANDARD_AUTOLOADER, '_'), 1);
+
+ if (!class_exists(self::STANDARD_AUTOLOADER)) {
+ require_once dirname(__FILE__) . "/$stdAutoloader.php";
+ }
+ $loader = new Zend_Loader_StandardAutoloader();
+ self::$standardAutoloader = $loader;
+ return self::$standardAutoloader;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/ClassMapAutoloader.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Loader/ClassMapAutoloader.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,248 @@
+setOptions($options);
+ }
+ }
+
+ /**
+ * Configure the autoloader
+ *
+ * Proxies to {@link registerAutoloadMaps()}.
+ *
+ * @param array|Traversable $options
+ * @return Zend_Loader_ClassMapAutoloader
+ */
+ public function setOptions($options)
+ {
+ $this->registerAutoloadMaps($options);
+ return $this;
+ }
+
+ /**
+ * Register an autoload map
+ *
+ * An autoload map may be either an associative array, or a file returning
+ * an associative array.
+ *
+ * An autoload map should be an associative array containing
+ * classname/file pairs.
+ *
+ * @param string|array $location
+ * @return Zend_Loader_ClassMapAutoloader
+ */
+ public function registerAutoloadMap($map)
+ {
+ if (is_string($map)) {
+ $location = $map;
+ if ($this === ($map = $this->loadMapFromFile($location))) {
+ return $this;
+ }
+ }
+
+ if (!is_array($map)) {
+ require_once dirname(__FILE__) . '/Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException('Map file provided does not return a map');
+ }
+
+ $this->map = array_merge($this->map, $map);
+
+ if (isset($location)) {
+ $this->mapsLoaded[] = $location;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Register many autoload maps at once
+ *
+ * @param array $locations
+ * @return Zend_Loader_ClassMapAutoloader
+ */
+ public function registerAutoloadMaps($locations)
+ {
+ if (!is_array($locations) && !($locations instanceof Traversable)) {
+ require_once dirname(__FILE__) . '/Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException('Map list must be an array or implement Traversable');
+ }
+ foreach ($locations as $location) {
+ $this->registerAutoloadMap($location);
+ }
+ return $this;
+ }
+
+ /**
+ * Retrieve current autoload map
+ *
+ * @return array
+ */
+ public function getAutoloadMap()
+ {
+ return $this->map;
+ }
+
+ /**
+ * Defined by Autoloadable
+ *
+ * @param string $class
+ * @return void
+ */
+ public function autoload($class)
+ {
+ if (isset($this->map[$class])) {
+ require_once $this->map[$class];
+ }
+ }
+
+ /**
+ * Register the autoloader with spl_autoload registry
+ *
+ * @return void
+ */
+ public function register()
+ {
+ if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
+ spl_autoload_register(array($this, 'autoload'), true, true);
+ } else {
+ spl_autoload_register(array($this, 'autoload'), true);
+ }
+ }
+
+ /**
+ * Load a map from a file
+ *
+ * If the map has been previously loaded, returns the current instance;
+ * otherwise, returns whatever was returned by calling include() on the
+ * location.
+ *
+ * @param string $location
+ * @return Zend_Loader_ClassMapAutoloader|mixed
+ * @throws Zend_Loader_Exception_InvalidArgumentException for nonexistent locations
+ */
+ protected function loadMapFromFile($location)
+ {
+ if (!file_exists($location)) {
+ require_once dirname(__FILE__) . '/Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException('Map file provided does not exist');
+ }
+
+ if (!$path = self::realPharPath($location)) {
+ $path = realpath($location);
+ }
+
+ if (in_array($path, $this->mapsLoaded)) {
+ // Already loaded this map
+ return $this;
+ }
+
+ $map = include $path;
+
+ return $map;
+ }
+
+ /**
+ * Resolve the real_path() to a file within a phar.
+ *
+ * @see https://bugs.php.net/bug.php?id=52769
+ * @param string $path
+ * @return string
+ */
+ public static function realPharPath($path)
+ {
+ if (strpos($path, 'phar:///') !== 0) {
+ return;
+ }
+
+ $parts = explode('/', str_replace(array('/','\\'), '/', substr($path, 8)));
+ $parts = array_values(array_filter($parts, array(__CLASS__, 'concatPharParts')));
+
+ array_walk($parts, array(__CLASS__, 'resolvePharParentPath'), $parts);
+
+ if (file_exists($realPath = 'phar:///' . implode('/', $parts))) {
+ return $realPath;
+ }
+ }
+
+ /**
+ * Helper callback for filtering phar paths
+ *
+ * @param string $part
+ * @return bool
+ */
+ public static function concatPharParts($part)
+ {
+ return ($part !== '' && $part !== '.');
+ }
+
+ /**
+ * Helper callback to resolve a parent path in a Phar archive
+ *
+ * @param string $value
+ * @param int $key
+ * @param array $parts
+ * @return void
+ */
+ public static function resolvePharParentPath($value, $key, &$parts)
+ {
+ if ($value !== '...') {
+ return;
+ }
+ unset($parts[$key], $parts[$key-1]);
+ $parts = array_values($parts);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/Exception.php
--- a/web/lib/Zend/Loader/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Loader/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Loader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Loader
* @uses Zend_Exception
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Loader_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/Exception/InvalidArgumentException.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Loader/Exception/InvalidArgumentException.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,34 @@
+ $paths) {
$className = $prefix . $name;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/PluginLoader/Exception.php
--- a/web/lib/Zend/Loader/PluginLoader/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Loader/PluginLoader/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Loader
* @subpackage PluginLoader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Loader
* @subpackage PluginLoader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Loader_PluginLoader_Exception extends Zend_Loader_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/PluginLoader/Interface.php
--- a/web/lib/Zend/Loader/PluginLoader/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Loader/PluginLoader/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Loader
* @subpackage PluginLoader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Loader
* @subpackage PluginLoader
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Loader_PluginLoader_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/SplAutoloader.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Loader/SplAutoloader.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,75 @@
+
+ * spl_autoload_register(array($this, 'autoload'));
+ *
+ *
+ * @return void
+ */
+ public function register();
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Loader/StandardAutoloader.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Loader/StandardAutoloader.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,368 @@
+setOptions($options);
+ }
+ }
+
+ /**
+ * Configure autoloader
+ *
+ * Allows specifying both "namespace" and "prefix" pairs, using the
+ * following structure:
+ *
+ * array(
+ * 'namespaces' => array(
+ * 'Zend' => '/path/to/Zend/library',
+ * 'Doctrine' => '/path/to/Doctrine/library',
+ * ),
+ * 'prefixes' => array(
+ * 'Phly_' => '/path/to/Phly/library',
+ * ),
+ * 'fallback_autoloader' => true,
+ * )
+ *
+ *
+ * @param array|Traversable $options
+ * @return Zend_Loader_StandardAutoloader
+ */
+ public function setOptions($options)
+ {
+ if (!is_array($options) && !($options instanceof Traversable)) {
+ require_once dirname(__FILE__) . '/Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException('Options must be either an array or Traversable');
+ }
+
+ foreach ($options as $type => $pairs) {
+ switch ($type) {
+ case self::AUTOREGISTER_ZF:
+ if ($pairs) {
+ $this->registerPrefix('Zend', dirname(dirname(__FILE__)));
+ }
+ break;
+ case self::LOAD_NS:
+ if (is_array($pairs) || $pairs instanceof Traversable) {
+ $this->registerNamespaces($pairs);
+ }
+ break;
+ case self::LOAD_PREFIX:
+ if (is_array($pairs) || $pairs instanceof Traversable) {
+ $this->registerPrefixes($pairs);
+ }
+ break;
+ case self::ACT_AS_FALLBACK:
+ $this->setFallbackAutoloader($pairs);
+ break;
+ default:
+ // ignore
+ }
+ }
+ return $this;
+ }
+
+ /**
+ * Set flag indicating fallback autoloader status
+ *
+ * @param bool $flag
+ * @return Zend_Loader_StandardAutoloader
+ */
+ public function setFallbackAutoloader($flag)
+ {
+ $this->fallbackAutoloaderFlag = (bool) $flag;
+ return $this;
+ }
+
+ /**
+ * Is this autoloader acting as a fallback autoloader?
+ *
+ * @return bool
+ */
+ public function isFallbackAutoloader()
+ {
+ return $this->fallbackAutoloaderFlag;
+ }
+
+ /**
+ * Register a namespace/directory pair
+ *
+ * @param string $namespace
+ * @param string $directory
+ * @return Zend_Loader_StandardAutoloader
+ */
+ public function registerNamespace($namespace, $directory)
+ {
+ $namespace = rtrim($namespace, self::NS_SEPARATOR). self::NS_SEPARATOR;
+ $this->namespaces[$namespace] = $this->normalizeDirectory($directory);
+ return $this;
+ }
+
+ /**
+ * Register many namespace/directory pairs at once
+ *
+ * @param array $namespaces
+ * @return Zend_Loader_StandardAutoloader
+ */
+ public function registerNamespaces($namespaces)
+ {
+ if (!is_array($namespaces) && !$namespaces instanceof Traversable) {
+ require_once dirname(__FILE__) . '/Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException('Namespace pairs must be either an array or Traversable');
+ }
+
+ foreach ($namespaces as $namespace => $directory) {
+ $this->registerNamespace($namespace, $directory);
+ }
+ return $this;
+ }
+
+ /**
+ * Register a prefix/directory pair
+ *
+ * @param string $prefix
+ * @param string $directory
+ * @return Zend_Loader_StandardAutoloader
+ */
+ public function registerPrefix($prefix, $directory)
+ {
+ $prefix = rtrim($prefix, self::PREFIX_SEPARATOR). self::PREFIX_SEPARATOR;
+ $this->prefixes[$prefix] = $this->normalizeDirectory($directory);
+ return $this;
+ }
+
+ /**
+ * Register many namespace/directory pairs at once
+ *
+ * @param array $prefixes
+ * @return Zend_Loader_StandardAutoloader
+ */
+ public function registerPrefixes($prefixes)
+ {
+ if (!is_array($prefixes) && !$prefixes instanceof Traversable) {
+ require_once dirname(__FILE__) . '/Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException('Prefix pairs must be either an array or Traversable');
+ }
+
+ foreach ($prefixes as $prefix => $directory) {
+ $this->registerPrefix($prefix, $directory);
+ }
+ return $this;
+ }
+
+ /**
+ * Defined by Autoloadable; autoload a class
+ *
+ * @param string $class
+ * @return false|string
+ */
+ public function autoload($class)
+ {
+ $isFallback = $this->isFallbackAutoloader();
+ if (false !== strpos($class, self::NS_SEPARATOR)) {
+ if ($this->loadClass($class, self::LOAD_NS)) {
+ return $class;
+ } elseif ($isFallback) {
+ return $this->loadClass($class, self::ACT_AS_FALLBACK);
+ }
+ return false;
+ }
+ if (false !== strpos($class, self::PREFIX_SEPARATOR)) {
+ if ($this->loadClass($class, self::LOAD_PREFIX)) {
+ return $class;
+ } elseif ($isFallback) {
+ return $this->loadClass($class, self::ACT_AS_FALLBACK);
+ }
+ return false;
+ }
+ if ($isFallback) {
+ return $this->loadClass($class, self::ACT_AS_FALLBACK);
+ }
+ return false;
+ }
+
+ /**
+ * Register the autoloader with spl_autoload
+ *
+ * @return void
+ */
+ public function register()
+ {
+ spl_autoload_register(array($this, 'autoload'));
+ }
+
+ /**
+ * Error handler
+ *
+ * Used by {@link loadClass} during fallback autoloading in PHP versions
+ * prior to 5.3.0.
+ *
+ * @param mixed $errno
+ * @param mixed $errstr
+ * @return void
+ */
+ public function handleError($errno, $errstr)
+ {
+ $this->error = true;
+ }
+
+ /**
+ * Transform the class name to a filename
+ *
+ * @param string $class
+ * @param string $directory
+ * @return string
+ */
+ protected function transformClassNameToFilename($class, $directory)
+ {
+ // $class may contain a namespace portion, in which case we need
+ // to preserve any underscores in that portion.
+ $matches = array();
+ preg_match('/(?P.+\\\)?(?P[^\\\]+$)/', $class, $matches);
+
+ $class = (isset($matches['class'])) ? $matches['class'] : '';
+ $namespace = (isset($matches['namespace'])) ? $matches['namespace'] : '';
+
+ return $directory
+ . str_replace(self::NS_SEPARATOR, '/', $namespace)
+ . str_replace(self::PREFIX_SEPARATOR, '/', $class)
+ . '.php';
+ }
+
+ /**
+ * Load a class, based on its type (namespaced or prefixed)
+ *
+ * @param string $class
+ * @param string $type
+ * @return void
+ */
+ protected function loadClass($class, $type)
+ {
+ if (!in_array($type, array(self::LOAD_NS, self::LOAD_PREFIX, self::ACT_AS_FALLBACK))) {
+ require_once dirname(__FILE__) . '/Exception/InvalidArgumentException.php';
+ throw new Zend_Loader_Exception_InvalidArgumentException();
+ }
+
+ // Fallback autoloading
+ if ($type === self::ACT_AS_FALLBACK) {
+ // create filename
+ $filename = $this->transformClassNameToFilename($class, '');
+ if (version_compare(PHP_VERSION, '5.3.2', '>=')) {
+ $resolvedName = stream_resolve_include_path($filename);
+ if ($resolvedName !== false) {
+ return include $resolvedName;
+ }
+ return false;
+ }
+ $this->error = false;
+ set_error_handler(array($this, 'handleError'), E_WARNING);
+ include $filename;
+ restore_error_handler();
+ if ($this->error) {
+ return false;
+ }
+ return class_exists($class, false);
+ }
+
+ // Namespace and/or prefix autoloading
+ foreach ($this->$type as $leader => $path) {
+ if (0 === strpos($class, $leader)) {
+ // Trim off leader (namespace or prefix)
+ $trimmedClass = substr($class, strlen($leader));
+
+ // create filename
+ $filename = $this->transformClassNameToFilename($trimmedClass, $path);
+ if (file_exists($filename)) {
+ return include $filename;
+ }
+ return false;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Normalize the directory to include a trailing directory separator
+ *
+ * @param string $directory
+ * @return string
+ */
+ protected function normalizeDirectory($directory)
+ {
+ $last = $directory[strlen($directory) - 1];
+ if (in_array($last, array('/', '\\'))) {
+ $directory[strlen($directory) - 1] = DIRECTORY_SEPARATOR;
+ return $directory;
+ }
+ $directory .= DIRECTORY_SEPARATOR;
+ return $directory;
+ }
+
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale.php
--- a/web/lib/Zend/Locale.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Locale.php 22712 2010-07-29 08:24:28Z thomas $
+ * @version $Id: Locale.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Locale
@@ -666,7 +666,7 @@
require_once 'Zend/Locale/Data.php';
$locale = self::findLocale($locale);
$result = Zend_Locale_Data::getContent($locale, $path, $value);
- if (empty($result) === true) {
+ if (empty($result) === true && '0' !== $result) {
return false;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Data.php
--- a/web/lib/Zend/Locale/Data.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Data.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Locale
* @subpackage Data
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Data.php 22712 2010-07-29 08:24:28Z thomas $
+ * @version $Id: Data.php 24766 2012-05-06 02:51:42Z adamlundrigan $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Locale
* @subpackage Data
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Locale_Data
@@ -361,7 +361,7 @@
break;
case 'type':
- if (empty($type)) {
+ if (empty($value)) {
$temp = self::_getFile($locale, '/ldml/localeDisplayNames/types/type', 'type');
} else {
if (($value == 'calendar') or
@@ -1139,6 +1139,10 @@
$temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value[0] . '\']/fields/field/relative[@type=\'' . $value[1] . '\']', '', $value[1]);
break;
+ case 'defaultnumberingsystem':
+ $temp = self::_getFile($locale, '/ldml/numbers/defaultNumberingSystem', '', 'default');
+ break;
+
case 'decimalnumber':
$temp = self::_getFile($locale, '/ldml/numbers/decimalFormats/decimalFormatLength/decimalFormat/pattern', '', 'default');
break;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Data/Translation.php
--- a/web/lib/Zend/Locale/Data/Translation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Data/Translation.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Translation.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Translation.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Locale_Data_Translation
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Data/cy.xml
--- a/web/lib/Zend/Locale/Data/cy.xml Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Data/cy.xml Sun Apr 21 21:54:24 2013 +0200
@@ -427,7 +427,7 @@
Ebrill
Mai
Mehefin
- Gorffenaf
+ Gorffennaf
Awst
Medi
Hydref
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Exception.php
--- a/web/lib/Zend/Locale/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,8 +14,8 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Locale_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Format.php
--- a/web/lib/Zend/Locale/Format.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Format.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Locale
* @subpackage Format
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Format.php 22808 2010-08-08 09:38:42Z thomas $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Format.php 24807 2012-05-15 12:10:42Z adamlundrigan $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Locale
* @subpackage Format
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Locale_Format
@@ -99,8 +99,9 @@
$options['number_format'] = Zend_Locale_Data::getContent($locale, 'decimalnumber');
} else if ((gettype($value) !== 'string') and ($value !== NULL)) {
require_once 'Zend/Locale/Exception.php';
+ $stringValue = (string)(is_array($value) ? implode(' ', $value) : $value);
throw new Zend_Locale_Exception("Unknown number format type '" . gettype($value) . "'. "
- . "Format '$value' must be a valid number format string.");
+ . "Format '$stringValue' must be a valid number format string.");
}
break;
@@ -113,8 +114,9 @@
$options['date_format'] = Zend_Locale_Format::getDateFormat($locale);
} else if ((gettype($value) !== 'string') and ($value !== NULL)) {
require_once 'Zend/Locale/Exception.php';
+ $stringValue = (string)(is_array($value) ? implode(' ', $value) : $value);
throw new Zend_Locale_Exception("Unknown dateformat type '" . gettype($value) . "'. "
- . "Format '$value' must be a valid ISO or PHP date format string.");
+ . "Format '$stringValue' must be a valid ISO or PHP date format string.");
} else {
if (((isset($options['format_type']) === true) and ($options['format_type'] == 'php')) or
((isset($options['format_type']) === false) and (self::$_options['format_type'] == 'php'))) {
@@ -300,8 +302,8 @@
// load class within method for speed
require_once 'Zend/Locale/Math.php';
+ $value = Zend_Locale_Math::floatalize($value);
$value = Zend_Locale_Math::normalize($value);
- $value = Zend_Locale_Math::floatalize($value);
$options = self::_checkOptions($options) + self::$_options;
$options['locale'] = (string) $options['locale'];
@@ -1137,7 +1139,7 @@
if (empty($options['date_format'])) {
$options['format_type'] = 'iso';
- $options['date_format'] = self::getDateFormat($options['locale']);
+ $options['date_format'] = self::getDateFormat(isset($options['locale']) ? $options['locale'] : null);
}
$options = self::_checkOptions($options) + self::$_options;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Math.php
--- a/web/lib/Zend/Locale/Math.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Math.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Math.php 21180 2010-02-23 22:00:29Z matthew $
+ * @version $Id: Math.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Math/Exception.php
--- a/web/lib/Zend/Locale/Math/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Math/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,8 +14,8 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Locale_Math_Exception extends Zend_Locale_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Locale/Math/PhpMath.php
--- a/web/lib/Zend/Locale/Math/PhpMath.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Locale/Math/PhpMath.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PhpMath.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PhpMath.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
*
* @category Zend
* @package Zend_Locale
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Locale_Math_PhpMath extends Zend_Locale_Math
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log.php
--- a/web/lib/Zend/Log.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,17 +14,17 @@
*
* @category Zend
* @package Zend_Log
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Log.php 22976 2010-09-19 11:57:26Z intiilapa $
+ * @version $Id: Log.php 25131 2012-11-16 15:29:18Z rob $
*/
/**
* @category Zend
* @package Zend_Log
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Log.php 22976 2010-09-19 11:57:26Z intiilapa $
+ * @version $Id: Log.php 25131 2012-11-16 15:29:18Z rob $
*/
class Zend_Log
{
@@ -72,6 +72,12 @@
/**
*
+ * @var string
+ */
+ protected $_defaultFormatterNamespace = 'Zend_Log_Formatter';
+
+ /**
+ *
* @var callback
*/
protected $_origErrorHandler = null;
@@ -84,7 +90,7 @@
/**
*
- * @var array
+ * @var array|boolean
*/
protected $_errorHandlerMap = false;
@@ -98,6 +104,7 @@
* Class constructor. Create a new logger
*
* @param Zend_Log_Writer_Abstract|null $writer default writer
+ * @return void
*/
public function __construct(Zend_Log_Writer_Abstract $writer = null)
{
@@ -115,6 +122,7 @@
*
* @param array|Zend_Config Array or instance of Zend_Config
* @return Zend_Log
+ * @throws Zend_Log_Exception
*/
static public function factory($config = array())
{
@@ -130,6 +138,13 @@
$log = new self;
+ if (array_key_exists('timestampFormat', $config)) {
+ if (null != $config['timestampFormat'] && '' != $config['timestampFormat']) {
+ $log->setTimestampFormat($config['timestampFormat']);
+ }
+ unset($config['timestampFormat']);
+ }
+
if (!is_array(current($config))) {
$log->addWriter(current($config));
} else {
@@ -147,6 +162,7 @@
*
* @param array $spec config array with writer spec
* @return Zend_Log_Writer_Abstract
+ * @throws Zend_Log_Exception
*/
protected function _constructWriterFromConfig($config)
{
@@ -166,6 +182,11 @@
$writer->addFilter($filter);
}
+ if (isset($config['formatterName'])) {
+ $formatter = $this->_constructFormatterFromConfig($config);
+ $writer->setFormatter($formatter);
+ }
+
return $writer;
}
@@ -174,6 +195,7 @@
*
* @param array|Zend_Config $config Zend_Config or Array
* @return Zend_Log_Filter_Interface
+ * @throws Zend_Log_Exception
*/
protected function _constructFilterFromConfig($config)
{
@@ -191,6 +213,29 @@
return $filter;
}
+ /**
+ * Construct formatter object from configuration array or Zend_Config object
+ *
+ * @param array|Zend_Config $config Zend_Config or Array
+ * @return Zend_Log_Formatter_Interface
+ * @throws Zend_Log_Exception
+ */
+ protected function _constructFormatterFromConfig($config)
+ {
+ $formatter = $this->_constructFromConfig('formatter', $config, $this->_defaultFormatterNamespace);
+
+ if (!$formatter instanceof Zend_Log_Formatter_Interface) {
+ $formatterName = is_object($formatter)
+ ? get_class($formatter)
+ : 'The specified formatter';
+ /** @see Zend_Log_Exception */
+ require_once 'Zend/Log/Exception.php';
+ throw new Zend_Log_Exception($formatterName . ' does not implement Zend_Log_Formatter_Interface');
+ }
+
+ return $formatter;
+ }
+
/**
* Construct a filter or writer from config
*
@@ -198,6 +243,7 @@
* @param mixed $config Zend_Config or Array
* @param string $namespace
* @return object
+ * @throws Zend_Log_Exception
*/
protected function _constructFromConfig($type, $config, $namespace)
{
@@ -223,7 +269,7 @@
if (!$reflection->implementsInterface('Zend_Log_FactoryInterface')) {
require_once 'Zend/Log/Exception.php';
throw new Zend_Log_Exception(
- 'Driver does not implement Zend_Log_FactoryInterface and can not be constructed from config.'
+ $className . ' does not implement Zend_Log_FactoryInterface and can not be constructed from config.'
);
}
@@ -237,22 +283,33 @@
* @param string $type filter|writer
* @param string $defaultNamespace
* @return string full classname
+ * @throws Zend_Log_Exception
*/
protected function getClassName($config, $type, $defaultNamespace)
{
- if (!isset($config[ $type . 'Name' ])) {
+ if (!isset($config[$type . 'Name'])) {
require_once 'Zend/Log/Exception.php';
throw new Zend_Log_Exception("Specify {$type}Name in the configuration array");
}
- $className = $config[ $type . 'Name' ];
+ $className = $config[$type . 'Name'];
$namespace = $defaultNamespace;
- if (isset($config[ $type . 'Namespace' ])) {
- $namespace = $config[ $type . 'Namespace' ];
+
+ if (isset($config[$type . 'Namespace'])) {
+ $namespace = $config[$type . 'Namespace'];
}
- $fullClassName = $namespace . '_' . $className;
- return $fullClassName;
+ // PHP >= 5.3.0 namespace given?
+ if (substr($namespace, -1) == '\\') {
+ return $namespace . $className;
+ }
+
+ // emtpy namespace given?
+ if (strlen($namespace) === 0) {
+ return $className;
+ }
+
+ return $namespace . '_' . $className;
}
/**
@@ -261,7 +318,7 @@
* @param string $message Message to log
* @param integer $priority Priority of message
* @return array Event array
- **/
+ */
protected function _packEvent($message, $priority)
{
return array_merge(array(
@@ -387,7 +444,7 @@
*
* @param string $name Name of priority
* @param integer $priority Numeric priority
- * @throws Zend_Log_InvalidArgumentException
+ * @throws Zend_Log_Exception
*/
public function addPriority($name, $priority)
{
@@ -410,12 +467,13 @@
* Before a message will be received by any of the writers, it
* must be accepted by all filters added with this method.
*
- * @param int|Zend_Log_Filter_Interface $filter
- * @return void
+ * @param int|Zend_Config|array|Zend_Log_Filter_Interface $filter
+ * @return Zend_Log
+ * @throws Zend_Log_Exception
*/
public function addFilter($filter)
{
- if (is_integer($filter)) {
+ if (is_int($filter)) {
/** @see Zend_Log_Filter_Priority */
require_once 'Zend/Log/Filter/Priority.php';
$filter = new Zend_Log_Filter_Priority($filter);
@@ -438,7 +496,7 @@
* message and writing it out to storage.
*
* @param mixed $writer Zend_Log_Writer_Abstract or Config array
- * @return void
+ * @return Zend_Log
*/
public function addWriter($writer)
{
@@ -462,9 +520,9 @@
/**
* Set an extra item to pass to the log writers.
*
- * @param $name Name of the field
- * @param $value Value of the field
- * @return void
+ * @param string $name Name of the field
+ * @param string $value Value of the field
+ * @return Zend_Log
*/
public function setEventItem($name, $value)
{
@@ -491,7 +549,7 @@
{
// Only register once. Avoids loop issues if it gets registered twice.
if ($this->_registeredErrorHandler) {
- return $this;
+ return $this;
}
$this->_origErrorHandler = set_error_handler(array($this, 'errorHandler'));
@@ -537,7 +595,7 @@
{
$errorLevel = error_reporting();
- if ($errorLevel && $errno) {
+ if ($errorLevel & $errno) {
if (isset($this->_errorHandlerMap[$errno])) {
$priority = $this->_errorHandlerMap[$errno];
} else {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Exception.php
--- a/web/lib/Zend/Log/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Log
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Exception */
@@ -25,9 +25,9 @@
/**
* @category Zend
* @package Zend_Log
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Exception extends Zend_Exception
{}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/FactoryInterface.php
--- a/web/lib/Zend/Log/FactoryInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/FactoryInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,25 +14,25 @@
*
* @category Zend
* @package Zend_Log
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FactoryInterface.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: FactoryInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Log
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FactoryInterface.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: FactoryInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
interface Zend_Log_FactoryInterface
{
/**
* Construct a Zend_Log driver
- *
- * @param array|Zen_Config $config
+ *
+ * @param array|Zend_Config $config
* @return Zend_Log_FactoryInterface
*/
static public function factory($config);
-}
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Filter/Abstract.php
--- a/web/lib/Zend/Log/Filter/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Filter/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 21892 2010-04-16 19:15:20Z juokaz $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Log_Filter_Interface */
@@ -30,16 +30,16 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 21892 2010-04-16 19:15:20Z juokaz $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
-abstract class Zend_Log_Filter_Abstract
+abstract class Zend_Log_Filter_Abstract
implements Zend_Log_Filter_Interface, Zend_Log_FactoryInterface
{
/**
* Validate and optionally convert the config to array
- *
+ *
* @param array|Zend_Config $config Zend_Config or Array
* @return array
* @throws Zend_Log_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Filter/Interface.php
--- a/web/lib/Zend/Log/Filter/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Filter/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,18 +15,18 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
interface Zend_Log_Filter_Interface
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Filter/Message.php
--- a/web/lib/Zend/Log/Filter/Message.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Filter/Message.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Message.php 20981 2010-02-08 15:51:02Z matthew $
+ * @version $Id: Message.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Filter_Abstract */
@@ -27,9 +27,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Message.php 20981 2010-02-08 15:51:02Z matthew $
+ * @version $Id: Message.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Filter_Message extends Zend_Log_Filter_Abstract
{
@@ -42,6 +42,7 @@
* Filter out any log messages not matching $regexp.
*
* @param string $regexp Regular expression to test the log message
+ * @return void
* @throws Zend_Log_Exception
*/
public function __construct($regexp)
@@ -55,12 +56,11 @@
/**
* Create a new instance of Zend_Log_Filter_Message
- *
+ *
* @param array|Zend_Config $config
* @return Zend_Log_Filter_Message
- * @throws Zend_Log_Exception
*/
- static public function factory($config)
+ static public function factory($config)
{
$config = self::_parseConfig($config);
$config = array_merge(array(
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Filter/Priority.php
--- a/web/lib/Zend/Log/Filter/Priority.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Filter/Priority.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Priority.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Priority.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Filter_Abstract */
@@ -27,9 +27,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Priority.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Priority.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Filter_Priority extends Zend_Log_Filter_Abstract
{
@@ -49,11 +49,12 @@
*
* @param integer $priority Priority
* @param string $operator Comparison operator
+ * @return void
* @throws Zend_Log_Exception
*/
- public function __construct($priority, $operator = NULL)
+ public function __construct($priority, $operator = null)
{
- if (! is_integer($priority)) {
+ if (! is_int($priority)) {
require_once 'Zend/Log/Exception.php';
throw new Zend_Log_Exception('Priority must be an integer');
}
@@ -64,16 +65,15 @@
/**
* Create a new instance of Zend_Log_Filter_Priority
- *
+ *
* @param array|Zend_Config $config
* @return Zend_Log_Filter_Priority
- * @throws Zend_Log_Exception
*/
- static public function factory($config)
+ static public function factory($config)
{
$config = self::_parseConfig($config);
$config = array_merge(array(
- 'priority' => null,
+ 'priority' => null,
'operator' => null,
), $config);
@@ -83,7 +83,7 @@
}
return new self(
- (int) $config['priority'],
+ (int) $config['priority'],
$config['operator']
);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Filter/Suppress.php
--- a/web/lib/Zend/Log/Filter/Suppress.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Filter/Suppress.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Suppress.php 22977 2010-09-19 12:44:00Z intiilapa $
+ * @version $Id: Suppress.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Filter_Interface */
@@ -27,9 +27,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Filter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Suppress.php 22977 2010-09-19 12:44:00Z intiilapa $
+ * @version $Id: Suppress.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Filter_Suppress extends Zend_Log_Filter_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Formatter/Abstract.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Log/Formatter/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,40 @@
+toArray();
+ }
+
+ if (array_key_exists('format', $options)) {
+ $format = $options['format'];
+ }
+ }
+
+ return new self($format);
+ }
+
+ /**
* Formats data into a single line to be written by the writer.
*
* @param array $event event data
@@ -69,17 +92,17 @@
public function format($event)
{
$output = $this->_format;
+
foreach ($event as $name => $value) {
-
if ((is_object($value) && !method_exists($value,'__toString'))
- || is_array($value)) {
-
+ || is_array($value)
+ ) {
$value = gettype($value);
}
$output = str_replace("%$name%", $value, $output);
}
+
return $output;
}
-
-}
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Formatter/Xml.php
--- a/web/lib/Zend/Log/Formatter/Xml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Formatter/Xml.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,31 +15,31 @@
* @category Zend
* @package Zend_Log
* @subpackage Formatter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Xml.php 20104 2010-01-06 21:26:01Z matthew $
+ * @version $Id: Xml.php 24593 2012-01-05 20:35:02Z matthew $
*/
-/** Zend_Log_Formatter_Interface */
-require_once 'Zend/Log/Formatter/Interface.php';
+/** Zend_Log_Formatter_Abstract */
+require_once 'Zend/Log/Formatter/Abstract.php';
/**
* @category Zend
* @package Zend_Log
* @subpackage Formatter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Xml.php 20104 2010-01-06 21:26:01Z matthew $
+ * @version $Id: Xml.php 24593 2012-01-05 20:35:02Z matthew $
*/
-class Zend_Log_Formatter_Xml implements Zend_Log_Formatter_Interface
+class Zend_Log_Formatter_Xml extends Zend_Log_Formatter_Abstract
{
/**
- * @var Relates XML elements to log data field keys.
+ * @var string Name of root element
*/
protected $_rootElement;
/**
- * @var Relates XML elements to log data field keys.
+ * @var array Relates XML elements to log data field keys.
*/
protected $_elementMap;
@@ -50,16 +50,56 @@
/**
* Class constructor
+ * (the default encoding is UTF-8)
*
- * @param string $rootElement Name of root element
- * @param array $elementMap
- * @param string $encoding Encoding to use (defaults to UTF-8)
+ * @param array|Zend_Config $options
+ * @return void
*/
- public function __construct($rootElement = 'logEntry', $elementMap = null, $encoding = 'UTF-8')
+ public function __construct($options = array())
{
- $this->_rootElement = $rootElement;
- $this->_elementMap = $elementMap;
- $this->setEncoding($encoding);
+ if ($options instanceof Zend_Config) {
+ $options = $options->toArray();
+ } elseif (!is_array($options)) {
+ $args = func_get_args();
+
+ $options = array(
+ 'rootElement' => array_shift($args)
+ );
+
+ if (count($args)) {
+ $options['elementMap'] = array_shift($args);
+ }
+
+ if (count($args)) {
+ $options['encoding'] = array_shift($args);
+ }
+ }
+
+ if (!array_key_exists('rootElement', $options)) {
+ $options['rootElement'] = 'logEntry';
+ }
+
+ if (!array_key_exists('encoding', $options)) {
+ $options['encoding'] = 'UTF-8';
+ }
+
+ $this->_rootElement = $options['rootElement'];
+ $this->setEncoding($options['encoding']);
+
+ if (array_key_exists('elementMap', $options)) {
+ $this->_elementMap = $options['elementMap'];
+ }
+ }
+
+ /**
+ * Factory for Zend_Log_Formatter_Xml classe
+ *
+ * @param array|Zend_Config $options
+ * @return Zend_Log_Formatter_Xml
+ */
+ public static function factory($options)
+ {
+ return new self($options);
}
/**
@@ -106,10 +146,15 @@
$elt = $dom->appendChild(new DOMElement($this->_rootElement));
foreach ($dataToInsert as $key => $value) {
- if($key == "message") {
- $value = htmlspecialchars($value, ENT_COMPAT, $enc);
+ if (empty($value)
+ || is_scalar($value)
+ || (is_object($value) && method_exists($value,'__toString'))
+ ) {
+ if($key == "message") {
+ $value = htmlspecialchars($value, ENT_COMPAT, $enc);
+ }
+ $elt->appendChild(new DOMElement($key, (string)$value));
}
- $elt->appendChild(new DOMElement($key, $value));
}
$xml = $dom->saveXML();
@@ -117,5 +162,4 @@
return $xml . PHP_EOL;
}
-
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Abstract.php
--- a/web/lib/Zend/Log/Writer/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 22567 2010-07-16 03:32:31Z ramon $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Filter_Priority */
@@ -27,9 +27,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 22567 2010-07-16 03:32:31Z ramon $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Log_Writer_Abstract implements Zend_Log_FactoryInterface
{
@@ -40,6 +40,7 @@
/**
* Formats the log message before writing.
+ *
* @var Zend_Log_Formatter_Interface
*/
protected $_formatter;
@@ -48,11 +49,11 @@
* Add a filter specific to this writer.
*
* @param Zend_Log_Filter_Interface $filter
- * @return void
+ * @return Zend_Log_Writer_Abstract
*/
public function addFilter($filter)
{
- if (is_integer($filter)) {
+ if (is_int($filter)) {
$filter = new Zend_Log_Filter_Priority($filter);
}
@@ -69,7 +70,7 @@
/**
* Log a message to this writer.
*
- * @param array $event log data event
+ * @param array $event log data event
* @return void
*/
public function write($event)
@@ -88,7 +89,7 @@
* Set a new formatter for this writer
*
* @param Zend_Log_Formatter_Interface $formatter
- * @return void
+ * @return Zend_Log_Writer_Abstract
*/
public function setFormatter(Zend_Log_Formatter_Interface $formatter)
{
@@ -128,8 +129,8 @@
if (!is_array($config)) {
require_once 'Zend/Log/Exception.php';
throw new Zend_Log_Exception(
- 'Configuration must be an array or instance of Zend_Config'
- );
+ 'Configuration must be an array or instance of Zend_Config'
+ );
}
return $config;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Db.php
--- a/web/lib/Zend/Log/Writer/Db.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Db.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Db.php 22513 2010-07-01 13:48:39Z ramon $
+ * @version $Id: Db.php 25247 2013-02-01 17:49:40Z frosch $
*/
/** Zend_Log_Writer_Abstract */
@@ -27,30 +27,32 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Db.php 22513 2010-07-01 13:48:39Z ramon $
+ * @version $Id: Db.php 25247 2013-02-01 17:49:40Z frosch $
*/
class Zend_Log_Writer_Db extends Zend_Log_Writer_Abstract
{
/**
* Database adapter instance
+ *
* @var Zend_Db_Adapter
*/
- private $_db;
+ protected $_db;
/**
* Name of the log table in the database
+ *
* @var string
*/
- private $_table;
+ protected $_table;
/**
* Relates database columns names to log data field keys.
*
* @var null|array
*/
- private $_columnMap;
+ protected $_columnMap;
/**
* Class constructor
@@ -58,6 +60,7 @@
* @param Zend_Db_Adapter $db Database adapter instance
* @param string $table Log table in database
* @param array $columnMap
+ * @return void
*/
public function __construct($db, $table, $columnMap = null)
{
@@ -71,7 +74,6 @@
*
* @param array|Zend_Config $config
* @return Zend_Log_Writer_Db
- * @throws Zend_Log_Exception
*/
static public function factory($config)
{
@@ -95,6 +97,9 @@
/**
* Formatting is not possible on this writer
+ *
+ * @return void
+ * @throws Zend_Log_Exception
*/
public function setFormatter(Zend_Log_Formatter_Interface $formatter)
{
@@ -117,6 +122,7 @@
*
* @param array $event event data
* @return void
+ * @throws Zend_Log_Exception
*/
protected function _write($event)
{
@@ -130,7 +136,9 @@
} else {
$dataToInsert = array();
foreach ($this->_columnMap as $columnName => $fieldKey) {
- $dataToInsert[$columnName] = $event[$fieldKey];
+ if (isset($event[$fieldKey])) {
+ $dataToInsert[$columnName] = $event[$fieldKey];
+ }
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Firebug.php
--- a/web/lib/Zend/Log/Writer/Firebug.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Firebug.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Firebug.php 23066 2010-10-09 23:29:20Z cadorn $
+ * @version $Id: Firebug.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log */
@@ -38,14 +38,14 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Log_Writer_Firebug extends Zend_Log_Writer_Abstract
{
-
/**
* Maps logging priorities to logging display styles
+ *
* @var array
*/
protected $_priorityStyles = array(Zend_Log::EMERG => Zend_Wildfire_Plugin_FirePhp::ERROR,
@@ -59,18 +59,22 @@
/**
* The default logging style for un-mapped priorities
+ *
* @var string
*/
protected $_defaultPriorityStyle = Zend_Wildfire_Plugin_FirePhp::LOG;
/**
* Flag indicating whether the log writer is enabled
+ *
* @var boolean
*/
protected $_enabled = true;
/**
* Class constructor
+ *
+ * @return void
*/
public function __construct()
{
@@ -80,13 +84,12 @@
$this->_formatter = new Zend_Log_Formatter_Firebug();
}
-
+
/**
* Create a new instance of Zend_Log_Writer_Firebug
- *
+ *
* @param array|Zend_Config $config
* @return Zend_Log_Writer_Firebug
- * @throws Zend_Log_Exception
*/
static public function factory($config)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Mail.php
--- a/web/lib/Zend/Log/Writer/Mail.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Mail.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mail.php 22971 2010-09-18 20:32:24Z mikaelkael $
+ * @version $Id: Mail.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Writer_Abstract */
@@ -39,9 +39,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mail.php 22971 2010-09-18 20:32:24Z mikaelkael $
+ * @version $Id: Mail.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Writer_Mail extends Zend_Log_Writer_Abstract
{
@@ -106,7 +106,7 @@
* @var array
*/
protected static $_methodMapHeaders = array(
- 'from' => 'setFrom',
+ 'from' => 'setFrom',
'to' => 'addTo',
'cc' => 'addCc',
'bcc' => 'addBcc',
@@ -148,7 +148,7 @@
$writer->setLayout($config);
}
if (isset($config['layoutFormatter'])) {
- $layoutFormatter = new $config['layoutFormatter'];
+ $layoutFormatter = new $config['layoutFormatter'];
$writer->setLayoutFormatter($layoutFormatter);
}
if (isset($config['subjectPrependText'])) {
@@ -185,6 +185,7 @@
*
* @param array $config
* @return Zend_Mail
+ * @throws Zend_Log_Exception
*/
protected static function _constructMailFromConfig(array $config)
{
@@ -213,8 +214,8 @@
&& !is_numeric($address['name'])
) {
$params = array(
- $address['email'],
- $address['name']
+ $address['email'],
+ $address['name']
);
} else if (is_array($address) && isset($address['email'])) {
$params = array($address['email']);
@@ -233,6 +234,7 @@
*
* @param array $config
* @return Zend_Layout
+ * @throws Zend_Log_Exception
*/
protected function _constructLayoutFromConfig(array $config)
{
@@ -331,6 +333,7 @@
*
* @param string $subject Subject prepend text.
* @return Zend_Log_Writer_Mail
+ * @throws Zend_Log_Exception
*/
public function setSubjectPrependText($subject)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Mock.php
--- a/web/lib/Zend/Log/Writer/Mock.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Mock.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mock.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mock.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Writer_Abstract */
@@ -27,19 +27,23 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mock.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mock.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Writer_Mock extends Zend_Log_Writer_Abstract
{
/**
* array of log events
+ *
+ * @var array
*/
public $events = array();
/**
* shutdown called?
+ *
+ * @var boolean
*/
public $shutdown = false;
@@ -66,12 +70,11 @@
/**
* Create a new instance of Zend_Log_Writer_Mock
- *
+ *
* @param array|Zend_Config $config
* @return Zend_Log_Writer_Mock
- * @throws Zend_Log_Exception
*/
- static public function factory($config)
+ static public function factory($config)
{
return new self();
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Null.php
--- a/web/lib/Zend/Log/Writer/Null.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Null.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Null.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Writer_Abstract */
@@ -27,9 +27,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Null.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Writer_Null extends Zend_Log_Writer_Abstract
{
@@ -42,13 +42,12 @@
protected function _write($event)
{
}
-
+
/**
* Create a new instance of Zend_Log_Writer_Null
- *
+ *
* @param array|Zend_Config $config
* @return Zend_Log_Writer_Null
- * @throws Zend_Log_Exception
*/
static public function factory($config)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Stream.php
--- a/web/lib/Zend/Log/Writer/Stream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Stream.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Stream.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Writer_Abstract */
@@ -30,14 +30,15 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Stream.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Writer_Stream extends Zend_Log_Writer_Abstract
{
/**
* Holds the PHP stream to log to.
+ *
* @var null|stream
*/
protected $_stream = null;
@@ -45,13 +46,15 @@
/**
* Class Constructor
*
- * @param streamOrUrl Stream or URL to open as a stream
- * @param mode Mode, only applicable if a URL is given
+ * @param array|string|resource $streamOrUrl Stream or URL to open as a stream
+ * @param string|null $mode Mode, only applicable if a URL is given
+ * @return void
+ * @throws Zend_Log_Exception
*/
- public function __construct($streamOrUrl, $mode = NULL)
+ public function __construct($streamOrUrl, $mode = null)
{
// Setting the default
- if ($mode === NULL) {
+ if (null === $mode) {
$mode = 'a';
}
@@ -81,30 +84,29 @@
$this->_formatter = new Zend_Log_Formatter_Simple();
}
-
+
/**
- * Create a new instance of Zend_Log_Writer_Mock
- *
+ * Create a new instance of Zend_Log_Writer_Stream
+ *
* @param array|Zend_Config $config
- * @return Zend_Log_Writer_Mock
- * @throws Zend_Log_Exception
+ * @return Zend_Log_Writer_Stream
*/
static public function factory($config)
{
$config = self::_parseConfig($config);
$config = array_merge(array(
- 'stream' => null,
+ 'stream' => null,
'mode' => null,
), $config);
- $streamOrUrl = isset($config['url']) ? $config['url'] : $config['stream'];
-
+ $streamOrUrl = isset($config['url']) ? $config['url'] : $config['stream'];
+
return new self(
- $streamOrUrl,
+ $streamOrUrl,
$config['mode']
);
}
-
+
/**
* Close the stream resource.
*
@@ -122,6 +124,7 @@
*
* @param array $event event data
* @return void
+ * @throws Zend_Log_Exception
*/
protected function _write($event)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/Syslog.php
--- a/web/lib/Zend/Log/Writer/Syslog.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/Syslog.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Syslog.php 22977 2010-09-19 12:44:00Z intiilapa $
+ * @version $Id: Syslog.php 25024 2012-07-30 15:08:15Z rob $
*/
/** Zend_Log */
@@ -32,13 +32,14 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Log_Writer_Syslog extends Zend_Log_Writer_Abstract
{
/**
* Maps Zend_Log priorities to PHP's syslog priorities
+ *
* @var array
*/
protected $_priorities = array(
@@ -54,36 +55,41 @@
/**
* The default log priority - for unmapped custom priorities
+ *
* @var string
*/
protected $_defaultPriority = LOG_NOTICE;
/**
* Last application name set by a syslog-writer instance
+ *
* @var string
*/
protected static $_lastApplication;
/**
* Last facility name set by a syslog-writer instance
+ *
* @var string
*/
protected static $_lastFacility;
/**
* Application name used by this syslog-writer instance
+ *
* @var string
*/
protected $_application = 'Zend_Log';
/**
* Facility used by this syslog-writer instance
+ *
* @var int
*/
protected $_facility = LOG_USER;
/**
- * _validFacilities
+ * Types of program available to logging of message
*
* @var array
*/
@@ -92,7 +98,7 @@
/**
* Class constructor
*
- * @param array $options Array of options; may include "application" and "facility" keys
+ * @param array $params Array of options; may include "application" and "facility" keys
* @return void
*/
public function __construct(array $params = array())
@@ -103,7 +109,7 @@
$runInitializeSyslog = true;
if (isset($params['facility'])) {
- $this->_facility = $this->setFacility($params['facility']);
+ $this->setFacility($params['facility']);
$runInitializeSyslog = false;
}
@@ -117,7 +123,6 @@
*
* @param array|Zend_Config $config
* @return Zend_Log_Writer_Syslog
- * @throws Zend_Log_Exception
*/
static public function factory($config)
{
@@ -176,7 +181,7 @@
* Set syslog facility
*
* @param int $facility Syslog facility
- * @return void
+ * @return Zend_Log_Writer_Syslog
* @throws Zend_Log_Exception for invalid log facility
*/
public function setFacility($facility)
@@ -210,7 +215,7 @@
* Set application name
*
* @param string $application Application name
- * @return void
+ * @return Zend_Log_Writer_Syslog
*/
public function setApplicationName($application)
{
@@ -235,7 +240,7 @@
/**
* Write a message to syslog.
*
- * @param array $event event data
+ * @param array $event event data
* @return void
*/
protected function _write($event)
@@ -252,6 +257,11 @@
$this->_initializeSyslog();
}
- syslog($priority, $event['message']);
+ $message = $event['message'];
+ if ($this->_formatter instanceof Zend_Log_Formatter_Interface) {
+ $message = $this->_formatter->format($event);
+ }
+
+ syslog($priority, $message);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Log/Writer/ZendMonitor.php
--- a/web/lib/Zend/Log/Writer/ZendMonitor.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Log/Writer/ZendMonitor.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ZendMonitor.php 23351 2010-11-16 18:09:45Z matthew $
+ * @version $Id: ZendMonitor.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Log_Writer_Abstract */
@@ -27,26 +27,28 @@
* @category Zend
* @package Zend_Log
* @subpackage Writer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ZendMonitor.php 23351 2010-11-16 18:09:45Z matthew $
+ * @version $Id: ZendMonitor.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Log_Writer_ZendMonitor extends Zend_Log_Writer_Abstract
{
/**
* Is Zend Monitor enabled?
- * @var bool
+ *
+ * @var boolean
*/
protected $_isEnabled = true;
/**
* Is this for a Zend Server intance?
- * @var bool
+ *
+ * @var boolean
*/
protected $_isZendServer = false;
/**
- * @throws Zend_Log_Exception if Zend Monitor extension not present
+ * @return void
*/
public function __construct()
{
@@ -62,8 +64,7 @@
* Create a new instance of Zend_Log_Writer_ZendMonitor
*
* @param array|Zend_Config $config
- * @return Zend_Log_Writer_Syslog
- * @throws Zend_Log_Exception
+ * @return Zend_Log_Writer_ZendMonitor
*/
static public function factory($config)
{
@@ -77,7 +78,7 @@
* fail silently. You can query this method to determine if the log
* writer is enabled.
*
- * @return bool
+ * @return boolean
*/
public function isEnabled()
{
@@ -87,7 +88,7 @@
/**
* Log a message to this writer.
*
- * @param array $event log data event
+ * @param array $event log data event
* @return void
*/
public function write($event)
@@ -102,7 +103,7 @@
/**
* Write a message to the log.
*
- * @param array $event log data event
+ * @param array $event log data event
* @return void
*/
protected function _write($event)
@@ -116,10 +117,10 @@
// On Zend Server; third argument should be the event
zend_monitor_custom_event($priority, $message, $event);
} else {
- // On Zend Platform; third argument is severity -- either
+ // On Zend Platform; third argument is severity -- either
// 0 or 1 -- and fourth is optional (event)
// Severity is either 0 (normal) or 1 (severe); classifying
- // notice, info, and debug as "normal", and all others as
+ // notice, info, and debug as "normal", and all others as
// "severe"
monitor_custom_event($priority, $message, ($priority > 4) ? 0 : 1, $event);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail.php
--- a/web/lib/Zend/Mail.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mail.php 23251 2010-10-26 12:47:55Z matthew $
+ * @version $Id: Mail.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -46,7 +46,7 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail extends Zend_Mime_Message
@@ -1264,8 +1264,7 @@
return $email;
} else {
$encodedName = $this->_encodeHeader($name);
- if ($encodedName === $name &&
- ((strpos($name, '@') !== false) || (strpos($name, ',') !== false))) {
+ if ($encodedName === $name && strcspn($name, '()<>[]:;@\\,') != strlen($name)) {
$format = '"%s" <%s>';
} else {
$format = '%s <%s>';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Exception.php
--- a/web/lib/Zend/Mail/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Message.php
--- a/web/lib/Zend/Mail/Message.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Message.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Message.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Message.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Message extends Zend_Mail_Part implements Zend_Mail_Message_Interface
@@ -73,7 +73,7 @@
if (!empty($params['flags'])) {
// set key and value to the same value for easy lookup
- $this->_flags = array_combine($params['flags'], $params['flags']);
+ $this->_flags = array_merge($this->_flags, array_combine($params['flags'],$params['flags']));
}
parent::__construct($params);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Message/File.php
--- a/web/lib/Zend/Mail/Message/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Message/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
/**
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Message_File extends Zend_Mail_Part_File implements Zend_Mail_Message_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Message/Interface.php
--- a/web/lib/Zend/Mail/Message/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Message/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Part.php
--- a/web/lib/Zend/Mail/Part.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Part.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Part.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Part.php 24759 2012-05-05 02:58:55Z adamlundrigan $
*/
@@ -34,7 +34,7 @@
/**
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Part implements RecursiveIterator, Zend_Mail_Part_Interface
@@ -86,6 +86,12 @@
* @var int
*/
protected $_messageNum = 0;
+
+ /**
+ * Class to use when creating message parts
+ * @var string
+ */
+ protected $_partClass;
/**
* Public constructor
@@ -122,6 +128,10 @@
$this->_mail = $params['handler'];
$this->_messageNum = $params['id'];
}
+
+ if (isset($params['partclass'])) {
+ $this->setPartClass($params['partclass']);
+ }
if (isset($params['raw'])) {
Zend_Mime_Decode::splitMessage($params['raw'], $this->_headers, $this->_content);
@@ -140,6 +150,44 @@
}
}
}
+
+ /**
+ * Set name pf class used to encapsulate message parts
+ * @param string $class
+ * @return Zend_Mail_Part
+ */
+ public function setPartClass($class)
+ {
+ if ( !class_exists($class) ) {
+ /**
+ * @see Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Zend_Mail_Exception("Class '{$class}' does not exist");
+ }
+ if ( !is_subclass_of($class, 'Zend_Mail_Part_Interface') ) {
+ /**
+ * @see Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Zend_Mail_Exception("Class '{$class}' must implement Zend_Mail_Part_Interface");
+ }
+
+ $this->_partClass = $class;
+ return $this;
+ }
+
+ /**
+ * Retrieve the class name used to encapsulate message parts
+ * @return string
+ */
+ public function getPartClass()
+ {
+ if ( !$this->_partClass ) {
+ $this->_partClass = __CLASS__;
+ }
+ return $this->_partClass;
+ }
/**
* Check if part is a multipart message
@@ -223,9 +271,10 @@
if ($parts === null) {
return;
}
+ $partClass = $this->getPartClass();
$counter = 1;
foreach ($parts as $part) {
- $this->_parts[$counter++] = new self(array('headers' => $part['header'], 'content' => $part['body']));
+ $this->_parts[$counter++] = new $partClass(array('headers' => $part['header'], 'content' => $part['body']));
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Part/File.php
--- a/web/lib/Zend/Mail/Part/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Part/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
/**
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Part_File extends Zend_Mail_Part
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Part/Interface.php
--- a/web/lib/Zend/Mail/Part/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Part/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Abstract.php
--- a/web/lib/Zend/Mail/Protocol/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 22602 2010-07-16 22:37:31Z freak $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -42,9 +42,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 22602 2010-07-16 22:37:31Z freak $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
* @todo Implement proxy settings
*/
abstract class Zend_Mail_Protocol_Abstract
@@ -161,8 +161,8 @@
}
/**
- * Set the maximum log size
- *
+ * Set the maximum log size
+ *
* @param integer $maximumLog Maximum log size
* @return void
*/
@@ -170,18 +170,18 @@
{
$this->_maximumLog = (int) $maximumLog;
}
-
-
+
+
/**
- * Get the maximum log size
- *
+ * Get the maximum log size
+ *
* @return int the maximum log size
*/
public function getMaximumLog()
{
return $this->_maximumLog;
}
-
+
/**
* Create a connection to the remote host
@@ -277,7 +277,7 @@
throw new Zend_Mail_Protocol_Exception($errorStr);
}
- if (($result = stream_set_timeout($this->_socket, self::TIMEOUT_CONNECTION)) === false) {
+ if (($result = $this->_setStreamTimeout(self::TIMEOUT_CONNECTION)) === false) {
/**
* @see Zend_Mail_Protocol_Exception
*/
@@ -357,7 +357,7 @@
// Adapters may wish to supply per-commend timeouts according to appropriate RFC
if ($timeout !== null) {
- stream_set_timeout($this->_socket, $timeout);
+ $this->_setStreamTimeout($timeout);
}
// Retrieve response
@@ -428,9 +428,20 @@
* @see Zend_Mail_Protocol_Exception
*/
require_once 'Zend/Mail/Protocol/Exception.php';
- throw new Zend_Mail_Protocol_Exception($errMsg);
+ throw new Zend_Mail_Protocol_Exception($errMsg, $cmd);
}
return $msg;
}
+
+ /**
+ * Set stream timeout
+ *
+ * @param integer $timeout
+ * @return boolean
+ */
+ protected function _setStreamTimeout($timeout)
+ {
+ return stream_set_timeout($this->_socket, $timeout);
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Exception.php
--- a/web/lib/Zend/Mail/Protocol/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Protocol_Exception extends Zend_Mail_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Imap.php
--- a/web/lib/Zend/Mail/Protocol/Imap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Imap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Imap.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Imap.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Protocol_Imap
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Pop3.php
--- a/web/lib/Zend/Mail/Protocol/Pop3.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Pop3.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pop3.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Pop3.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Protocol_Pop3
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Smtp.php
--- a/web/lib/Zend/Mail/Protocol/Smtp.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Smtp.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Smtp.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Smtp.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Protocol_Smtp extends Zend_Mail_Protocol_Abstract
@@ -327,7 +327,7 @@
/**
- * Issues the RSET command end validates answer
+ * Issues the RSET command and validates answer
*
* Can be used to restore a clean smtp communication state when a transaction has been cancelled or commencing a new transaction.
*
@@ -346,7 +346,7 @@
/**
- * Issues the NOOP command end validates answer
+ * Issues the NOOP command and validates answer
*
* Not used by Zend_Mail, could be used to keep a connection alive or check if it is still open.
*
@@ -360,7 +360,7 @@
/**
- * Issues the VRFY command end validates answer
+ * Issues the VRFY command and validates answer
*
* Not used by Zend_Mail.
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Smtp/Auth/Crammd5.php
--- a/web/lib/Zend/Mail/Protocol/Smtp/Auth/Crammd5.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Smtp/Auth/Crammd5.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Crammd5.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: Crammd5.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Protocol_Smtp_Auth_Crammd5 extends Zend_Mail_Protocol_Smtp
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Smtp/Auth/Login.php
--- a/web/lib/Zend/Mail/Protocol/Smtp/Auth/Login.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Smtp/Auth/Login.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Login.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Login.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Protocol_Smtp_Auth_Login extends Zend_Mail_Protocol_Smtp
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Protocol/Smtp/Auth/Plain.php
--- a/web/lib/Zend/Mail/Protocol/Smtp/Auth/Plain.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Protocol/Smtp/Auth/Plain.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Plain.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: Plain.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Protocol_Smtp_Auth_Plain extends Zend_Mail_Protocol_Smtp
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage.php
--- a/web/lib/Zend/Mail/Storage.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Storage.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Storage.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Mail
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Abstract.php
--- a/web/lib/Zend/Mail/Storage/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Mail_Storage_Abstract implements Countable, ArrayAccess, SeekableIterator
@@ -119,7 +119,7 @@
/**
* Get a message with headers and body
*
- * @param $id int number of message
+ * @param int $id number of message
* @return Zend_Mail_Message
*/
abstract public function getMessage($id);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Exception.php
--- a/web/lib/Zend/Mail/Storage/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Exception extends Zend_Mail_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Folder.php
--- a/web/lib/Zend/Mail/Storage/Folder.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Folder.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Folder.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Folder.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Folder implements RecursiveIterator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Folder/Interface.php
--- a/web/lib/Zend/Mail/Storage/Folder/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Folder/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Mail_Storage_Folder_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Folder/Maildir.php
--- a/web/lib/Zend/Mail/Storage/Folder/Maildir.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Folder/Maildir.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Maildir.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Maildir.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Folder_Maildir extends Zend_Mail_Storage_Maildir implements Zend_Mail_Storage_Folder_Interface
@@ -77,7 +77,7 @@
* - delim delim char for folder structur, default is '.'
* - folder intial selected folder, default is 'INBOX'
*
- * @param $params array mail reader specific parameters
+ * @param array $params mail reader specific parameters
* @throws Zend_Mail_Storage_Exception
*/
public function __construct($params)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Folder/Mbox.php
--- a/web/lib/Zend/Mail/Storage/Folder/Mbox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Folder/Mbox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mbox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mbox.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Folder_Mbox extends Zend_Mail_Storage_Mbox implements Zend_Mail_Storage_Folder_Interface
@@ -73,7 +73,7 @@
* - dirname rootdir of mbox structure
* - folder intial selected folder, default is 'INBOX'
*
- * @param $params array mail reader specific parameters
+ * @param array $params mail reader specific parameters
* @throws Zend_Mail_Storage_Exception
*/
public function __construct($params)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Imap.php
--- a/web/lib/Zend/Mail/Storage/Imap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Imap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Imap.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Imap.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -60,7 +60,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Imap extends Zend_Mail_Storage_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Maildir.php
--- a/web/lib/Zend/Mail/Storage/Maildir.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Maildir.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Maildir.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Maildir.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Maildir extends Zend_Mail_Storage_Abstract
@@ -257,7 +257,7 @@
* Supported parameters are:
* - dirname dirname of mbox file
*
- * @param $params array mail reader specific parameters
+ * @param array $params mail reader specific parameters
* @throws Zend_Mail_Storage_Exception
*/
public function __construct($params)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Mbox.php
--- a/web/lib/Zend/Mail/Storage/Mbox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Mbox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mbox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mbox.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Mbox extends Zend_Mail_Storage_Abstract
@@ -216,7 +216,7 @@
* Supported parameters are:
* - filename filename of mbox file
*
- * @param $params array mail reader specific parameters
+ * @param array $params mail reader specific parameters
* @throws Zend_Mail_Storage_Exception
*/
public function __construct($params)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Pop3.php
--- a/web/lib/Zend/Mail/Storage/Pop3.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Pop3.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pop3.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Pop3.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Pop3 extends Zend_Mail_Storage_Abstract
@@ -154,7 +154,7 @@
* - port port for POP3 server [optional, default = 110]
* - ssl 'SSL' or 'TLS' for secure sockets
*
- * @param $params array mail reader specific parameters
+ * @param array $params mail reader specific parameters
* @throws Zend_Mail_Storage_Exception
* @throws Zend_Mail_Protocol_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Writable/Interface.php
--- a/web/lib/Zend/Mail/Storage/Writable/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Writable/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Storage/Writable/Maildir.php
--- a/web/lib/Zend/Mail/Storage/Writable/Maildir.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Storage/Writable/Maildir.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Maildir.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Maildir.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Storage_Writable_Maildir extends Zend_Mail_Storage_Folder_Maildir
@@ -105,7 +105,7 @@
* Additional parameters are (see parent for more):
* - create if true a new maildir is create if none exists
*
- * @param $params array mail reader specific parameters
+ * @param array $params mail reader specific parameters
* @throws Zend_Mail_Storage_Exception
*/
public function __construct($params) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Transport/Abstract.php
--- a/web/lib/Zend/Mail/Transport/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Transport/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Mail_Transport_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Transport/Exception.php
--- a/web/lib/Zend/Mail/Transport/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Transport/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Transport_Exception extends Zend_Mail_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Transport/File.php
--- a/web/lib/Zend/Mail/Transport/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Transport/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id$
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Transport_File extends Zend_Mail_Transport_Abstract
@@ -86,7 +86,7 @@
*/
public function setOptions(array $options)
{
- if (isset($options['path'])&& is_dir($options['path'])) {
+ if (isset($options['path']) && is_dir($options['path'])) {
$this->_path = $options['path'];
}
if (isset($options['callback']) && is_callable($options['callback'])) {
@@ -127,7 +127,7 @@
* @param Zend_Mail_Transport_File File transport instance
* @return string
*/
- public function defaultCallback($transport)
+ public function defaultCallback($transport)
{
return 'ZendMail_' . $_SERVER['REQUEST_TIME'] . '_' . mt_rand() . '.tmp';
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Transport/Sendmail.php
--- a/web/lib/Zend/Mail/Transport/Sendmail.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Transport/Sendmail.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sendmail.php 21603 2010-03-22 12:47:11Z yoshida@zend.co.jp $
+ * @version $Id: Sendmail.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Transport_Sendmail extends Zend_Mail_Transport_Abstract
@@ -74,14 +74,14 @@
*/
public function __construct($parameters = null)
{
- if ($parameters instanceof Zend_Config) {
- $parameters = $parameters->toArray();
+ if ($parameters instanceof Zend_Config) {
+ $parameters = $parameters->toArray();
}
- if (is_array($parameters)) {
+ if (is_array($parameters)) {
$parameters = implode(' ', $parameters);
}
-
+
$this->parameters = $parameters;
}
@@ -109,7 +109,7 @@
if(!is_string($this->parameters)) {
/**
* @see Zend_Mail_Transport_Exception
- *
+ *
* Exception is thrown here because
* $parameters is a public property
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mail/Transport/Smtp.php
--- a/web/lib/Zend/Mail/Transport/Smtp.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mail/Transport/Smtp.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Smtp.php 23424 2010-11-22 22:42:55Z bittarman $
+ * @version $Id: Smtp.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -45,7 +45,7 @@
* @category Zend
* @package Zend_Mail
* @subpackage Transport
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail_Transport_Smtp extends Zend_Mail_Transport_Abstract
@@ -111,7 +111,7 @@
* @param string $host OPTIONAL (Default: 127.0.0.1)
* @param array|null $config OPTIONAL (Default: null)
* @return void
- *
+ *
* @todo Someone please make this compatible
* with the SendMail transport class.
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup.php
--- a/web/lib/Zend/Markup.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Markup
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Markup.php 20277 2010-01-14 14:17:12Z kokx $
+ * @version $Id: Markup.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Markup
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Exception.php
--- a/web/lib/Zend/Markup/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Markup
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20277 2010-01-14 14:17:12Z kokx $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,10 +27,10 @@
/**
* Exception class for Zend_Markup
*
- * @category Zend
+ * @category Zend
* @uses Zend_Exception
* @package Zend_Markup
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Parser/Bbcode.php
--- a/web/lib/Zend/Markup/Parser/Bbcode.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Parser/Bbcode.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Parser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Bbcode.php 21127 2010-02-21 15:35:03Z kokx $
+ * @version $Id: Bbcode.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Parser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Parser_Bbcode implements Zend_Markup_Parser_ParserInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Parser/Exception.php
--- a/web/lib/Zend/Markup/Parser/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Parser/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Parser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20277 2010-01-14 14:17:12Z kokx $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,11 +28,11 @@
/**
* Exception class for Zend_Markup_Parser
*
- * @category Zend
+ * @category Zend
* @uses Zend_Markup_Exception
* @package Zend_Markup
* @subpackage Parser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Parser_Exception extends Zend_Markup_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Parser/ParserInterface.php
--- a/web/lib/Zend/Markup/Parser/ParserInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Parser/ParserInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Markup
* @subpackage Parser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ParserInterface.php 20277 2010-01-14 14:17:12Z kokx $
+ * @version $Id: ParserInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Markup
* @subpackage Parser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Markup_Parser_ParserInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Parser/Textile.php
--- a/web/lib/Zend/Markup/Parser/Textile.php Sun Apr 21 10:07:03 2013 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,570 +0,0 @@
-[a-zA-Z0-9_]+)?(?:\#(?[a-zA-Z0-9_]+))?\)';
- const MATCH_ATTR_STYLE = "\{(?[^\}\n]+)\}";
- const MATCH_ATTR_LANG = '\[(?[a-zA-Z_]+)\]';
- const MATCH_ATTR_ALIGN = '(?\<\>?|\>|=)';
-
-
-
- /**
- * Token tree
- *
- * @var Zend_Markup_TokenList
- */
- protected $_tree;
-
- /**
- * Current token
- *
- * @var Zend_Markup_Token
- */
- protected $_current;
-
- /**
- * Source to tokenize
- *
- * @var string
- */
- protected $_value = '';
-
- /**
- * Length of the value
- *
- * @var int
- */
- protected $_valueLen = 0;
-
- /**
- * Current pointer
- *
- * @var int
- */
- protected $_pointer = 0;
-
- /**
- * The buffer
- *
- * @var string
- */
- protected $_buffer = '';
-
- /**
- * Simple tag translation
- *
- * @var array
- */
- protected $_simpleTags = array(
- '*' => 'strong',
- '**' => 'bold',
- '_' => 'emphasized',
- '__' => 'italic',
- '??' => 'citation',
- '-' => 'deleted',
- '+' => 'insert',
- '^' => 'superscript',
- '~' => 'subscript',
- '%' => 'span',
- // these are a little more complicated
- '@' => 'code',
- '!' => 'img',
- );
-
- /**
- * Token array
- *
- * @var array
- */
- protected $_tokens = array();
-
-
- /**
- * Prepare the parsing of a Textile string, the real parsing is done in {@link _parse()}
- *
- * @param string $value
- *
- * @return array
- */
- public function parse($value)
- {
- if (!is_string($value)) {
- /**
- * @see Zend_Markup_Parser_Exception
- */
- require_once 'Zend/Markup/Parser/Exception.php';
- throw new Zend_Markup_Parser_Exception('Value to parse should be a string.');
- }
- if (empty($value)) {
- /**
- * @see Zend_Markup_Parser_Exception
- */
- require_once 'Zend/Markup/Parser/Exception.php';
- throw new Zend_Markup_Parser_Exception('Value to parse cannot be left empty.');
- }
-
- // first make we only have LF newlines, also trim the value
- $this->_value = str_replace(array("\r\n", "\r"), "\n", $value);
- $this->_value = trim($this->_value);
-
- // initialize variables and tokenize
- $this->_valueLen = iconv_strlen($this->_value, 'UTF-8');
- $this->_pointer = 0;
- $this->_buffer = '';
- $this->_temp = array();
- $this->_tokens = array();
-
- $this->_tokenize();
-
- // create the tree
- $this->_tree = new Zend_Markup_TokenList();
-
- $this->_current = new Zend_Markup_Token('', Zend_Markup_Token::TYPE_NONE, 'Zend_Markup_Root');
- $this->_tree->addChild($this->_current);
-
- $this->_createTree();
-
- return $this->_tree;
- }
-
- /**
- * Tokenize a textile string
- *
- * @return array
- */
- protected function _tokenize()
- {
- $state = self::STATE_NEW_PARAGRAPH;
-
- $attrsMatch = implode('|', array(
- self::MATCH_ATTR_CLASSID,
- self::MATCH_ATTR_STYLE,
- self::MATCH_ATTR_LANG,
- self::MATCH_ATTR_ALIGN
- ));
-
- $paragraph = '';
-
- while ($this->_pointer < $this->_valueLen) {
- switch ($state) {
- case self::STATE_SCAN:
- $matches = array(); //[^\n*_?+~%@!-]
- $acronym = '(?[A-Z]{2,})\((?[^\)]+)\)';
- $regex = '#\G(?.*?)(?:'
- . "(?:(?\n{2,})|(?\n))|"
- . '(?'
- . "(?\*{1,2}|_{1,2}|\?{2}|\-|\+|\~|\^|%|@|!|$|{$acronym}"
- . '|":(?[^\s]+)|")'
- . "(?:{$attrsMatch})*)"
- . ')#si';
- preg_match($regex, $this->_value, $matches, null, $this->_pointer);
-
- $this->_pointer += strlen($matches[0]);
-
- if (!empty($matches['text'])) {
- $this->_buffer .= $matches['text'];
- }
-
- // first add the buffer
- if (!empty($this->_buffer)) {
- $this->_tokens[] = array(
- 'tag' => $this->_buffer,
- 'type' => Zend_Markup_Token::TYPE_NONE
- );
- $this->_buffer = '';
- }
-
- if (!empty($matches['nl_paragraph'])) {
- $this->_temp = array(
- 'tag' => $matches['nl_paragraph'],
- 'name' => 'p',
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'attributes' => array()
- );
-
- $state = self::STATE_NEW_PARAGRAPH;
- } elseif (!empty($matches['nl_break'])) {
- $this->_tokens[] = array(
- 'tag' => $matches['nl_break'],
- 'name' => 'break',
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'attributes' => array()
- );
-
- $state = self::STATE_NEWLINE;
- } elseif (!empty($matches['tag'])) {
- if (isset($this->_simpleTags[$matches['name']])) {
- // now add the new token
- $this->_tokens[] = array(
- 'tag' => $matches['tag'],
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'name' => $this->_simpleTags[$matches['name']],
- 'attributes' => $this->_extractAttributes($matches)
- );
- } else {
- $attributes = $this->_extractAttributes($matches);
- if ($matches['tag'][0] == '"') {
- $name = 'url';
- if (isset($matches['url'])) {
- $attributes['url'] = $matches['url'];
- }
- $this->_tokens[] = array(
- 'tag' => $matches['tag'],
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'name' => $name,
- 'attributes' => $attributes
- );
- } else {
- $name = 'acronym';
- $this->_tokens[] = array(
- 'tag' => '',
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'name' => 'acronym',
- 'attributes' => array(
- 'title' => $matches['title']
- )
- );
- $this->_tokens[] = array(
- 'tag' => $matches['acronym'],
- 'type' => Zend_Markup_Token::TYPE_NONE
- );
- $this->_tokens[] = array(
- 'tag' => '(' . $matches['title'] . ')',
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'name' => 'acronym',
- 'attributes' => array()
- );
- }
- }
- $state = self::STATE_SCAN;
- }
-
- break;
- case self::STATE_NEW_PARAGRAPH:
- if (empty($this->_temp)) {
- $this->_temp = array(
- 'tag' => '',
- 'name' => 'p',
- 'type' => Zend_Markup_token::TYPE_TAG,
- 'attributes' => array()
- );
- } else {
- $this->_tokens[] = array(
- 'tag' => "\n",
- 'name' => 'p',
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'attributes' => array()
- );
- $this->_temp['tag'] = substr($this->_temp['tag'], 1);
- }
-
- $matches = array(); //[^\n*_?+~%@!-] (\()? [^()]+ (?(1)\))
- $regex = "#\G(?(h[1-6]|p)|(?:\#|\*))(?:{$attrsMatch})*(?(2)\.\s|\s)#i";
- if (!preg_match($regex, $this->_value, $matches, null, $this->_pointer)) {
- $this->_tokens[] = $this->_temp;
- $state = self::STATE_SCAN;
- break;
- }
-
- $this->_pointer += strlen($matches[0]);
-
- if ($matches['name'] == 'p') {
- $this->_temp['tag'] .= $matches[0];
- $this->_temp['attributes'] = $this->_extractAttributes($matches);
-
- $this->_tokens[] = $this->_temp;
- $this->_temp = array();
- } else {
- $this->_tokens[] = $this->_temp;
- $this->_temp = array();
-
- $name = $matches['name'];
- $attributes = $this->_extractAttributes($matches);
-
- if ($name == '#') {
- $name = 'list';
- $attributes['list'] = 'decimal';
- } elseif ($name == '*') {
- $name = 'list';
- }
-
- $this->_tokens[] = array(
- 'tag' => $matches[0],
- 'name' => $name,
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'attributes' => $attributes
- );
- }
-
- $state = self::STATE_SCAN;
- break;
- case self::STATE_NEWLINE:
- $matches = array(); //[^\n*_?+~%@!-]
- $regex = "#\G(?(h[1-6])|(?:\#|\*))(?:{$attrsMatch})*(?(2)\.\s|\s)#si";
- if (!preg_match($regex, $this->_value, $matches, null, $this->_pointer)) {
- $state = self::STATE_SCAN;
- break;
- }
-
- $this->_pointer += strlen($matches[0]);
-
- $name = $matches['name'];
- $attributes = $this->_extractAttributes($matches);
-
- if ($name == '#') {
- $name = 'list';
- $attributes['list'] = 'decimal';
- } elseif ($name == '*') {
- $name = 'list';
- }
-
- $this->_tokens[] = array(
- 'tag' => $matches[0],
- 'name' => $name,
- 'type' => Zend_Markup_Token::TYPE_TAG,
- 'attributes' => $attributes
- );
- break;
- }
- }
- }
-
- /**
- * Create a tree from the tokenized text
- *
- * @return void
- */
- protected function _createTree()
- {
- $inside = true;
-
- foreach ($this->_tokens as $key => $token) {
- // first check if the token is a stopper
- if ($this->_isStopper($token, $this->_current)) {
- if ($this->_current->getName() == 'li') {
- // list items are handled differently
- if (isset($this->_tokens[$key + 1])
- && ($this->_tokens[$key + 1]['type'] == Zend_Markup_Token::TYPE_TAG)
- && ($this->_tokens[$key + 1]['name'] == 'list')
- ) {
- // the next item is a correct tag
- $this->_current->setStopper($token['tag']);
-
- $this->_current = $this->_current->getParent();
- } else {
- // close the list
- $this->_current->setStopper($token['tag']);
-
- $this->_current = $this->_current->getParent()->getParent();
-
- // go up in the tree until we found the end
- while ($this->_isStopper($token, $this->_current)) {
- $this->_current->setStopper($token['tag']);
-
- $this->_current = $this->_current->getParent();
- }
- }
- } else {
- // go up in the tree until we found the end of stoppers
- while ($this->_isStopper($token, $this->_current)) {
- $this->_current->setStopper($token['tag']);
-
- if (!empty($token['attributes'])) {
- foreach ($token['attributes'] as $name => $value) {
- $this->_current->addAttribute($name, $value);
- }
- }
-
- $this->_current = $this->_current->getParent();
- }
- }
- $inside = true;
- } elseif (($token['type'] == Zend_Markup_Token::TYPE_TAG) && $inside) {
- if ($token['name'] == 'break') {
- // add the newline and continue parsing
- $this->_current->addChild(new Zend_Markup_Token(
- $token['tag'],
- Zend_Markup_Token::TYPE_NONE,
- '',
- array(),
- $this->_current
- ));
- } else {
- // handle a list item
- if ($token['name'] == 'list') {
- $attributes = array();
- if (isset($token['attributes']['list'])) {
- $attributes['list'] = $token['attributes']['list'];
- unset($token['attributes']['list']);
- }
-
- if ($this->_current->getName() != 'list') {
- // the list isn't started yet, create it
- $child = new Zend_Markup_Token(
- '',
- Zend_Markup_Token::TYPE_TAG,
- 'list',
- $attributes,
- $this->_current
- );
-
- $this->_current->addChild($child);
-
- $this->_current = $child;
- }
- $token['name'] = 'li';
- } elseif (($token['name'] == 'img') || ($token['name'] == 'url')) {
- $inside = false;
- }
-
- // add the token
- $child = new Zend_Markup_Token(
- $token['tag'],
- Zend_Markup_Token::TYPE_TAG,
- $token['name'],
- $token['attributes'],
- $this->_current
- );
-
- $this->_current->addChild($child);
-
- $this->_current = $child;
- }
- } else {
- // simply add the token as text
- $this->_current->addChild(new Zend_Markup_Token(
- $token['tag'],
- Zend_Markup_Token::TYPE_NONE,
- '',
- array(),
- $this->_current
- ));
- }
- }
- }
-
- /**
- * Check if a tag is a stopper
- *
- * @param array $token
- * @param Zend_Markup_Token $current
- *
- * @return bool
- */
- protected function _isStopper(array $token, Zend_Markup_Token $current)
- {
- switch ($current->getName()) {
- case 'h1':
- case 'h2':
- case 'h3':
- case 'h4':
- case 'h5':
- case 'h6':
- case 'list':
- case 'li':
- if (($token['type'] == Zend_Markup_Token::TYPE_TAG)
- && (($token['name'] == 'break') || ($token['name'] == 'p'))
- ) {
- return true;
- }
- break;
- case 'break':
- return false;
- break;
- default:
- if (($token['type'] == Zend_Markup_Token::TYPE_TAG) && ($token['name'] == $current->getName())) {
- return true;
- }
- break;
- }
- return false;
- }
-
- /**
- * Extract the attributes
- *
- * @param array $matches
- *
- * @return array
- */
- protected function _extractAttributes(array $matches)
- {
- $attributes = array();
-
- if (!empty($matches['attr_class'])) {
- $attributes['class'] = $matches['attr_class'];
- }
- if (!empty($matches['attr_id'])) {
- $attributes['id'] = $matches['attr_id'];
- }
- if (!empty($matches['attr_style'])) {
- $attributes['style'] = $matches['attr_style'];
- }
- if (!empty($matches['attr_lang'])) {
- $attributes['lang'] = $matches['attr_lang'];
- }
- if (!empty($matches['attr_align'])) {
- switch ($matches['attr_align']) {
- case '=':
- $attributes['align'] = 'center';
- break;
- case '>':
- $attributes['align'] = 'right';
- break;
- case '<>':
- $attributes['align'] = 'justify';
- break;
- default:
- case '<':
- $attributes['align'] = 'left';
- break;
- }
- }
-
- return $attributes;
- }
-
-}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/Exception.php
--- a/web/lib/Zend/Markup/Renderer/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20277 2010-01-14 14:17:12Z kokx $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @uses Zend_Markup_Exception
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Renderer_Exception extends Zend_Markup_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/Html.php
--- a/web/lib/Zend/Markup/Renderer/Html.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/Html.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Html.php 22286 2010-05-25 14:26:45Z matthew $
+ * @version $Id: Html.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -43,7 +43,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Renderer_Html extends Zend_Markup_Renderer_RendererAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/Html/Code.php
--- a/web/lib/Zend/Markup/Renderer/Html/Code.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/Html/Code.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Code.php 20270 2010-01-13 22:37:41Z kokx $
+ * @version $Id: Code.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Renderer_Html_Code extends Zend_Markup_Renderer_Html_HtmlAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/Html/HtmlAbstract.php
--- a/web/lib/Zend/Markup/Renderer/Html/HtmlAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/Html/HtmlAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HtmlAbstract.php 20271 2010-01-13 23:27:34Z kokx $
+ * @version $Id: HtmlAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Markup_Renderer_Html_HtmlAbstract implements Zend_Markup_Renderer_TokenConverterInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/Html/Img.php
--- a/web/lib/Zend/Markup/Renderer/Html/Img.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/Html/Img.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Img.php 20663 2010-01-26 18:45:18Z kokx $
+ * @version $Id: Img.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Renderer_Html_Img extends Zend_Markup_Renderer_Html_HtmlAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/Html/List.php
--- a/web/lib/Zend/Markup/Renderer/Html/List.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/Html/List.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: List.php 20270 2010-01-13 22:37:41Z kokx $
+ * @version $Id: List.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Renderer_Html_List extends Zend_Markup_Renderer_Html_HtmlAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/Html/Url.php
--- a/web/lib/Zend/Markup/Renderer/Html/Url.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/Html/Url.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Url.php 20663 2010-01-26 18:45:18Z kokx $
+ * @version $Id: Url.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -35,7 +35,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer_Html
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Renderer_Html_Url extends Zend_Markup_Renderer_Html_HtmlAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/RendererAbstract.php
--- a/web/lib/Zend/Markup/Renderer/RendererAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/RendererAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RendererAbstract.php 22197 2010-05-19 13:32:25Z kokx $
+ * @version $Id: RendererAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Markup_Renderer_RendererAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Renderer/TokenConverterInterface.php
--- a/web/lib/Zend/Markup/Renderer/TokenConverterInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Renderer/TokenConverterInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TokenConverterInterface.php 20271 2010-01-13 23:27:34Z kokx $
+ * @version $Id: TokenConverterInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Markup
* @subpackage Renderer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Markup_Renderer_TokenConverterInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/Token.php
--- a/web/lib/Zend/Markup/Token.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/Token.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Markup
* @subpackage Parser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Token.php 20277 2010-01-14 14:17:12Z kokx $
+ * @version $Id: Token.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Markup
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_Token
@@ -260,7 +260,7 @@
return $this->_children;
}
- /**
+ /**
* Does this token have any children
*
* @return bool
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Markup/TokenList.php
--- a/web/lib/Zend/Markup/TokenList.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Markup/TokenList.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Markup
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TokenList.php 20277 2010-01-14 14:17:12Z kokx $
+ * @version $Id: TokenList.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Markup
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Markup_TokenList implements RecursiveIterator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Abstract.php
--- a/web/lib/Zend/Measure/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 21329 2010-03-04 22:06:08Z thomas $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Abstract
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Measure_Abstract
@@ -74,9 +74,9 @@
/**
* Zend_Measure_Abstract is an abstract class for the different measurement types
*
- * @param $value mixed - Value as string, integer, real or float
- * @param $type type - OPTIONAL a measure type f.e. Zend_Measure_Length::METER
- * @param $locale locale - OPTIONAL a Zend_Locale Type
+ * @param mixed $value Value as string, integer, real or float
+ * @param int $type OPTIONAL a measure type f.e. Zend_Measure_Length::METER
+ * @param Zend_Locale $locale OPTIONAL a Zend_Locale Type
* @throws Zend_Measure_Exception
*/
public function __construct($value, $type = null, $locale = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Acceleration.php
--- a/web/lib/Zend/Measure/Acceleration.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Acceleration.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Acceleration.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Acceleration.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Acceleration
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Acceleration extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Angle.php
--- a/web/lib/Zend/Measure/Angle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Angle.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Angle.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Angle.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Angle
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Angle extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Area.php
--- a/web/lib/Zend/Measure/Area.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Area.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Area.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Area.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Area
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Area extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Binary.php
--- a/web/lib/Zend/Measure/Binary.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Binary.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Binary.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Binary.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Binary
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Binary extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Capacitance.php
--- a/web/lib/Zend/Measure/Capacitance.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Capacitance.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Capacitance.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Capacitance.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Capacitance
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Capacitance extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Cooking/Volume.php
--- a/web/lib/Zend/Measure/Cooking/Volume.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Cooking/Volume.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Volume.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Volume.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Cooking_Volume
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Cooking_Volume extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Cooking/Weight.php
--- a/web/lib/Zend/Measure/Cooking/Weight.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Cooking/Weight.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Weight.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Weight.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Cooking_Weight
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Cooking_Weight extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Current.php
--- a/web/lib/Zend/Measure/Current.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Current.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Current.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Current.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Current
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Current extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Density.php
--- a/web/lib/Zend/Measure/Density.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Density.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Density.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Density.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Density
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Density extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Energy.php
--- a/web/lib/Zend/Measure/Energy.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Energy.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Energy.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Energy.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Energy
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Energy extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Exception.php
--- a/web/lib/Zend/Measure/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Flow/Mass.php
--- a/web/lib/Zend/Measure/Flow/Mass.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Flow/Mass.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mass.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mass.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Flow_Mass
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Flow_Mass extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Flow/Mole.php
--- a/web/lib/Zend/Measure/Flow/Mole.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Flow/Mole.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mole.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mole.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Flow_Mole
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Flow_Mole extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Flow/Volume.php
--- a/web/lib/Zend/Measure/Flow/Volume.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Flow/Volume.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Volume.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Volume.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Flow_Volume
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Flow_Volume extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Force.php
--- a/web/lib/Zend/Measure/Force.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Force.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Force.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Force.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Force
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Force extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Frequency.php
--- a/web/lib/Zend/Measure/Frequency.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Frequency.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Frequency.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Frequency.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Frequency
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Frequency extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Illumination.php
--- a/web/lib/Zend/Measure/Illumination.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Illumination.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Illumination.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Illumination.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Illumination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Illumination extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Length.php
--- a/web/lib/Zend/Measure/Length.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Length.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Length.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Length.php 25199 2013-01-09 11:56:38Z frosch $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Length
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Length extends Zend_Measure_Abstract
@@ -361,7 +361,7 @@
'ALEN_DANISH' => array('0.6277', 'alen'),
'ALEN' => array('0.6', 'alen'),
'ALEN_SWEDISH' => array('0.5938', 'alen'),
- 'ANGSTROM' => array('1.0e-10', 'Å'),
+ 'ANGSTROM' => array('1.0e-10', 'Å'),
'ARMS' => array('0.7', 'arms'),
'ARPENT_CANADIAN' => array('58.47', 'arpent'),
'ARPENT' => array('58.471308', 'arpent'),
@@ -373,11 +373,11 @@
'BAMBOO' => array('3.2', 'bamboo'),
'BARLEYCORN' => array('0.0085', 'barleycorn'),
'BEE_SPACE' => array('0.0065', 'bee space'),
- 'BICRON' => array('1.0e-12', '��'),
+ 'BICRON' => array('1.0e-12', 'µµ'),
'BLOCK_US_EAST' => array('80.4672', 'block'),
'BLOCK_US_WEST' => array('100.584', 'block'),
'BLOCK_US_SOUTH' => array('160.9344', 'block'),
- 'BOHR' => array('52.918e-12', 'a�'),
+ 'BOHR' => array('52.918e-12', 'a₀'),
'BRACCIO' => array('0.7', 'braccio'),
'BRAZA_ARGENTINA' => array('1.733', 'braza'),
'BRAZA' => array('1.67', 'braza'),
@@ -415,8 +415,8 @@
'DIGIT' => array('0.019', 'digit'),
'DIRAA' => array('0.58', ''),
'DONG' => array(array('' => '7','/' => '300'), 'dong'),
- 'DOUZIEME_WATCH' => array('0.000188', 'douzi�me'),
- 'DOUZIEME' => array('0.00017638888889', 'douzi�me'),
+ 'DOUZIEME_WATCH' => array('0.000188', 'douzième'),
+ 'DOUZIEME' => array('0.00017638888889', 'douzième'),
'DRA_IRAQ' => array('0.745', 'dra'),
'DRA' => array('0.7112', 'dra'),
'EL' => array('0.69', 'el'),
@@ -533,10 +533,10 @@
'METRE' => array('1', 'm'),
'METRIC_MILE' => array('1500', 'metric mile'),
'METRIC_MILE_US' => array('1600', 'metric mile'),
- 'MICROINCH' => array('2.54e-08', '�in'),
- 'MICROMETER' => array('0.000001', '�m'),
- 'MICROMICRON' => array('1.0e-12', '��'),
- 'MICRON' => array('0.000001', '�'),
+ 'MICROINCH' => array('2.54e-08', 'µin'),
+ 'MICROMETER' => array('0.000001', 'µm'),
+ 'MICROMICRON' => array('1.0e-12', 'µµ'),
+ 'MICRON' => array('0.000001', 'µm'),
'MIGLIO' => array('1488.6', 'miglio'),
'MIIL' => array('7500', 'miil'),
'MIIL_DENMARK' => array('7532.5', 'miil'),
@@ -560,7 +560,7 @@
'MILLE' => array('1949', 'mille'),
'MILLIARE' => array('0.001478', 'milliare'),
'MILLIMETER' => array('0.001', 'mm'),
- 'MILLIMICRON' => array('1.0e-9', 'm�'),
+ 'MILLIMICRON' => array('1.0e-9', 'mµ'),
'MKONO' => array('0.4572', 'mkono'),
'MOOT' => array('0.0762', 'moot'),
'MYRIAMETER' => array('10000', 'mym'),
@@ -578,7 +578,7 @@
'PARASANG' => array('6000', 'parasang'),
'PARIS_FOOT' => array('0.3248406', 'paris foot'),
'PARSEC' => array('3.0856776e+16', 'pc'),
- 'PE' => array('0.33324', 'p�'),
+ 'PE' => array('0.33324', 'pé'),
'PEARL' => array('0.001757299', 'pearl'),
'PERCH' => array('5.0292', 'perch'),
'PERCH_IRELAND' => array('6.4008', 'perch'),
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Lightness.php
--- a/web/lib/Zend/Measure/Lightness.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Lightness.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Lightness.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Lightness.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Lightness
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Lightness extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Number.php
--- a/web/lib/Zend/Measure/Number.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Number.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Number.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Number.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Number
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Number extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Power.php
--- a/web/lib/Zend/Measure/Power.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Power.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Power.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Power.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Power
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Power extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Pressure.php
--- a/web/lib/Zend/Measure/Pressure.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Pressure.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pressure.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Pressure.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Pressure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Pressure extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Speed.php
--- a/web/lib/Zend/Measure/Speed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Speed.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Speed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Speed.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Speed
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Speed extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Temperature.php
--- a/web/lib/Zend/Measure/Temperature.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Temperature.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Temperature.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Temperature.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Temperature
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Temperature extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Time.php
--- a/web/lib/Zend/Measure/Time.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Time.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Time.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Time.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Time
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Time extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Torque.php
--- a/web/lib/Zend/Measure/Torque.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Torque.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Torque.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Torque.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Torque
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Torque extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Viscosity/Dynamic.php
--- a/web/lib/Zend/Measure/Viscosity/Dynamic.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Viscosity/Dynamic.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Dynamic.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Dynamic.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Viscosity_Dynamic
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Viscosity_Dynamic extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Viscosity/Kinematic.php
--- a/web/lib/Zend/Measure/Viscosity/Kinematic.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Viscosity/Kinematic.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Kinematic.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Kinematic.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Viscosity_Kinematic
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Viscosity_Kinematic extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Volume.php
--- a/web/lib/Zend/Measure/Volume.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Volume.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Volume.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Volume.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Volume
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Volume extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Measure/Weight.php
--- a/web/lib/Zend/Measure/Weight.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Measure/Weight.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Measure
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Weight.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Weight.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Measure
* @subpackage Zend_Measure_Weigth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Measure_Weight extends Zend_Measure_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory.php
--- a/web/lib/Zend/Memory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Memory.php 20804 2010-02-01 15:49:16Z alexander $
+ * @version $Id: Memory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Memory_Exception */
@@ -34,7 +34,7 @@
/**
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Memory
@@ -56,7 +56,7 @@
// Look through available backendsand
// (that allows to specify it in any case)
$backendIsFound = false;
- foreach (Zend_Cache::$availableBackends as $zendCacheBackend) {
+ foreach (Zend_Cache::$standardBackends as $zendCacheBackend) {
if (strcasecmp($backend, $zendCacheBackend) == 0) {
$backend = $zendCacheBackend;
$backendIsFound = true;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/AccessController.php
--- a/web/lib/Zend/Memory/AccessController.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/AccessController.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccessController.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AccessController.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Memory_AccessController implements Zend_Memory_Container_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/Container.php
--- a/web/lib/Zend/Memory/Container.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/Container.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Container.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Container.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Memory_Container_Interface */
@@ -27,7 +27,7 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Memory_Container implements Zend_Memory_Container_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/Container/Interface.php
--- a/web/lib/Zend/Memory/Container/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/Container/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Memory_Container_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/Container/Locked.php
--- a/web/lib/Zend/Memory/Container/Locked.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/Container/Locked.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Locked.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Locked.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Memory_Container */
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Memory_Container_Locked extends Zend_Memory_Container
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/Container/Movable.php
--- a/web/lib/Zend/Memory/Container/Movable.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/Container/Movable.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Movable.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Movable.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Memory_Container */
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Memory_Container_Movable extends Zend_Memory_Container {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/Exception.php
--- a/web/lib/Zend/Memory/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,8 +14,8 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Memory_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/Manager.php
--- a/web/lib/Zend/Memory/Manager.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/Manager.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Manager.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Manager.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Memory_Container_Movable */
@@ -38,7 +38,7 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Memory_Manager
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Memory/Value.php
--- a/web/lib/Zend/Memory/Value.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Memory/Value.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Value.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Value.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
*
* @category Zend
* @package Zend_Memory
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @todo also implement Countable for PHP 5.1 but not yet to stay 5.0 compatible
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mime.php
--- a/web/lib/Zend/Mime.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mime.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mime.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mime.php 24953 2012-06-13 19:09:58Z rob $
*/
@@ -25,7 +25,7 @@
*
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mime
@@ -130,7 +130,7 @@
$str = self::_encodeQuotedPrintable($str);
// Split encoded text into separate lines
- while ($str) {
+ while(strlen($str) > 0) {
$ptr = strlen($str);
if ($ptr > $lineLength) {
$ptr = $lineLength;
@@ -194,7 +194,7 @@
$str = self::_encodeQuotedPrintable($str);
// Mail-Header required chars have to be encoded also:
- $str = str_replace(array('?', ' ', '_'), array('=3F', '=20', '=5F'), $str);
+ $str = str_replace(array('?', ' ', '_', ','), array('=3F', '=20', '=5F', '=2C'), $str);
// initialize first line, we need it anyways
$lines = array(0 => "");
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mime/Decode.php
--- a/web/lib/Zend/Mime/Decode.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mime/Decode.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Decode.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Decode.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mime_Decode
@@ -239,6 +239,6 @@
*/
public static function decodeQuotedPrintable($string)
{
- return iconv_mime_decode($string, ICONV_MIME_DECODE_CONTINUE_ON_ERROR);
+ return quoted_printable_decode($string);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mime/Exception.php
--- a/web/lib/Zend/Mime/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mime/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mime_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mime/Message.php
--- a/web/lib/Zend/Mime/Message.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mime/Message.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Message.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Message.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
/**
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mime_Message
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mime/Part.php
--- a/web/lib/Zend/Mime/Part.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Mime/Part.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Part.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Part.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Mime
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mime_Part {
@@ -146,6 +146,19 @@
return Zend_Mime::encode($this->_content, $this->encoding, $EOL);
}
}
+
+ /**
+ * Get the RAW unencoded content from this part
+ * @return string
+ */
+ public function getRawContent()
+ {
+ if ($this->_isStream) {
+ return stream_get_contents($this->_content);
+ } else {
+ return $this->_content;
+ }
+ }
/**
* Create and return the array of headers for this MIME part
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,33 @@
+_isConnected = true;
+ return $this;
+ }
+
+ /**
+ * Send a Push Message
+ *
+ * @param Zend_Mobile_Push_Message_Abstract $message
+ * @return boolean
+ * @throws DomainException
+ */
+ public function send(Zend_Mobile_Push_Message_Abstract $message)
+ {
+ if (!$this->_isConnected) {
+ $this->connect();
+ }
+ return true;
+ }
+
+ /**
+ * Close the Connection to the Push Server
+ *
+ * @return void
+ */
+ public function close()
+ {
+ $this->_isConnected = false;
+ }
+
+ /**
+ * Is Connected
+ *
+ * @return boolean
+ */
+ public function isConnected()
+ {
+ return $this->_isConnected;
+ }
+
+ /**
+ * Set Options
+ *
+ * @param array $options
+ * @return Zend_Mobile_Push_Abstract
+ * @throws Zend_Mobile_Push_Exception
+ */
+ public function setOptions(array $options)
+ {
+ foreach ($options as $k => $v) {
+ $method = 'set' . ucwords($k);
+ if (!method_exists($this, $method)) {
+ throw new Zend_Mobile_Push_Exception('The method "' . $method . "' does not exist.");
+ }
+ $this->$method($v);
+ }
+ return $this;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Apns.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Apns.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,391 @@
+_certificate;
+ }
+
+ /**
+ * Set Certificate
+ *
+ * @param string $cert
+ * @return Zend_Mobile_Push_Apns
+ * @throws Zend_Mobile_Push_Exception
+ */
+ public function setCertificate($cert)
+ {
+ if (!is_string($cert)) {
+ throw new Zend_Mobile_Push_Exception('$cert must be a string');
+ }
+ if (!file_exists($cert)) {
+ throw new Zend_Mobile_Push_Exception('$cert must be a valid path to the certificate');
+ }
+ $this->_certificate = $cert;
+ return $this;
+ }
+
+ /**
+ * Get Certificate Passphrase
+ *
+ * @return string
+ */
+ public function getCertificatePassphrase()
+ {
+ return $this->_certificatePassphrase;
+ }
+
+ /**
+ * Set Certificate Passphrase
+ *
+ * @param string $passphrase
+ * @return Zend_Mobile_Push_Apns
+ * @throws Zend_Mobile_Push_Exception
+ */
+ public function setCertificatePassphrase($passphrase)
+ {
+ if (!is_string($passphrase)) {
+ throw new Zend_Mobile_Push_Exception('$passphrase must be a string');
+ }
+ $this->_certificatePassphrase = $passphrase;
+ return $this;
+ }
+
+ /**
+ * Connect to Socket
+ *
+ * @param string $uri
+ * @return bool
+ * @throws Zend_Mobile_Push_Exception_ServerUnavailable
+ */
+ protected function _connect($uri)
+ {
+ $ssl = array(
+ 'local_cert' => $this->_certificate,
+ );
+ if ($this->_certificatePassphrase) {
+ $ssl['passphrase'] = $this->_certificatePassphrase;
+ }
+
+ $this->_socket = stream_socket_client($uri,
+ $errno,
+ $errstr,
+ ini_get('default_socket_timeout'),
+ STREAM_CLIENT_CONNECT,
+ stream_context_create(array(
+ 'ssl' => $ssl,
+ ))
+ );
+
+ if (!is_resource($this->_socket)) {
+ require_once 'Zend/Mobile/Push/Exception/ServerUnavailable.php';
+ throw new Zend_Mobile_Push_Exception_ServerUnavailable(sprintf('Unable to connect: %s: %d (%s)',
+ $uri,
+ $errno,
+ $errstr
+ ));
+ }
+
+ stream_set_blocking($this->_socket, 0);
+ stream_set_write_buffer($this->_socket, 0);
+ return true;
+ }
+
+ /**
+ * Read from the Socket Server
+ *
+ * @param int $length
+ * @return string
+ */
+ protected function _read($length) {
+ $data = false;
+ if (!feof($this->_socket)) {
+ $data = fread($this->_socket, $length);
+ }
+ return $data;
+ }
+
+ /**
+ * Write to the Socket Server
+ *
+ * @param string $payload
+ * @return int
+ */
+ protected function _write($payload) {
+ return @fwrite($this->_socket, $payload);
+ }
+
+ /**
+ * Connect to the Push Server
+ *
+ * @param string $env
+ * @return Zend_Mobile_Push_Abstract
+ * @throws Zend_Mobile_Push_Exception
+ * @throws Zend_Mobile_Push_Exception_ServerUnavailable
+ */
+ public function connect($env = self::SERVER_PRODUCTION_URI)
+ {
+ if ($this->_isConnected) {
+ if ($this->_currentEnv == self::SERVER_PRODUCTION_URI) {
+ return $this;
+ }
+ $this->close();
+ }
+
+ if (!isset($this->_serverUriList[$env])) {
+ throw new Zend_Mobile_Push_Exception('$env is not a valid environment');
+ }
+
+ if (!$this->_certificate) {
+ throw new Zend_Mobile_Push_Exception('A certificate must be set prior to calling ::connect');
+ }
+
+ $this->_connect($this->_serverUriList[$env]);
+
+ $this->_currentEnv = $env;
+ $this->_isConnected = true;
+ return $this;
+ }
+
+
+
+ /**
+ * Feedback
+ *
+ * @return array array w/ key = token and value = time
+ * @throws Zend_Mobile_Push_Exception
+ * @throws Zend_Mobile_Push_Exception_ServerUnavailable
+ */
+ public function feedback()
+ {
+ if (!$this->_isConnected ||
+ !in_array($this->_currentEnv,
+ array(self::SERVER_FEEDBACK_SANDBOX_URI, self::SERVER_FEEDBACK_PRODUCTION_URI))) {
+ $this->connect(self::SERVER_FEEDBACK_PRODUCTION_URI);
+ }
+
+ $tokens = array();
+ while ($token = $this->_read(38)) {
+ if (strlen($token) < 38) {
+ continue;
+ }
+ $token = unpack('Ntime/ntokenLength/H*token', $token);
+ if (!isset($tokens[$token['token']]) || $tokens[$token['token']] < $token['time']) {
+ $tokens[$token['token']] = $token['time'];
+ }
+ }
+ return $tokens;
+ }
+
+ /**
+ * Send Message
+ *
+ * @param Zend_Mobile_Push_Message_Apns $message
+ * @return boolean
+ * @throws Zend_Mobile_Push_Exception
+ * @throws Zend_Mobile_Push_Exception_ServerUnavailable
+ * @throws Zend_Mobile_Push_Exception_InvalidToken
+ * @throws Zend_Mobile_Push_Exception_InvalidTopic
+ * @throws Zend_Mobile_Push_Exception_InvalidPayload
+ */
+ public function send(Zend_Mobile_Push_Message_Abstract $message)
+ {
+ if (!$message->validate()) {
+ throw new Zend_Mobile_Push_Exception('The message is not valid.');
+ }
+
+ if (!$this->_isConnected || !in_array($this->_currentEnv, array(
+ self::SERVER_SANDBOX_URI,
+ self::SERVER_PRODUCTION_URI))) {
+ $this->connect(self::SERVER_PRODUCTION_URI);
+ }
+
+ $payload = array('aps' => array());
+
+ $alert = $message->getAlert();
+ foreach ($alert as $k => $v) {
+ if ($v == null) {
+ unset($alert[$k]);
+ }
+ }
+ if (!empty($alert)) {
+ $payload['aps']['alert'] = $alert;
+ }
+ if (!is_null($message->getBadge())) {
+ $payload['aps']['badge'] = $message->getBadge();
+ }
+ $payload['aps']['sound'] = $message->getSound();
+
+ foreach($message->getCustomData() as $k => $v) {
+ $payload[$k] = $v;
+ }
+ $payload = json_encode($payload);
+
+ $expire = $message->getExpire();
+ if ($expire > 0) {
+ $expire += time();
+ }
+ $id = $message->getId();
+ if (empty($id)) {
+ $id = time();
+ }
+
+ $payload = pack('CNNnH*', 1, $id, $expire, 32, $message->getToken())
+ . pack('n', strlen($payload))
+ . $payload;
+ $ret = $this->_write($payload);
+ if ($ret === false) {
+ require_once 'Zend/Mobile/Push/Exception/ServerUnavailable.php';
+ throw new Zend_Mobile_Push_Exception_ServerUnavailable('Unable to send message');
+ }
+ // check for errors from apple
+ $err = $this->_read(1024);
+ if (strlen($err) > 0) {
+ $err = unpack('Ccmd/Cerrno/Nid', $err);
+ switch ($err['errno']) {
+ case 0:
+ return true;
+ break;
+ case 1:
+ throw new Zend_Mobile_Push_Exception('A processing error has occurred on the apple push notification server.');
+ break;
+ case 2:
+ require_once 'Zend/Mobile/Push/Exception/InvalidToken.php';
+ throw new Zend_Mobile_Push_Exception_InvalidToken('Missing token; you must set a token for the message.');
+ break;
+ case 3:
+ require_once 'Zend/Mobile/Push/Exception/InvalidTopic.php';
+ throw new Zend_Mobile_Push_Exception_InvalidTopic('Missing id; you must set an id for the message.');
+ break;
+ case 4:
+ require_once 'Zend/Mobile/Push/Exception/InvalidPayload.php';
+ throw new Zend_Mobile_Push_Exception_InvalidPayload('Missing message; the message must always have some content.');
+ break;
+ case 5:
+ require_once 'Zend/Mobile/Push/Exception/InvalidToken.php';
+ throw new Zend_Mobile_Push_Exception_InvalidToken('Bad token. This token is too big and is not a regular apns token.');
+ break;
+ case 6:
+ require_once 'Zend/Mobile/Push/Exception/InvalidTopic.php';
+ throw new Zend_Mobile_Push_Exception_InvalidTopic('The message id is too big; reduce the size of the id.');
+ break;
+ case 7:
+ require_once 'Zend/Mobile/Push/Exception/InvalidPayload.php';
+ throw new Zend_Mobile_Push_Exception_InvalidPayload('The message is too big; reduce the size of the message.');
+ break;
+ case 8:
+ require_once 'Zend/Mobile/Push/Exception/InvalidToken.php';
+ throw new Zend_Mobile_Push_Exception_InvalidToken('Bad token. Remove this token from being sent to again.');
+ break;
+ default:
+ throw new Zend_Mobile_Push_Exception(sprintf('An unknown error occurred: %d', $err['errno']));
+ break;
+ }
+ }
+ return true;
+ }
+
+ /**
+ * Close Connection
+ *
+ * @return void
+ */
+ public function close()
+ {
+ if ($this->_isConnected && is_resource($this->_socket)) {
+ fclose($this->_socket);
+ }
+ $this->_isConnected = false;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,35 @@
+_apiKey;
+ }
+
+ /**
+ * Set API Key
+ *
+ * @param string $key
+ * @return Zend_Mobile_Push_Gcm
+ * @throws Zend_Mobile_Push_Exception
+ */
+ public function setApiKey($key)
+ {
+ if (!is_string($key) || empty($key)) {
+ throw new Zend_Mobile_Push_Exception('The api key must be a string and not empty');
+ }
+ $this->_apiKey = $key;
+ return $this;
+ }
+
+ /**
+ * Get Http Client
+ *
+ * @return Zend_Http_Client
+ */
+ public function getHttpClient()
+ {
+ if (!$this->_httpClient) {
+ $this->_httpClient = new Zend_Http_Client();
+ $this->_httpClient->setConfig(array(
+ 'strictredirects' => true,
+ ));
+ }
+ return $this->_httpClient;
+ }
+
+ /**
+ * Set Http Client
+ *
+ * @return Zend_Mobile_Push_Gcm
+ */
+ public function setHttpClient(Zend_Http_Client $client)
+ {
+ $this->_httpClient = $client;
+ return $this;
+ }
+
+ /**
+ * Send Message
+ *
+ * @param Zend_Mobile_Push_Message_Gcm $message
+ * @return Zend_Mobile_Push_Response_Gcm
+ * @throws Zend_Mobile_Push_Exception
+ */
+ public function send(Zend_Mobile_Push_Message_Abstract $message)
+ {
+ if (!$message->validate()) {
+ throw new Zend_Mobile_Push_Exception('The message is not valid.');
+ }
+
+ $this->connect();
+
+ $client = $this->getHttpClient();
+ $client->setUri(self::SERVER_URI);
+ $client->setHeaders('Authorization', 'key=' . $this->getApiKey());
+
+ $json = array('registration_ids' => $message->getToken());
+ if ($data = $message->getData()) {
+ $json['data'] = $data;
+ }
+ if ($id = $message->getId()) {
+ $json['id'] = $id;
+ }
+
+ $response = $client->setRawData($message->toJson(), 'application/json')
+ ->request('POST');
+ $this->close();
+
+ switch ($response->getStatus())
+ {
+ case 500:
+ require_once 'Zend/Mobile/Push/Exception/ServerUnavailable.php';
+ throw new Zend_Mobile_Push_Exception_ServerUnavailable('The server encountered an internal error, try again');
+ break;
+ case 503:
+ require_once 'Zend/Mobile/Push/Exception/ServerUnavailable.php';
+ throw new Zend_Mobile_Push_Exception_ServerUnavailable('The server was unavailable, check Retry-After header');
+ break;
+ case 401:
+ require_once 'Zend/Mobile/Push/Exception/InvalidAuthToken.php';
+ throw new Zend_Mobile_Push_Exception_InvalidAuthToken('There was an error authenticating the sender account');
+ break;
+ case 400:
+ require_once 'Zend/Mobile/Push/Exception/InvalidPayload.php';
+ throw new Zend_Mobile_Push_Exception_InvalidPayload('The request could not be parsed as JSON or contains invalid fields');
+ break;
+ }
+ return new Zend_Mobile_Push_Response_Gcm($response->getBody(), $message);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Interface.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,64 @@
+_token;
+ }
+
+ /**
+ * Set Token
+ *
+ * @param string $token
+ * @return Zend_Mobile_Push_Message_Abstract
+ */
+ public function setToken($token)
+ {
+ if (!is_string($token)) {
+ throw new Zend_Mobile_Push_Message_Exception('$token must be a string');
+ }
+ $this->_token = $token;
+ return $this;
+ }
+
+ /**
+ * Get Message ID
+ *
+ * @return scalar
+ */
+ public function getId()
+ {
+ return $this->_id;
+ }
+
+ /**
+ * Set Message ID
+ *
+ * @param scalar $id
+ * @return Zend_Mobile_Push_Message_Abstract
+ * @throws Exception
+ */
+ public function setId($id)
+ {
+ if (!is_scalar($id)) {
+ throw new Zend_Mobile_Push_Message_Exception('$id must be a scalar');
+ }
+ $this->_id = $id;
+ return $this;
+ }
+
+ /**
+ * Set Options
+ *
+ * @param array $options
+ * @return Zend_Mobile_Push_Message_Abstract
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setOptions(array $options)
+ {
+ foreach ($options as $k => $v) {
+ $method = 'set' . ucwords($k);
+ if (!method_exists($this, $method)) {
+ throw new Zend_Mobile_Push_Message_Exception('The method "' . $method . "' does not exist.");
+ }
+ $this->$method($v);
+ }
+ return $this;
+ }
+
+
+ /**
+ * Validate Message format
+ *
+ * @return boolean
+ */
+ public function validate()
+ {
+ return true;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Message/Apns.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Message/Apns.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,284 @@
+_alert;
+ }
+
+ /**
+ * Set Alert
+ *
+ * @param string $text
+ * @param string $actionLocKey
+ * @param string $locKey
+ * @param array $locArgs
+ * @param string $launchImage
+ * @return Zend_Mobile_Push_Message_Apns
+ */
+ public function setAlert($text, $actionLocKey=null, $locKey=null, $locArgs=null, $launchImage=null)
+ {
+ if ($text !== null && !is_string($text)) {
+ throw new Zend_Mobile_Push_Message_Exception('$text must be a string');
+ }
+
+ if ($actionLocKey !== null && !is_string($actionLocKey)) {
+ throw new Zend_Mobile_Push_Message_Exception('$actionLocKey must be a string');
+ }
+
+ if ($locKey !== null && !is_string($locKey)) {
+ throw new Zend_Mobile_Push_Message_Exception('$locKey must be a string');
+ }
+
+ if ($locArgs !== null) {
+ if (!is_array($locArgs)) {
+ throw new Zend_Mobile_Push_Message_Exception('$locArgs must be an array of strings');
+ } else {
+ foreach ($locArgs as $str) {
+ if (!is_string($str)) {
+ throw new Zend_Mobile_Push_Message_Exception('$locArgs contains an item that is not a string');
+ }
+ }
+ }
+ }
+
+ if (null !== $launchImage && !is_string($launchImage)) {
+ throw new Zend_Mobile_Push_Message_Exception('$launchImage must be a string');
+ }
+
+ $this->_alert = array(
+ 'body' => $text,
+ 'action-loc-key' => $actionLocKey,
+ 'loc-key' => $locKey,
+ 'loc-args' => $locArgs,
+ 'launch-image' => $launchImage,
+ );
+ return $this;
+ }
+
+ /**
+ * Get Badge
+ *
+ * @return int
+ */
+ public function getBadge()
+ {
+ return $this->_badge;
+ }
+
+ /**
+ * Set Badge
+ *
+ * @param int $badge
+ * @return Zend_Mobile_Push_Message_Apns
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setBadge($badge)
+ {
+ if (!is_null($badge) && !is_numeric($badge)) {
+ throw new Zend_Mobile_Push_Message_Exception('$badge must be an integer');
+ }
+ if (!is_null($badge) && $badge < 0) {
+ throw new Zend_Mobile_Push_Message_Exception('$badge must be greater or equal to 0');
+ }
+ $this->_badge = $badge;
+ }
+
+ /**
+ * Get Expire
+ *
+ * @return int
+ */
+ public function getExpire()
+ {
+ return $this->_expire;
+ }
+
+ /**
+ * Set Expire
+ *
+ * @param int $expire
+ * @return Zend_Mobile_Push_Message_Apns
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setExpire($expire)
+ {
+ if (!is_numeric($expire)) {
+ throw new Zend_Mobile_Push_Message_Exception('$expire must be an integer');
+ }
+ $this->_expire = (int) $expire;
+ return $this;
+ }
+
+ /**
+ * Get Sound
+ *
+ * @return string
+ */
+ public function getSound()
+ {
+ return $this->_sound;
+ }
+
+ /**
+ * Set Sound
+ *
+ * @param string $sound
+ * @return Zend_Mobile_Push_Message_Apns
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setSound($sound)
+ {
+ if (!is_string($sound)) {
+ throw new Zend_Mobile_Push_Message_Exception('$sound must be a string');
+ }
+ $this->_sound = $sound;
+ return $this;
+ }
+
+ /**
+ * Add Custom Data
+ *
+ * @param string $key
+ * @param mixed $value
+ * @return Zend_Mobile_Push_Message_Apns
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function addCustomData($key, $value)
+ {
+ if (!is_string($key)) {
+ throw new Zend_Mobile_Push_Message_Exception('$key is not a string');
+ }
+ if ($key == 'aps') {
+ throw new Zend_Mobile_Push_Message_Exception('$key must not be aps as it is reserved by apple');
+ }
+ $this->_custom[$key] = $value;
+ }
+
+ /**
+ * Clear Custom Data
+ *
+ * @return throw new Zend_Mobile_Push_Message_Apns
+ */
+ public function clearCustomData()
+ {
+ $this->_custom = array();
+ return $this;
+ }
+
+ /**
+ * Set Custom Data
+ *
+ * @param array $data
+ * @return Zend_Mobile_Push_Message_Apns
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setCustomData($array)
+ {
+ $this->_custom = array();
+ foreach ($array as $k => $v) {
+ $this->addCustomData($k, $v);
+ }
+ return $this;
+ }
+
+ /**
+ * Get Custom Data
+ *
+ * @return array
+ */
+ public function getCustomData()
+ {
+ return $this->_custom;
+ }
+
+ /**
+ * Validate this is a proper Apns message
+ *
+ * @return boolean
+ */
+ public function validate()
+ {
+ if (!is_string($this->_token) || strlen($this->_token) === 0) {
+ return false;
+ }
+ if (null != $this->_id && !is_numeric($this->_id)) {
+ return false;
+ }
+ return true;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Message/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Message/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,35 @@
+_token)) {
+ $this->_token[] = $token;
+ }
+ return $this;
+ }
+
+ /**
+ * Set Token
+ *
+ * @param string|array $token
+ * @return Zend_Mobile_Push_Message_Gcm
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setToken($token)
+ {
+ $this->clearToken();
+ if (is_string($token)) {
+ $this->addToken($token);
+ } else if (is_array($token)) {
+ foreach ($token as $t) {
+ $this->addToken($t);
+ }
+ }
+ return $this;
+ }
+
+ /**
+ * Clear Tokens
+ *
+ * @return Zend_Mobile_Push_Message_Gcm
+ */
+ public function clearToken()
+ {
+ $this->_token = array();
+ return $this;
+ }
+
+
+ /**
+ * Add Data
+ *
+ * @param string $key
+ * @param string $value
+ * @return Zend_Mobile_Push_Message_Gcm
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function addData($key, $value)
+ {
+ if (!is_string($key)) {
+ throw new Zend_Mobile_Push_Message_Exception('$key is not a string');
+ }
+ if (!is_scalar($value)) {
+ throw new Zend_Mobile_Push_Message_Exception('$value is not a string');
+ }
+ $this->_data[$key] = $value;
+ return $this;
+ }
+
+ /**
+ * Set Data
+ *
+ * @param array $data
+ * @return Zend_Mobile_Push_Message_Gcm
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setData(array $data)
+ {
+ $this->clearData();
+ foreach ($data as $k => $v) {
+ $this->addData($k, $v);
+ }
+ return $this;
+ }
+
+ /**
+ * Clear Data
+ *
+ * @return Zend_Mobile_Push_Message_Gcm
+ */
+ public function clearData()
+ {
+ $this->_data = array();
+ return $this;
+ }
+
+ /**
+ * Get Data
+ *
+ * @return array
+ */
+ public function getData()
+ {
+ return $this->_data;
+ }
+
+ /**
+ * Set Delay While Idle
+ *
+ * @param boolean $delay
+ * @return Zend_Mobile_Push_Message_Gcm
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setDelayWhileIdle($delay)
+ {
+ if (!is_bool($delay)) {
+ throw new Zend_Mobile_Push_Message_Exception('$delay must be boolean');
+ }
+ $this->_delay = $delay;
+ return $this;
+ }
+
+ /**
+ * Get Delay While Idle
+ *
+ * @return boolean
+ */
+ public function getDelayWhileIdle()
+ {
+ return $this->_delay;
+ }
+
+ /**
+ * Set time to live
+ * If $secs is set to 0 it will be handled as
+ * not being set.
+ *
+ * @param int $secs
+ * @return Zend_Mobile_Push_Message_Gcm
+ */
+ public function setTtl($secs)
+ {
+ if (!is_numeric($secs)) {
+ throw new Zend_Mobile_Push_Message_Exception('$secs must be numeric');
+ }
+ $this->_ttl = (int) $secs;
+ return $this;
+ }
+
+ /**
+ * Get time to live
+ *
+ * @return int
+ */
+ public function getTtl()
+ {
+ return $this->_ttl;
+ }
+
+ /**
+ * Validate this is a proper Gcm message
+ * Does not validate size.
+ *
+ * @return boolean
+ */
+ public function validate()
+ {
+ if (!is_array($this->_token) || empty($this->_token)) {
+ return false;
+ }
+ if ($this->_ttl > 0 &&
+ (!is_scalar($this->_id) ||
+ strlen($this->_id) === 0)) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * To Json utility method
+ * Takes the data and properly assigns it to
+ * a json encoded array to match the Gcm format.
+ *
+ * @return string
+ */
+ public function toJson()
+ {
+ $json = array();
+ if ($this->_token) {
+ $json['registration_ids'] = $this->_token;
+ }
+ if ($this->_id) {
+ $json['collapse_key'] = (string) $this->_id;
+ }
+ if ($this->_data) {
+ $json['data'] = $this->_data;
+ }
+ if ($this->_delay) {
+ $json['delay_while_idle'] = $this->_delay;
+ }
+ if ($this->_ttl) {
+ $json['time_to_live'] = $this->_ttl;
+ }
+ return json_encode($json);
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Message/Interface.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Message/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,79 @@
+_token) || strlen($this->_token) === 0) {
+ return false;
+ }
+ return parent::validate();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Message/Mpns/Raw.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Message/Mpns/Raw.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,149 @@
+_delay) {
+ return self::DELAY_IMMEDIATE;
+ }
+ return $this->_delay;
+ }
+
+ /**
+ * Set Delay
+ *
+ * @param int $delay
+ * @return Zend_Mobile_Push_Message_Mpns_Raw
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setDelay($delay)
+ {
+ if (!in_array($delay, array(
+ self::DELAY_IMMEDIATE,
+ self::DELAY_450S,
+ self::DELAY_900S
+ ))) {
+ throw new Zend_Mobile_Push_Message_Exception('$delay must be one of the DELAY_* constants');
+ }
+ $this->_delay = $delay;
+ return $this;
+ }
+
+ /**
+ * Set Message
+ *
+ * @param string $msg XML string
+ * @return Zend_Mobile_Push_Message_Mpns_Raw
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setMessage($msg)
+ {
+ if (!is_string($msg)) {
+ throw new Zend_Mobile_Push_Message_Exception('$msg is not a string');
+ }
+ if (!simplexml_load_string($msg)) {
+ throw new Zend_Mobile_Push_Message_Exception('$msg is not valid xml');
+ }
+ $this->_msg = $msg;
+ return $this;
+ }
+
+ /**
+ * Get Message
+ *
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->_msg;
+ }
+
+ /**
+ * Get Notification Type
+ *
+ * @return string
+ */
+ public static function getNotificationType()
+ {
+ return 'raw';
+ }
+
+ /**
+ * Get XML Payload
+ *
+ * @return string
+ */
+ public function getXmlPayload()
+ {
+ return $this->_msg;
+ }
+
+ /**
+ * Validate proper mpns message
+ *
+ * @return boolean
+ */
+ public function validate()
+ {
+ if (!isset($this->_token) || strlen($this->_token) === 0) {
+ return false;
+ }
+ if (empty($this->_msg)) {
+ return false;
+ }
+ return parent::validate();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Message/Mpns/Tile.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Message/Mpns/Tile.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,365 @@
+_backgroundImage;
+ }
+
+ /**
+ * Set Background Image
+ *
+ * @param string $bgImg
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setBackgroundImage($bgImg)
+ {
+ if (!is_string($bgImg)) {
+ throw new Zend_Mobile_Push_Message_Exception('$bgImg must be a string');
+ }
+ $this->_backgroundImage = $bgImg;
+ return $this;
+ }
+
+ /**
+ * Get Count
+ *
+ * @return int
+ */
+ public function getCount()
+ {
+ return $this->_count;
+ }
+
+ /**
+ * Set Count
+ *
+ * @param int $count
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setCount($count)
+ {
+ if (!is_numeric($count)) {
+ throw new Zend_Mobile_Push_Message_Exception('$count is not numeric');
+ }
+ $this->_count = (int) $count;
+ return $this;
+ }
+
+ /**
+ * Get Title
+ *
+ * @return string
+ */
+ public function getTitle()
+ {
+ return $this->_title;
+ }
+
+ /**
+ * Set Title
+ *
+ * @param string $title
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setTitle($title)
+ {
+ if (!is_string($title)) {
+ throw new Zend_Mobile_Push_Message_Exception('$title must be a string');
+ }
+ $this->_title = $title;
+ return $this;
+ }
+
+ /**
+ * Get Back Background Image
+ *
+ * @return string
+ */
+ public function getBackBackgroundImage()
+ {
+ return $this->_backBackgroundImage;
+ }
+
+ /**
+ * Set Back Background Image
+ *
+ * @param string $bgImg
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setBackBackgroundImage($bgImg)
+ {
+ if (!is_string($bgImg)) {
+ throw new Zend_Mobile_Push_Message_Exception('$bgImg must be a string');
+ }
+ $this->_backBackgroundImage = $bgImg;
+ return $this;
+ }
+
+ /**
+ * Get Back Title
+ *
+ * @return string
+ */
+ public function getBackTitle()
+ {
+ return $this->_backTitle;
+ }
+
+ /**
+ * Set Back Title
+ *
+ * @param string $title
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setBackTitle($title)
+ {
+ if (!is_string($title)) {
+ throw new Zend_Mobile_Push_Message_Exception('$title must be a string');
+ }
+ $this->_backTitle = $title;
+ return $this;
+ }
+
+ /**
+ * Get Back Content
+ *
+ * @return string
+ */
+ public function getBackContent()
+ {
+ return $this->_backContent;
+ }
+
+ /**
+ * Set Back Content
+ *
+ * @param string $content
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setBackContent($content)
+ {
+ if (!is_string($content)) {
+ throw new Zend_Mobile_Push_Message_Exception('$content must be a string');
+ }
+ $this->_backContent = $content;
+ }
+
+ /**
+ * Get Tile Id
+ *
+ * @return string
+ */
+ public function getTileId()
+ {
+ return $this->_tileId;
+ }
+
+ /**
+ * Set Tile Id
+ *
+ * @param string $tileId
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setTileId($tileId)
+ {
+ if (!is_string($tileId)) {
+ throw new Zend_Mobile_Push_Message_Exception('$tileId is not a string');
+ }
+ $this->_tileId = $tileId;
+ return $this;
+ }
+
+ /**
+ * Get Delay
+ *
+ * @return int
+ */
+ public function getDelay()
+ {
+ if (!$this->_delay) {
+ return self::DELAY_IMMEDIATE;
+ }
+ return $this->_delay;
+ }
+
+ /**
+ * Set Delay
+ *
+ * @param int $delay
+ * @return Zend_Mobile_Push_Message_Mpns_Tile
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setDelay($delay)
+ {
+ if (!in_array($delay, array(
+ self::DELAY_IMMEDIATE,
+ self::DELAY_450S,
+ self::DELAY_900S
+ ))) {
+ throw new Zend_Mobile_Push_Message_Exception('$delay must be one of the DELAY_* constants');
+ }
+ $this->_delay = $delay;
+ return $this;
+ }
+
+ /**
+ * Get Notification Type
+ *
+ * @return string
+ */
+ public static function getNotificationType()
+ {
+ return 'token';
+ }
+
+ /**
+ * Get XML Payload
+ *
+ * @return string
+ */
+ public function getXmlPayload()
+ {
+ $ret = ''
+ . ''
+ . '_tileId) ? ' Id="' . htmlspecialchars($this->_tileId) . '"' : '') . '>'
+ . '' . htmlspecialchars($this->_backgroundImage) . ' '
+ . '' . (int) $this->_count . ' '
+ . '' . htmlspecialchars($this->_title) . ' ';
+
+ if ($this->_backBackgroundImage) {
+ $ret .= '' . htmlspecialchars($this->_backBackgroundImage) . ' ';
+ }
+ if ($this->_backTitle) {
+ $ret .= '' . htmlspecialchars($this->_backTitle) . ' ';
+ }
+ if ($this->_backContent) {
+ $ret .= '' . htmlspecialchars($this->_backContent) . ' ';
+ }
+
+ $ret .= ' '
+ . ' ';
+ return $ret;
+ }
+
+ /**
+ * Validate proper mpns message
+ *
+ * @return boolean
+ */
+ public function validate()
+ {
+ if (!isset($this->_token) || strlen($this->_token) === 0) {
+ return false;
+ }
+ if (empty($this->_backgroundImage)) {
+ return false;
+ }
+ if (empty($this->_title)) {
+ return false;
+ }
+ return parent::validate();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Message/Mpns/Toast.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Message/Mpns/Toast.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,225 @@
+_title;
+ }
+
+ /**
+ * Set Title
+ *
+ * @param string $title
+ * @return Zend_Mobile_Push_Message_Mpns_Toast
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setTitle($title)
+ {
+ if (!is_string($title)) {
+ throw new Zend_Mobile_Push_Message_Exception('$title must be a string');
+ }
+ $this->_title = $title;
+ return $this;
+ }
+
+ /**
+ * Get Message
+ *
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->_msg;
+ }
+
+ /**
+ * Set Message
+ *
+ * @param string $msg
+ * @return Zend_Mobile_Push_Message_Mpns_Toast
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setMessage($msg)
+ {
+ if (!is_string($msg)) {
+ throw new Zend_Mobile_Push_Message_Exception('$msg must be a string');
+ }
+ $this->_msg = $msg;
+ return $this;
+ }
+
+ /**
+ * Get Params
+ *
+ * @return string
+ */
+ public function getParams()
+ {
+ return $this->_params;
+ }
+
+ /**
+ * Set Params
+ *
+ * @param string $params
+ * @return Zend_Mobile_Push_Message_Mpns_Toast
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setParams($params)
+ {
+ if (!is_string($params)) {
+ throw new Zend_Mobile_Push_Message_Exception('$params must be a string');
+ }
+ $this->_params = $params;
+ return $this;
+ }
+
+ /**
+ * Get Delay
+ *
+ * @return int
+ */
+ public function getDelay()
+ {
+ if (!$this->_delay) {
+ return self::DELAY_IMMEDIATE;
+ }
+ return $this->_delay;
+ }
+
+ /**
+ * Set Delay
+ *
+ * @param int $delay
+ * @return Zend_Mobile_Push_Message_Mpns_Toast
+ * @throws Zend_Mobile_Push_Message_Exception
+ */
+ public function setDelay($delay)
+ {
+ if (!in_array($delay, array(
+ self::DELAY_IMMEDIATE,
+ self::DELAY_450S,
+ self::DELAY_900S
+ ))) {
+ throw new Zend_Mobile_Push_Message_Exception('$delay must be one of the DELAY_* constants');
+ }
+ $this->_delay = $delay;
+ return $this;
+ }
+
+ /**
+ * Get Notification Type
+ *
+ * @return string
+ */
+ public static function getNotificationType()
+ {
+ return 'toast';
+ }
+
+ /**
+ * Get XML Payload
+ *
+ * @return string
+ */
+ public function getXmlPayload()
+ {
+ $ret = ''
+ . ''
+ . ''
+ . '' . htmlspecialchars($this->_title) . ' '
+ . '' . htmlspecialchars($this->_msg) . ' ';
+ if (!empty($this->_params)) {
+ $ret .= '' . htmlspecialchars($this->_params) . ' ';
+ }
+ $ret .= ' '
+ . ' ';
+ return $ret;
+ }
+
+ /**
+ * Validate proper mpns message
+ *
+ * @return boolean
+ */
+ public function validate()
+ {
+ if (!isset($this->_token) || strlen($this->_token) === 0) {
+ return false;
+ }
+ if (empty($this->_title)) {
+ return false;
+ }
+ if (empty($this->_msg)) {
+ return false;
+ }
+ return parent::validate();
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Mpns.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Mpns.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,152 @@
+_httpClient) {
+ $this->_httpClient = new Zend_Http_Client();
+ $this->_httpClient->setConfig(array(
+ 'strictredirects' => true,
+ ));
+ }
+ return $this->_httpClient;
+ }
+
+ /**
+ * Set Http Client
+ *
+ * @return Zend_Mobile_Push_Mpns
+ */
+ public function setHttpClient(Zend_Http_Client $client)
+ {
+ $this->_httpClient = $client;
+ return $this;
+ }
+
+ /**
+ * Send Message
+ *
+ * @param Zend_Mobile_Push_Message_Mpns $message
+ * @return boolean
+ * @throws Zend_Mobile_Push_Exception
+ */
+ public function send(Zend_Mobile_Push_Message_Abstract $message)
+ {
+ if (!$message->validate()) {
+ throw new Zend_Mobile_Push_Exception('The message is not valid.');
+ }
+
+ $this->connect();
+
+ $client = $this->getHttpClient();
+ $client->setUri($message->getToken());
+ $client->setHeaders(array(
+ 'Context-Type' => 'text/xml',
+ 'Accept' => 'application/*',
+ 'X-NotificationClass' => $message->getDelay()
+ ));
+ if ($message->getId()) {
+ $client->setHeaders('X-MessageID', $message->getId());
+ }
+ if ($message->getNotificationType() != Zend_Mobile_Push_Message_Mpns::TYPE_RAW) {
+ $client->setHeaders('X-WindowsPhone-Target', $message->getNotificationType());
+ }
+ $client->setRawData($message->getXmlPayload(), 'text/xml');
+ $response = $client->request('POST');
+ $this->close();
+
+
+ switch ($response->getStatus())
+ {
+ case 200:
+ // check headers for response? need to test how this actually works to correctly handle different states.
+ if ($response->getHeader('NotificationStatus') == 'QueueFull') {
+ require_once 'Zend/Mobile/Push/Exception/DeviceQuotaExceeded.php';
+ throw new Zend_Mobile_Push_Exception_DeviceQuotaExceeded('The devices push notification queue is full, use exponential backoff');
+ }
+ break;
+ case 400:
+ require_once 'Zend/Mobile/Push/Exception/InvalidPayload.php';
+ throw new Zend_Mobile_Push_Exception_InvalidPayload('The message xml was invalid');
+ break;
+ case 401:
+ require_once 'Zend/Mobile/Push/Exception/InvalidToken.php';
+ throw new Zend_Mobile_Push_Exception_InvalidToken('The device token is not valid or there is a mismatch between certificates');
+ break;
+ case 404:
+ require_once 'Zend/Mobile/Push/Exception/InvalidToken.php';
+ throw new Zend_Mobile_Push_Exception_InvalidToken('The device subscription is invalid, stop sending notifications to this device');
+ break;
+ case 405:
+ throw new Zend_Mobile_Push_Exception('Invalid method, only POST is allowed'); // will never be hit unless overwritten
+ break;
+ case 406:
+ require_once 'Zend/Mobile/Push/Exception/QuotaExceeded.php';
+ throw new Zend_Mobile_Push_Exception_QuotaExceeded('The unauthenticated web service has reached the per-day throttling limit');
+ break;
+ case 412:
+ require_once 'Zend/Mobile/Push/Exception/InvalidToken.php';
+ throw new Zend_Mobile_Push_Exception_InvalidToken('The device is in an inactive state. You may retry once per hour');
+ break;
+ case 503:
+ require_once 'Zend/Mobile/Push/Exception/ServerUnavailable.php';
+ throw new Zend_Mobile_Push_Exception_ServerUnavailable('The server was unavailable.');
+ break;
+ default:
+ break;
+ }
+ return true;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Response/Gcm.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Response/Gcm.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,242 @@
+setResponse($response);
+ }
+
+ if ($message) {
+ $this->setMessage($message);
+ }
+
+ }
+
+ /**
+ * Get Message
+ *
+ * @return Zend_Mobile_Push_Message_Gcm
+ */
+ public function getMessage()
+ {
+ return $this->_message;
+ }
+
+ /**
+ * Set Message
+ *
+ * @param Zend_Mobile_Push_Message_Gcm $message
+ * @return Zend_Mobile_Push_Response_Gcm
+ */
+ public function setMessage(Zend_Mobile_Push_Message_Gcm $message)
+ {
+ $this->_message = $message;
+ return $this;
+ }
+
+ /**
+ * Get Response
+ *
+ * @return array
+ */
+ public function getResponse()
+ {
+ return $this->_response;
+ }
+
+ /**
+ * Set Response
+ *
+ * @param array $response
+ * @return Zend_Mobile_Push_Response_Gcm
+ */
+ public function setResponse(array $response)
+ {
+ if (!isset($response['results']) ||
+ !isset($response['success']) ||
+ !isset($response['failure']) ||
+ !isset($response['canonical_ids']) ||
+ !isset($response['multicast_id'])) {
+ throw new Zend_Mobile_Push_Exception('Response did not contain the proper fields');
+ }
+ $this->_response = $response;
+ $this->_results = $response['results'];
+ $this->_successCnt = (int) $response['success'];
+ $this->_failureCnt = (int) $response['failure'];
+ $this->_canonicalCnt = (int) $response['canonical_ids'];
+ $this->_id = (int) $response['multicast_id'];
+ return $this;
+ }
+
+ /**
+ * Get Success Count
+ *
+ * @return int
+ */
+ public function getSuccessCount()
+ {
+ return $this->_successCnt;
+ }
+
+ /**
+ * Get Failure Count
+ *
+ * @return int
+ */
+ public function getFailureCount()
+ {
+ return $this->_failureCnt;
+ }
+
+ /**
+ * Get Canonical Count
+ *
+ * @return int
+ */
+ public function getCanonicalCount()
+ {
+ return $this->_canonicalCnt;
+ }
+
+ /**
+ * Get Results
+ *
+ * @return array multi dimensional array of:
+ * NOTE: key is registration_id if the message is passed.
+ * 'registration_id' => array(
+ * 'message_id' => 'id',
+ * 'error' => 'error',
+ * 'registration_id' => 'id'
+ * )
+ */
+ public function getResults()
+ {
+ return $this->_correlate();
+ }
+
+ /**
+ * Get Singular Result
+ *
+ * @param int $flag one of the RESULT_* flags
+ * @return array singular array with keys being registration id
+ * value is the type of result
+ */
+ public function getResult($flag)
+ {
+ $ret = array();
+ foreach ($this->_correlate() as $k => $v) {
+ if (isset($v[$flag])) {
+ $ret[$k] = $v[$flag];
+ }
+ }
+ return $ret;
+ }
+
+ /**
+ * Correlate Message and Result
+ *
+ * @return array
+ */
+ protected function _correlate()
+ {
+ $results = $this->_results;
+ if ($this->_message && $results) {
+ $tokens = $this->_message->getToken();
+ while($token = array_shift($tokens)) {
+ $results[$token] = array_shift($results);
+ }
+ }
+ return $results;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Mobile/Push/Test/ApnsProxy.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Mobile/Push/Test/ApnsProxy.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,103 @@
+_readResponse = $str;
+ }
+
+ /**
+ * Set the write response
+ *
+ * @param mixed $resp
+ * @return void
+ */
+ public function setWriteResponse($resp)
+ {
+ $this->_writeResponse = $resp;
+ }
+
+ /**
+ * Connect
+ *
+ * @return true
+ */
+ protected function _connect($uri) {
+ return true;
+ }
+
+ /**
+ * Return Response
+ *
+ * @param string $length
+ * @return string
+ */
+ protected function _read($length) {
+ $ret = substr($this->_readResponse, 0, $length);
+ $this->_readResponse = null;
+ return $ret;
+ }
+
+ /**
+ * Write and Return Length
+ *
+ * @param string $payload
+ * @return int
+ */
+ protected function _write($payload) {
+ $ret = $this->_writeResponse;
+ $this->_writeResponse = null;
+ return (null === $ret) ? strlen($payload) : $ret;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Navigation.php
--- a/web/lib/Zend/Navigation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Navigation.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Navigation.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Navigation.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Navigation extends Zend_Navigation_Container
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Navigation/Container.php
--- a/web/lib/Zend/Navigation/Container.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Navigation/Container.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Container.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Container.php 25237 2013-01-22 08:32:38Z frosch $
*/
/**
@@ -26,7 +26,7 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Navigation_Container implements RecursiveIterator, Countable
@@ -143,9 +143,12 @@
/**
* Adds several pages at once
*
- * @param array|Zend_Config $pages pages to add
- * @return Zend_Navigation_Container fluent interface, returns self
- * @throws Zend_Navigation_Exception if $pages is not array or Zend_Config
+ * @param array|Zend_Config|Zend_Navigation_Container $pages pages to add
+ * @return Zend_Navigation_Container fluent interface,
+ * returns self
+ * @throws Zend_Navigation_Exception if $pages is not
+ * array, Zend_Config or
+ * Zend_Navigation_Container
*/
public function addPages($pages)
{
@@ -153,11 +156,16 @@
$pages = $pages->toArray();
}
+ if ($pages instanceof Zend_Navigation_Container) {
+ $pages = iterator_to_array($pages);
+ }
+
if (!is_array($pages)) {
require_once 'Zend/Navigation/Exception.php';
throw new Zend_Navigation_Exception(
- 'Invalid argument: $pages must be an array or an ' .
- 'instance of Zend_Config');
+ 'Invalid argument: $pages must be an array, an ' .
+ 'instance of Zend_Config or an instance of ' .
+ 'Zend_Navigation_Container');
}
foreach ($pages as $page) {
@@ -266,45 +274,138 @@
}
/**
- * Returns a child page matching $property == $value, or null if not found
+ * Returns a child page matching $property == $value or
+ * preg_match($value, $property), or null if not found
*
- * @param string $property name of property to match against
- * @param mixed $value value to match property against
+ * @param string $property name of property to match against
+ * @param mixed $value value to match property against
+ * @param bool $useRegex [optional] if true PHP's preg_match
+ * is used. Default is false.
* @return Zend_Navigation_Page|null matching page or null
*/
- public function findOneBy($property, $value)
- {
- $iterator = new RecursiveIteratorIterator($this,
- RecursiveIteratorIterator::SELF_FIRST);
+ public function findOneBy($property, $value, $useRegex = false)
+ {
+ $iterator = new RecursiveIteratorIterator(
+ $this,
+ RecursiveIteratorIterator::SELF_FIRST
+ );
foreach ($iterator as $page) {
- if ($page->get($property) == $value) {
- return $page;
+ $pageProperty = $page->get($property);
+
+ // Rel and rev
+ if (is_array($pageProperty)) {
+ foreach ($pageProperty as $item) {
+ if (is_array($item)) {
+ // Use regex?
+ if (true === $useRegex) {
+ foreach ($item as $item2) {
+ if (0 !== preg_match($value, $item2)) {
+ return $page;
+ }
+ }
+ } else {
+ if (in_array($value, $item)) {
+ return $page;
+ }
+ }
+ } else {
+ // Use regex?
+ if (true === $useRegex) {
+ if (0 !== preg_match($value, $item)) {
+ return $page;
+ }
+ } else {
+ if ($item == $value) {
+ return $page;
+ }
+ }
+ }
+ }
+
+ continue;
+ }
+
+ // Use regex?
+ if (true === $useRegex) {
+ if (preg_match($value, $pageProperty)) {
+ return $page;
+ }
+ } else {
+ if ($pageProperty == $value) {
+ return $page;
+ }
}
}
-
+
return null;
}
/**
- * Returns all child pages matching $property == $value, or an empty array
- * if no pages are found
+ * Returns all child pages matching $property == $value or
+ * preg_match($value, $property), or an empty array if no pages are found
*
* @param string $property name of property to match against
* @param mixed $value value to match property against
+ * @param bool $useRegex [optional] if true PHP's preg_match is used.
+ * Default is false.
* @return array array containing only Zend_Navigation_Page
* instances
*/
- public function findAllBy($property, $value)
- {
+ public function findAllBy($property, $value, $useRegex = false)
+ {
$found = array();
- $iterator = new RecursiveIteratorIterator($this,
- RecursiveIteratorIterator::SELF_FIRST);
-
+ $iterator = new RecursiveIteratorIterator(
+ $this,
+ RecursiveIteratorIterator::SELF_FIRST
+ );
+
foreach ($iterator as $page) {
- if ($page->get($property) == $value) {
- $found[] = $page;
+ $pageProperty = $page->get($property);
+
+ // Rel and rev
+ if (is_array($pageProperty)) {
+ foreach ($pageProperty as $item) {
+ if (is_array($item)) {
+ // Use regex?
+ if (true === $useRegex) {
+ foreach ($item as $item2) {
+ if (0 !== preg_match($value, $item2)) {
+ $found[] = $page;
+ }
+ }
+ } else {
+ if (in_array($value, $item)) {
+ $found[] = $page;
+ }
+ }
+ } else {
+ // Use regex?
+ if (true === $useRegex) {
+ if (0 !== preg_match($value, $item)) {
+ $found[] = $page;
+ }
+ } else {
+ if ($item == $value) {
+ $found[] = $page;
+ }
+ }
+ }
+ }
+
+ continue;
+ }
+
+ // Use regex?
+ if (true === $useRegex) {
+ if (0 !== preg_match($value, $pageProperty)) {
+ $found[] = $page;
+ }
+ } else {
+ if ($pageProperty == $value) {
+ $found[] = $page;
+ }
}
}
@@ -312,7 +413,8 @@
}
/**
- * Returns page(s) matching $property == $value
+ * Returns page(s) matching $property == $value or
+ * preg_match($value, $property)
*
* @param string $property name of property to match against
* @param mixed $value value to match property against
@@ -322,14 +424,16 @@
* matching pages are found. If false, null will
* be returned if no matching page is found.
* Default is false.
+ * @param bool $useRegex [optional] if true PHP's preg_match is used.
+ * Default is false.
* @return Zend_Navigation_Page|null matching page or null
*/
- public function findBy($property, $value, $all = false)
+ public function findBy($property, $value, $all = false, $useRegex = false)
{
if ($all) {
- return $this->findAllBy($property, $value);
+ return $this->findAllBy($property, $value, $useRegex);
} else {
- return $this->findOneBy($property, $value);
+ return $this->findOneBy($property, $value, $useRegex);
}
}
@@ -338,27 +442,33 @@
*
* Examples of finder calls:
*
- * // METHOD // SAME AS
- * $nav->findByLabel('foo'); // $nav->findOneBy('label', 'foo');
- * $nav->findOneByLabel('foo'); // $nav->findOneBy('label', 'foo');
- * $nav->findAllByClass('foo'); // $nav->findAllBy('class', 'foo');
+ * // METHOD // SAME AS
+ * $nav->findByLabel('foo'); // $nav->findOneBy('label', 'foo');
+ * $nav->findByLabel('/foo/', true); // $nav->findBy('label', '/foo/', true);
+ * $nav->findOneByLabel('foo'); // $nav->findOneBy('label', 'foo');
+ * $nav->findAllByClass('foo'); // $nav->findAllBy('class', 'foo');
*
*
- * @param string $method method name
- * @param array $arguments method arguments
- * @throws Zend_Navigation_Exception if method does not exist
+ * @param string $method method name
+ * @param array $arguments method arguments
+ * @return mixed Zend_Navigation|array|null matching page, array of pages
+ * or null
+ * @throws Zend_Navigation_Exception if method does not exist
*/
public function __call($method, $arguments)
{
if (@preg_match('/(find(?:One|All)?By)(.+)/', $method, $match)) {
- return $this->{$match[1]}($match[2], $arguments[0]);
+ return $this->{$match[1]}($match[2], $arguments[0], !empty($arguments[1]));
}
require_once 'Zend/Navigation/Exception.php';
- throw new Zend_Navigation_Exception(sprintf(
+ throw new Zend_Navigation_Exception(
+ sprintf(
'Bad method call: Unknown method %s::%s',
get_class($this),
- $method));
+ $method
+ )
+ );
}
/**
@@ -369,7 +479,7 @@
public function toArray()
{
$pages = array();
-
+
$this->_dirtyIndex = true;
$this->_sort();
$indexes = array_keys($this->_index);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Navigation/Exception.php
--- a/web/lib/Zend/Navigation/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Navigation/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Navigation_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Navigation/Page.php
--- a/web/lib/Zend/Navigation/Page.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Navigation/Page.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Page.php 22882 2010-08-22 14:00:16Z freak $
+ * @version $Id: Page.php 25125 2012-11-16 15:12:06Z rob $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Navigation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Navigation_Page extends Zend_Navigation_Container
@@ -42,6 +42,20 @@
protected $_label;
/**
+ * Fragment identifier (anchor identifier)
+ *
+ * The fragment identifier (anchor identifier) pointing to an anchor within
+ * a resource that is subordinate to another, primary resource.
+ * The fragment identifier introduced by a hash mark "#".
+ * Example: http://www.example.org/foo.html#bar ("bar" is the fragment identifier)
+ *
+ * @link http://www.w3.org/TR/html401/intro/intro.html#fragment-uri
+ *
+ * @var string|null
+ */
+ protected $_fragment;
+
+ /**
* Page id
*
* @var string|null
@@ -70,6 +84,18 @@
protected $_target;
/**
+ * Accessibility key character
+ *
+ * This attribute assigns an access key to an element. An access key is a
+ * single character from the document character set.
+ *
+ * @link http://www.w3.org/TR/html401/interact/forms.html#access-keys
+ *
+ * @var string|null
+ */
+ protected $_accesskey;
+
+ /**
* Forward links to other pages
*
* @link http://www.w3.org/TR/html4/struct/links.html#h-12.3.1
@@ -137,12 +163,19 @@
protected $_properties = array();
/**
+ * Custom HTML attributes
+ *
+ * @var array
+ */
+ protected $_customHtmlAttribs = array();
+
+ /**
* The type of page to use when it wasn't set
- *
+ *
* @var string
*/
protected static $_defaultPageType;
-
+
// Initialization:
/**
@@ -191,7 +224,7 @@
} elseif(self::getDefaultPageType()!= null) {
$type = self::getDefaultPageType();
}
-
+
if(isset($type)) {
if (is_string($type) && !empty($type)) {
switch (strtolower($type)) {
@@ -222,7 +255,8 @@
$hasUri = isset($options['uri']);
$hasMvc = isset($options['action']) || isset($options['controller']) ||
- isset($options['module']) || isset($options['route']);
+ isset($options['module']) || isset($options['route']) ||
+ isset($options['params']);
if ($hasMvc) {
require_once 'Zend/Navigation/Page/Mvc.php';
@@ -232,9 +266,14 @@
return new Zend_Navigation_Page_Uri($options);
} else {
require_once 'Zend/Navigation/Exception.php';
- throw new Zend_Navigation_Exception(
- 'Invalid argument: Unable to determine class to instantiate');
+
+ $message = 'Invalid argument: Unable to determine class to instantiate';
+ if (isset($options['label'])) {
+ $message .= ' (Page label: ' . $options['label'] . ')';
}
+
+ throw new Zend_Navigation_Exception($message);
+ }
}
/**
@@ -330,6 +369,35 @@
}
/**
+ * Sets a fragment identifier
+ *
+ * @param string $fragment new fragment identifier
+ * @return Zend_Navigation_Page fluent interface, returns self
+ * @throws Zend_Navigation_Exception if empty/no string is given
+ */
+ public function setFragment($fragment)
+ {
+ if (null !== $fragment && !is_string($fragment)) {
+ require_once 'Zend/Navigation/Exception.php';
+ throw new Zend_Navigation_Exception(
+ 'Invalid argument: $fragment must be a string or null');
+ }
+
+ $this->_fragment = $fragment;
+ return $this;
+ }
+
+ /**
+ * Returns fragment identifier
+ *
+ * @return string|null fragment identifier
+ */
+ public function getFragment()
+ {
+ return $this->_fragment;
+ }
+
+ /**
* Sets page id
*
* @param string|null $id [optional] id to set. Default is null,
@@ -451,6 +519,40 @@
}
/**
+ * Sets access key for this page
+ *
+ * @param string|null $character [optional] access key to set. Default
+ * is null, which sets no access key.
+ * @return Zend_Navigation_Page fluent interface, returns self
+ * @throws Zend_Navigation_Exception if access key is not string or null or
+ * if the string length not equal to one
+ */
+ public function setAccesskey($character = null)
+ {
+ if (null !== $character
+ && (!is_string($character) || 1 != strlen($character)))
+ {
+ require_once 'Zend/Navigation/Exception.php';
+ throw new Zend_Navigation_Exception(
+ 'Invalid argument: $character must be a single character or null'
+ );
+ }
+
+ $this->_accesskey = $character;
+ return $this;
+ }
+
+ /**
+ * Returns page access key
+ *
+ * @return string|null page access key or null
+ */
+ public function getAccesskey()
+ {
+ return $this->_accesskey;
+ }
+
+ /**
* Sets the page's forward links to other pages
*
* This method expects an associative array of forward links to other pages,
@@ -577,6 +679,119 @@
}
/**
+ * Sets a single custom HTML attribute
+ *
+ * @param string $name name of the HTML attribute
+ * @param string|null $value value for the HTML attribute
+ * @return Zend_Navigation_Page fluent interface, returns self
+ * @throws Zend_Navigation_Exception if name is not string or value is
+ * not null or a string
+ */
+ public function setCustomHtmlAttrib($name, $value)
+ {
+ if (!is_string($name)) {
+ require_once 'Zend/Navigation/Exception.php';
+ throw new Zend_Navigation_Exception(
+ 'Invalid argument: $name must be a string'
+ );
+ }
+
+ if (null !== $value && !is_string($value)) {
+ require_once 'Zend/Navigation/Exception.php';
+ throw new Zend_Navigation_Exception(
+ 'Invalid argument: $value must be a string or null'
+ );
+ }
+
+ if (null === $value && isset($this->_customHtmlAttribs[$name])) {
+ unset($this->_customHtmlAttribs[$name]);
+ } else {
+ $this->_customHtmlAttribs[$name] = $value;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Returns a single custom HTML attributes by name
+ *
+ * @param string $name name of the HTML attribute
+ * @return string|null value for the HTML attribute or null
+ * @throws Zend_Navigation_Exception if name is not string
+ */
+ public function getCustomHtmlAttrib($name)
+ {
+ if (!is_string($name)) {
+ require_once 'Zend/Navigation/Exception.php';
+ throw new Zend_Navigation_Exception(
+ 'Invalid argument: $name must be a string'
+ );
+ }
+
+ if (isset($this->_customHtmlAttribs[$name])) {
+ return $this->_customHtmlAttribs[$name];
+ }
+
+ return null;
+ }
+
+ /**
+ * Sets multiple custom HTML attributes at once
+ *
+ * @param array $attribs an associative array of html attributes
+ * @return Zend_Navigation_Page fluent interface, returns self
+ */
+ public function setCustomHtmlAttribs(array $attribs)
+ {
+ foreach ($attribs as $key => $value) {
+ $this->setCustomHtmlAttrib($key, $value);
+ }
+ return $this;
+ }
+
+ /**
+ * Returns all custom HTML attributes as an array
+ *
+ * @return array an array containing custom HTML attributes
+ */
+ public function getCustomHtmlAttribs()
+ {
+ return $this->_customHtmlAttribs;
+ }
+
+ /**
+ * Removes a custom HTML attribute from the page
+ *
+ * @param string $name name of the custom HTML attribute
+ * @return Zend_Navigation_Page fluent interface, returns self
+ */
+ public function removeCustomHtmlAttrib($name)
+ {
+ if (!is_string($name)) {
+ require_once 'Zend/Navigation/Exception.php';
+ throw new Zend_Navigation_Exception(
+ 'Invalid argument: $name must be a string'
+ );
+ }
+
+ if (isset($this->_customHtmlAttribs[$name])) {
+ unset($this->_customHtmlAttribs[$name]);
+ }
+ }
+
+ /**
+ * Clear all custom HTML attributes
+ *
+ * @return Zend_Navigation_Page fluent interface, returns self
+ */
+ public function clearCustomHtmlAttribs()
+ {
+ $this->_customHtmlAttribs = array();
+
+ return $this;
+ }
+
+ /**
* Sets page order to use in parent container
*
* @param int $order [optional] page order in container.
@@ -740,6 +955,9 @@
*/
public function setVisible($visible = true)
{
+ if (is_string($visible) && 'false' == strtolower($visible)) {
+ $visible = false;
+ }
$this->_visible = (bool) $visible;
return $this;
}
@@ -1090,21 +1308,25 @@
return array_merge(
$this->getCustomProperties(),
array(
- 'label' => $this->getlabel(),
- 'id' => $this->getId(),
- 'class' => $this->getClass(),
- 'title' => $this->getTitle(),
- 'target' => $this->getTarget(),
- 'rel' => $this->getRel(),
- 'rev' => $this->getRev(),
- 'order' => $this->getOrder(),
- 'resource' => $this->getResource(),
- 'privilege' => $this->getPrivilege(),
- 'active' => $this->isActive(),
- 'visible' => $this->isVisible(),
- 'type' => get_class($this),
- 'pages' => parent::toArray()
- ));
+ 'label' => $this->getlabel(),
+ 'fragment' => $this->getFragment(),
+ 'id' => $this->getId(),
+ 'class' => $this->getClass(),
+ 'title' => $this->getTitle(),
+ 'target' => $this->getTarget(),
+ 'accesskey' => $this->getAccesskey(),
+ 'rel' => $this->getRel(),
+ 'rev' => $this->getRev(),
+ 'customHtmlAttribs' => $this->getCustomHtmlAttribs(),
+ 'order' => $this->getOrder(),
+ 'resource' => $this->getResource(),
+ 'privilege' => $this->getPrivilege(),
+ 'active' => $this->isActive(),
+ 'visible' => $this->isVisible(),
+ 'type' => get_class($this),
+ 'pages' => parent::toArray()
+ )
+ );
}
// Internal methods:
@@ -1119,17 +1341,17 @@
{
return str_replace(' ', '', ucwords(str_replace('_', ' ', $property)));
}
-
+
public static function setDefaultPageType($type = null) {
if($type !== null && !is_string($type)) {
throw new Zend_Navigation_Exception(
'Cannot set default page type: type is no string but should be'
);
}
-
+
self::$_defaultPageType = $type;
}
-
+
public static function getDefaultPageType() {
return self::$_defaultPageType;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Navigation/Page/Mvc.php
--- a/web/lib/Zend/Navigation/Page/Mvc.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Navigation/Page/Mvc.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Navigation
* @subpackage Page
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Mvc.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Mvc.php 25213 2013-01-11 08:19:09Z frosch $
*/
/**
@@ -44,7 +44,7 @@
* @category Zend
* @package Zend_Navigation
* @subpackage Page
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Navigation_Page_Mvc extends Zend_Navigation_Page
@@ -95,6 +95,29 @@
protected $_resetParams = true;
/**
+ * Whether href should be encoded when assembling URL
+ *
+ * @see getHref()
+ * @var bool
+ */
+ protected $_encodeUrl = true;
+
+ /**
+ * Whether this page should be considered active
+ *
+ * @var bool
+ */
+ protected $_active = null;
+
+ /**
+ * Scheme to use when assembling URL
+ *
+ * @see getHref()
+ * @var string
+ */
+ protected $_scheme;
+
+ /**
* Cached href
*
* The use of this variable minimizes execution time when getHref() is
@@ -113,6 +136,14 @@
*/
protected static $_urlHelper = null;
+ /**
+ * View helper for assembling URLs with schemes
+ *
+ * @see getHref()
+ * @var Zend_View_Helper_ServerUrl
+ */
+ protected static $_schemeHelper = null;
+
// Accessors:
/**
@@ -128,39 +159,57 @@
*/
public function isActive($recursive = false)
{
- if (!$this->_active) {
- $front = Zend_Controller_Front::getInstance();
- $reqParams = $front->getRequest()->getParams();
-
- if (!array_key_exists('module', $reqParams)) {
- $reqParams['module'] = $front->getDefaultModule();
+ if (null === $this->_active) {
+ $front = Zend_Controller_Front::getInstance();
+ $request = $front->getRequest();
+ $reqParams = array();
+ if ($request) {
+ $reqParams = $request->getParams();
+ if (!array_key_exists('module', $reqParams)) {
+ $reqParams['module'] = $front->getDefaultModule();
+ }
}
$myParams = $this->_params;
+ if ($this->_route) {
+ $route = $front->getRouter()->getRoute($this->_route);
+ if(method_exists($route, 'getDefaults')) {
+ $myParams = array_merge($route->getDefaults(), $myParams);
+ }
+ }
+
if (null !== $this->_module) {
$myParams['module'] = $this->_module;
- } else {
+ } elseif(!array_key_exists('module', $myParams)) {
$myParams['module'] = $front->getDefaultModule();
}
if (null !== $this->_controller) {
$myParams['controller'] = $this->_controller;
- } else {
+ } elseif(!array_key_exists('controller', $myParams)) {
$myParams['controller'] = $front->getDefaultControllerName();
}
if (null !== $this->_action) {
$myParams['action'] = $this->_action;
- } else {
+ } elseif(!array_key_exists('action', $myParams)) {
$myParams['action'] = $front->getDefaultAction();
}
+ foreach($myParams as $key => $value) {
+ if(null === $value) {
+ unset($myParams[$key]);
+ }
+ }
+
if (count(array_intersect_assoc($reqParams, $myParams)) ==
count($myParams)) {
$this->_active = true;
return true;
}
+
+ $this->_active = false;
}
return parent::isActive($recursive);
@@ -201,8 +250,26 @@
$url = self::$_urlHelper->url($params,
$this->getRoute(),
- $this->getResetParams());
+ $this->getResetParams(),
+ $this->getEncodeUrl());
+ // Use scheme?
+ $scheme = $this->getScheme();
+ if (null !== $scheme) {
+ if (null === self::$_schemeHelper) {
+ require_once 'Zend/View/Helper/ServerUrl.php';
+ self::$_schemeHelper = new Zend_View_Helper_ServerUrl();
+ }
+
+ $url = self::$_schemeHelper->setScheme($scheme)->serverUrl($url);
+ }
+
+ // Add the fragment identifier if it is set
+ $fragment = $this->getFragment();
+ if (null !== $fragment) {
+ $url .= '#' . $fragment;
+ }
+
return $this->_hrefCache = $url;
}
@@ -309,33 +376,109 @@
}
/**
- * Sets params to use when assembling URL
+ * Set multiple parameters (to use when assembling URL) at once
+ *
+ * URL options passed to the url action helper for assembling URLs.
+ * Overwrites any previously set parameters!
+ *
+ * @see getHref()
+ *
+ * @param array|null $params [optional] paramters as array
+ * ('name' => 'value'). Default is null
+ * which clears all params.
+ * @return Zend_Navigation_Page_Mvc fluent interface, returns self
+ */
+ public function setParams(array $params = null)
+ {
+ $this->clearParams();
+
+ if (is_array($params)) {
+ $this->addParams($params);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Set parameter (to use when assembling URL)
+ *
+ * URL option passed to the url action helper for assembling URLs.
*
* @see getHref()
*
- * @param array|null $params [optional] page params. Default is null
- * which sets no params.
- * @return Zend_Navigation_Page_Mvc fluent interface, returns self
+ * @param string $name parameter name
+ * @param mixed $value parameter value
+ * @return Zend_Navigation_Page_Mvc fluent interface, returns self
*/
- public function setParams(array $params = null)
+ public function setParam($name, $value)
{
- if (null === $params) {
- $this->_params = array();
- } else {
- // TODO: do this more intelligently?
- $this->_params = $params;
- }
+ $name = (string) $name;
+ $this->_params[$name] = $value;
$this->_hrefCache = null;
return $this;
}
/**
- * Returns params to use when assembling URL
+ * Add multiple parameters (to use when assembling URL) at once
+ *
+ * URL options passed to the url action helper for assembling URLs.
+ *
+ * @see getHref()
*
+ * @param array $params paramters as array ('name' => 'value')
+ * @return Zend_Navigation_Page_Mvc fluent interface, returns self
+ */
+ public function addParams(array $params)
+ {
+ foreach ($params as $name => $value) {
+ $this->setParam($name, $value);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Remove parameter (to use when assembling URL)
+ *
* @see getHref()
*
- * @return array page params
+ * @param string $name
+ * @return bool
+ */
+ public function removeParam($name)
+ {
+ if (array_key_exists($name, $this->_params)) {
+ unset($this->_params[$name]);
+
+ $this->_hrefCache = null;
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Clear all parameters (to use when assembling URL)
+ *
+ * @see getHref()
+ *
+ * @return Zend_Navigation_Page_Mvc fluent interface, returns self
+ */
+ public function clearParams()
+ {
+ $this->_params = array();
+
+ $this->_hrefCache = null;
+ return $this;
+ }
+
+ /**
+ * Retrieve all parameters (to use when assembling URL)
+ *
+ * @see getHref()
+ *
+ * @return array parameters as array ('name' => 'value')
*/
public function getParams()
{
@@ -343,6 +486,25 @@
}
/**
+ * Retrieve a single parameter (to use when assembling URL)
+ *
+ * @see getHref()
+ *
+ * @param string $name parameter name
+ * @return mixed
+ */
+ public function getParam($name)
+ {
+ $name = (string) $name;
+
+ if (!array_key_exists($name, $this->_params)) {
+ return null;
+ }
+
+ return $this->_params[$name];
+ }
+
+ /**
* Sets route name to use when assembling URL
*
* @see getHref()
@@ -405,6 +567,68 @@
}
/**
+ * Sets whether href should be encoded when assembling URL
+ *
+ * @see getHref()
+ *
+ * @param bool $resetParams whether href should be encoded when
+ * assembling URL
+ * @return Zend_Navigation_Page_Mvc fluent interface, returns self
+ */
+ public function setEncodeUrl($encodeUrl)
+ {
+ $this->_encodeUrl = (bool) $encodeUrl;
+ $this->_hrefCache = null;
+
+ return $this;
+ }
+
+ /**
+ * Returns whether herf should be encoded when assembling URL
+ *
+ * @see getHref()
+ *
+ * @return bool whether herf should be encoded when assembling URL
+ */
+ public function getEncodeUrl()
+ {
+ return $this->_encodeUrl;
+ }
+
+ /**
+ * Sets scheme to use when assembling URL
+ *
+ * @see getHref()
+ *
+ * @param string|null $scheme scheme
+ * @return Zend_Navigation_Page_Mvc fluent interface, returns self
+ */
+ public function setScheme($scheme)
+ {
+ if (null !== $scheme && !is_string($scheme)) {
+ require_once 'Zend/Navigation/Exception.php';
+ throw new Zend_Navigation_Exception(
+ 'Invalid argument: $scheme must be a string or null'
+ );
+ }
+
+ $this->_scheme = $scheme;
+ return $this;
+ }
+
+ /**
+ * Returns scheme to use when assembling URL
+ *
+ * @see getHref()
+ *
+ * @return string|null scheme or null
+ */
+ public function getScheme()
+ {
+ return $this->_scheme;
+ }
+
+ /**
* Sets action helper for assembling URLs
*
* @see getHref()
@@ -417,6 +641,19 @@
self::$_urlHelper = $uh;
}
+ /**
+ * Sets view helper for assembling URLs with schemes
+ *
+ * @see getHref()
+ *
+ * @param Zend_View_Helper_ServerUrl $sh scheme helper
+ * @return void
+ */
+ public static function setSchemeHelper(Zend_View_Helper_ServerUrl $sh)
+ {
+ self::$_schemeHelper = $sh;
+ }
+
// Public methods:
/**
@@ -434,7 +671,10 @@
'module' => $this->getModule(),
'params' => $this->getParams(),
'route' => $this->getRoute(),
- 'reset_params' => $this->getResetParams()
- ));
+ 'reset_params' => $this->getResetParams(),
+ 'encodeUrl' => $this->getEncodeUrl(),
+ 'scheme' => $this->getScheme(),
+ )
+ );
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Navigation/Page/Uri.php
--- a/web/lib/Zend/Navigation/Page/Uri.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Navigation/Page/Uri.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Navigation
* @subpackage Page
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Uri.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Uri.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Navigation
* @subpackage Page
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Navigation_Page_Uri extends Zend_Navigation_Page
@@ -79,7 +79,18 @@
*/
public function getHref()
{
- return $this->getUri();
+ $uri = $this->getUri();
+
+ $fragment = $this->getFragment();
+ if (null !== $fragment) {
+ if ('#' == substr($uri, -1)) {
+ return $uri . $fragment;
+ } else {
+ return $uri . '#' . $fragment;
+ }
+ }
+
+ return $uri;
}
// Public methods:
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth.php
--- a/web/lib/Zend/Oauth.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Oauth.php 21070 2010-02-16 14:34:25Z padraic $
+ * @version $Id: Oauth.php 25167 2012-12-19 16:28:01Z matthew $
*/
/** Zend_Http_Client */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth
@@ -38,6 +38,7 @@
const PUT = 'PUT';
const DELETE = 'DELETE';
const HEAD = 'HEAD';
+ const OPTIONS = 'OPTIONS';
/**
* Singleton instance if required of the HTTP client
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Client.php
--- a/web/lib/Zend/Oauth/Client.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Client.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Client.php 23076 2010-10-10 21:37:20Z padraic $
+ * @version $Id: Client.php 25167 2012-12-19 16:28:01Z matthew $
*/
/** Zend_Oauth */
@@ -34,7 +34,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Client extends Zend_Http_Client
@@ -69,14 +69,18 @@
* assist in automating OAuth parameter generation, addition and
* cryptographioc signing of requests.
*
- * @param array $oauthOptions
- * @param string $uri
+ * @param array|Zend_Config $oauthOptions
+ * @param string $uri
* @param array|Zend_Config $config
* @return void
*/
public function __construct($oauthOptions, $uri = null, $config = null)
{
- if (!isset($config['rfc3986_strict'])) {
+ if ($config instanceof Zend_Config && !isset($config->rfc3986_strict)) {
+ $config = $config->toArray();
+ $config['rfc3986_strict'] = true;
+ } else if (null === $config ||
+ (is_array($config) && !isset($config['rfc3986_strict']))) {
$config['rfc3986_strict'] = true;
}
parent::__construct($uri, $config);
@@ -89,16 +93,6 @@
}
}
- /**
- * Return the current connection adapter
- *
- * @return Zend_Http_Client_Adapter_Interface|string $adapter
- */
- public function getAdapter()
- {
- return $this->adapter;
- }
-
/**
* Load the connection adapter
*
@@ -202,10 +196,12 @@
$this->setRequestMethod(self::POST);
} elseif($method == self::PUT) {
$this->setRequestMethod(self::PUT);
- } elseif($method == self::DELETE) {
+ } elseif($method == self::DELETE) {
$this->setRequestMethod(self::DELETE);
- } elseif($method == self::HEAD) {
+ } elseif($method == self::HEAD) {
$this->setRequestMethod(self::HEAD);
+ } elseif($method == self::OPTIONS) {
+ $this->setRequestMethod(self::OPTIONS);
}
return parent::setMethod($method);
}
@@ -246,7 +242,8 @@
$oauthHeaderValue = $this->getToken()->toHeader(
$this->getUri(true),
$this->_config,
- $this->_getSignableParametersAsQueryString()
+ $this->_getSignableParametersAsQueryString(),
+ $this->getRealm()
);
$this->setHeaders('Authorization', $oauthHeaderValue);
} elseif ($requestScheme == Zend_Oauth::REQUEST_SCHEME_POSTBODY) {
@@ -266,14 +263,14 @@
$this->setRawData($raw, 'application/x-www-form-urlencoded');
$this->paramsPost = array();
} elseif ($requestScheme == Zend_Oauth::REQUEST_SCHEME_QUERYSTRING) {
- $params = array();
+ $params = $this->paramsGet;
$query = $this->getUri()->getQuery();
if ($query) {
$queryParts = explode('&', $this->getUri()->getQuery());
foreach ($queryParts as $queryPart) {
$kvTuple = explode('=', $queryPart);
$params[urldecode($kvTuple[0])] =
- (array_key_exists(1, $kvTuple) ? urldecode($kvTuple[1]) : NULL);
+ (array_key_exists(1, $kvTuple) ? urldecode($kvTuple[1]) : null);
}
}
if (!empty($this->paramsPost)) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Config.php
--- a/web/lib/Zend/Oauth/Config.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Config.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Config.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Config.php 25167 2012-12-19 16:28:01Z matthew $
*/
/** Zend_Oauth */
@@ -31,7 +31,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Config implements Zend_Oauth_Config_ConfigInterface
@@ -146,6 +146,13 @@
* @var Zend_Oauth_Token
*/
protected $_token = null;
+
+ /**
+ * Define the OAuth realm
+ *
+ * @var string
+ */
+ protected $_realm = null;
/**
* Constructor; create a new object with an optional array|Zend_Config
@@ -214,6 +221,9 @@
case 'rsaPublicKey':
$this->setRsaPublicKey($value);
break;
+ case 'realm':
+ $this->setRealm($value);
+ break;
}
}
if (isset($options['requestScheme'])) {
@@ -260,7 +270,7 @@
/**
* Get consumer secret
*
- * Returns RSA private key if set; otherwise, returns any previously set
+ * Returns RSA private key if set; otherwise, returns any previously set
* consumer secret.
*
* @return string
@@ -380,7 +390,7 @@
*/
public function setCallbackUrl($url)
{
- if (!Zend_Uri::check($url)) {
+ if (!Zend_Uri::check($url) && $url !== 'oob') {
require_once 'Zend/Oauth/Exception.php';
throw new Zend_Oauth_Exception(
'\'' . $url . '\' is not a valid URI'
@@ -451,7 +461,7 @@
/**
* Get request token URL
*
- * If no request token URL has been set, but a site URL has, returns the
+ * If no request token URL has been set, but a site URL has, returns the
* site URL with the string "/request_token" appended.
*
* @return string
@@ -486,7 +496,7 @@
/**
* Get access token URL
*
- * If no access token URL has been set, but a site URL has, returns the
+ * If no access token URL has been set, but a site URL has, returns the
* site URL with the string "/access_token" appended.
*
* @return string
@@ -543,7 +553,7 @@
/**
* Get authorization URL
*
- * If no authorization URL has been set, but a site URL has, returns the
+ * If no authorization URL has been set, but a site URL has, returns the
* site URL with the string "/authorize" appended.
*
* @return string
@@ -567,10 +577,11 @@
{
$method = strtoupper($method);
if (!in_array($method, array(
- Zend_Oauth::GET,
- Zend_Oauth::POST,
- Zend_Oauth::PUT,
+ Zend_Oauth::GET,
+ Zend_Oauth::POST,
+ Zend_Oauth::PUT,
Zend_Oauth::DELETE,
+ Zend_Oauth::OPTIONS,
))
) {
require_once 'Zend/Oauth/Exception.php';
@@ -655,4 +666,26 @@
{
return $this->_token;
}
+
+ /**
+ * Set OAuth realm
+ *
+ * @param string $realm
+ * @return Zend_Oauth_Config
+ */
+ public function setRealm($realm)
+ {
+ $this->_realm = $realm;
+ return $this;
+ }
+
+ /**
+ * Get OAuth realm
+ *
+ * @return string
+ */
+ public function getRealm()
+ {
+ return $this->_realm;
+ }
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Config/ConfigInterface.php
--- a/web/lib/Zend/Oauth/Config/ConfigInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Config/ConfigInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ConfigInterface.php 20217 2010-01-12 16:01:57Z matthew $
+ * @version $Id: ConfigInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Oauth_Config_ConfigInterface
@@ -72,4 +72,8 @@
public function setToken(Zend_Oauth_Token $token);
public function getToken();
+
+ public function setRealm($realm);
+
+ public function getRealm();
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Consumer.php
--- a/web/lib/Zend/Oauth/Consumer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Consumer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Consumer.php 23170 2010-10-19 18:29:24Z mabe $
+ * @version $Id: Consumer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth */
@@ -43,7 +43,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Consumer extends Zend_Oauth
@@ -182,9 +182,9 @@
* @throws Zend_Oauth_Exception on invalid authorization token, non-matching response authorization token, or unprovided authorization token
*/
public function getAccessToken(
- $queryData,
+ $queryData,
Zend_Oauth_Token_Request $token,
- $httpMethod = null,
+ $httpMethod = null,
Zend_Oauth_Http_AccessToken $request = null
) {
$authorizedToken = new Zend_Oauth_Token_AuthorizedRequest($queryData);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Exception.php
--- a/web/lib/Zend/Oauth/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Exception extends Zend_Exception {}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Http.php
--- a/web/lib/Zend/Oauth/Http.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Http.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Http.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Http.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Http_Utility */
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Http
@@ -80,7 +80,7 @@
* @return void
*/
public function __construct(
- Zend_Oauth_Consumer $consumer,
+ Zend_Oauth_Consumer $consumer,
array $parameters = null,
Zend_Oauth_Http_Utility $utility = null
) {
@@ -233,7 +233,7 @@
require_once 'Zend/Oauth/Exception.php';
throw new Zend_Oauth_Exception(
'Could not retrieve a valid Token response from Token URL:'
- . ($response !== null
+ . ($response !== null
? PHP_EOL . $response->getBody()
: ' No body - check for headers')
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Http/AccessToken.php
--- a/web/lib/Zend/Oauth/Http/AccessToken.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Http/AccessToken.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccessToken.php 20217 2010-01-12 16:01:57Z matthew $
+ * @version $Id: AccessToken.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Http */
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Http_AccessToken extends Zend_Oauth_Http
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Http/RequestToken.php
--- a/web/lib/Zend/Oauth/Http/RequestToken.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Http/RequestToken.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RequestToken.php 23076 2010-10-10 21:37:20Z padraic $
+ * @version $Id: RequestToken.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Http */
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Http_RequestToken extends Zend_Oauth_Http
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Http/UserAuthorization.php
--- a/web/lib/Zend/Oauth/Http/UserAuthorization.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Http/UserAuthorization.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UserAuthorization.php 20217 2010-01-12 16:01:57Z matthew $
+ * @version $Id: UserAuthorization.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Http */
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Http_UserAuthorization extends Zend_Oauth_Http
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Http/Utility.php
--- a/web/lib/Zend/Oauth/Http/Utility.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Http/Utility.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Utility.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Utility.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth */
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Http_Utility
@@ -43,7 +43,7 @@
* @return array
*/
public function assembleParams(
- $url,
+ $url,
Zend_Oauth_Config_ConfigInterface $config,
array $serviceProviderParams = null
) {
@@ -54,7 +54,7 @@
'oauth_timestamp' => $this->generateTimestamp(),
'oauth_version' => $config->getVersion(),
);
-
+
if ($config->getToken()->getToken() != null) {
$params['oauth_token'] = $config->getToken()->getToken();
}
@@ -96,8 +96,8 @@
}
$encodedParams = array();
foreach ($params as $key => $value) {
- $encodedParams[] = self::urlEncode($key)
- . '='
+ $encodedParams[] = self::urlEncode($key)
+ . '='
. self::urlEncode($value);
}
return implode('&', $encodedParams);
@@ -105,10 +105,10 @@
/**
* Cast to authorization header
- *
- * @param array $params
- * @param null|string $realm
- * @param bool $excludeCustomParams
+ *
+ * @param array $params
+ * @param null|string $realm
+ * @param bool $excludeCustomParams
* @return void
*/
public function toAuthorizationHeader(array $params, $realm = null, $excludeCustomParams = true)
@@ -123,7 +123,7 @@
continue;
}
}
- $headerValue[] = self::urlEncode($key)
+ $headerValue[] = self::urlEncode($key)
. '="'
. self::urlEncode($value) . '"';
}
@@ -132,13 +132,13 @@
/**
* Sign request
- *
- * @param array $params
- * @param string $signatureMethod
- * @param string $consumerSecret
- * @param null|string $tokenSecret
- * @param null|string $method
- * @param null|string $url
+ *
+ * @param array $params
+ * @param string $signatureMethod
+ * @param string $consumerSecret
+ * @param null|string $tokenSecret
+ * @param null|string $method
+ * @param null|string $url
* @return string
*/
public function sign(
@@ -161,8 +161,8 @@
/**
* Parse query string
- *
- * @param mixed $query
+ *
+ * @param mixed $query
* @return array
*/
public function parseQueryString($query)
@@ -184,7 +184,7 @@
/**
* Generate nonce
- *
+ *
* @return string
*/
public function generateNonce()
@@ -194,7 +194,7 @@
/**
* Generate timestamp
- *
+ *
* @return int
*/
public function generateTimestamp()
@@ -204,8 +204,8 @@
/**
* urlencode a value
- *
- * @param string $value
+ *
+ * @param string $value
* @return string
*/
public static function urlEncode($value)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Signature/Hmac.php
--- a/web/lib/Zend/Oauth/Signature/Hmac.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Signature/Hmac.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hmac.php 20217 2010-01-12 16:01:57Z matthew $
+ * @version $Id: Hmac.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Signature_SignatureAbstract */
@@ -28,17 +28,17 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Signature_Hmac extends Zend_Oauth_Signature_SignatureAbstract
{
/**
* Sign a request
- *
- * @param array $params
- * @param mixed $method
- * @param mixed $url
+ *
+ * @param array $params
+ * @param mixed $method
+ * @param mixed $url
* @return string
*/
public function sign(array $params, $method = null, $url = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Signature/Plaintext.php
--- a/web/lib/Zend/Oauth/Signature/Plaintext.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Signature/Plaintext.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Plaintext.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Plaintext.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Signature_SignatureAbstract */
@@ -25,17 +25,17 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Signature_Plaintext extends Zend_Oauth_Signature_SignatureAbstract
{
/**
* Sign a request
- *
- * @param array $params
- * @param null|string $method
- * @param null|string $url
+ *
+ * @param array $params
+ * @param null|string $method
+ * @param null|string $url
* @return string
*/
public function sign(array $params, $method = null, $url = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Signature/Rsa.php
--- a/web/lib/Zend/Oauth/Signature/Rsa.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Signature/Rsa.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rsa.php 20217 2010-01-12 16:01:57Z matthew $
+ * @version $Id: Rsa.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Signature_SignatureAbstract */
@@ -28,20 +28,20 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Signature_Rsa extends Zend_Oauth_Signature_SignatureAbstract
{
/**
* Sign a request
- *
- * @param array $params
- * @param null|string $method
- * @param null|string $url
+ *
+ * @param array $params
+ * @param null|string $method
+ * @param null|string $url
* @return string
*/
- public function sign(array $params, $method = null, $url = null)
+ public function sign(array $params, $method = null, $url = null)
{
$rsa = new Zend_Crypt_Rsa;
$rsa->setHashAlgorithm($this->_hashAlgorithm);
@@ -55,7 +55,7 @@
/**
* Assemble encryption key
- *
+ *
* @return string
*/
protected function _assembleKey()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Signature/SignatureAbstract.php
--- a/web/lib/Zend/Oauth/Signature/SignatureAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Signature/SignatureAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SignatureAbstract.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: SignatureAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Http_Utility */
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Oauth_Signature_SignatureAbstract
@@ -59,10 +59,10 @@
/**
* Constructor
- *
- * @param string $consumerSecret
- * @param null|string $tokenSecret
- * @param null|string $hashAlgo
+ *
+ * @param string $consumerSecret
+ * @param null|string $tokenSecret
+ * @param null|string $hashAlgo
* @return void
*/
public function __construct($consumerSecret, $tokenSecret = null, $hashAlgo = null)
@@ -79,18 +79,18 @@
/**
* Sign a request
- *
- * @param array $params
- * @param null|string $method
- * @param null|string $url
+ *
+ * @param array $params
+ * @param null|string $method
+ * @param null|string $url
* @return string
*/
public abstract function sign(array $params, $method = null, $url = null);
/**
* Normalize the base signature URL
- *
- * @param string $url
+ *
+ * @param string $url
* @return string
*/
public function normaliseBaseSignatureUrl($url)
@@ -109,7 +109,7 @@
/**
* Assemble key from consumer and token secrets
- *
+ *
* @return string
*/
protected function _assembleKey()
@@ -126,17 +126,17 @@
/**
* Get base signature string
- *
- * @param array $params
- * @param null|string $method
- * @param null|string $url
+ *
+ * @param array $params
+ * @param null|string $method
+ * @param null|string $url
* @return string
*/
protected function _getBaseSignatureString(array $params, $method = null, $url = null)
{
$encodedParams = array();
foreach ($params as $key => $value) {
- $encodedParams[Zend_Oauth_Http_Utility::urlEncode($key)] =
+ $encodedParams[Zend_Oauth_Http_Utility::urlEncode($key)] =
Zend_Oauth_Http_Utility::urlEncode($value);
}
$baseStrings = array();
@@ -160,8 +160,8 @@
/**
* Transform an array to a byte value ordered query string
- *
- * @param array $params
+ *
+ * @param array $params
* @return string
*/
protected function _toByteValueOrderedQueryString(array $params)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Token.php
--- a/web/lib/Zend/Oauth/Token.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Token.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Token.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Token.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Http_Utility */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Oauth_Token
@@ -40,14 +40,14 @@
/**
* Token parameters
- *
+ *
* @var array
*/
protected $_params = array();
/**
* OAuth response object
- *
+ *
* @var Zend_Http_Response
*/
protected $_response = null;
@@ -264,11 +264,11 @@
}
return $params;
}
-
+
/**
* Limit serialisation stored data to the parameters
*/
- public function __sleep()
+ public function __sleep()
{
return array('_params');
}
@@ -276,7 +276,7 @@
/**
* After serialisation, re-instantiate a HTTP utility class for use
*/
- public function __wakeup()
+ public function __wakeup()
{
if ($this->_httpUtility === null) {
$this->_httpUtility = new Zend_Oauth_Http_Utility;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Token/Access.php
--- a/web/lib/Zend/Oauth/Token/Access.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Token/Access.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Access.php 20217 2010-01-12 16:01:57Z matthew $
+ * @version $Id: Access.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Token */
@@ -34,18 +34,18 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Token_Access extends Zend_Oauth_Token
{
/**
* Cast to HTTP header
- *
- * @param string $url
- * @param Zend_Oauth_Config_ConfigInterface $config
- * @param null|array $customParams
- * @param null|string $realm
+ *
+ * @param string $url
+ * @param Zend_Oauth_Config_ConfigInterface $config
+ * @param null|array $customParams
+ * @param null|string $realm
* @return string
*/
public function toHeader(
@@ -63,10 +63,10 @@
/**
* Cast to HTTP query string
- *
- * @param mixed $url
- * @param Zend_Oauth_Config_ConfigInterface $config
- * @param null|array $params
+ *
+ * @param mixed $url
+ * @param Zend_Oauth_Config_ConfigInterface $config
+ * @param null|array $params
* @return string
*/
public function toQueryString($url, Zend_Oauth_Config_ConfigInterface $config, array $params = null)
@@ -83,11 +83,11 @@
/**
* Get OAuth client
- *
- * @param array $oauthOptions
- * @param null|string $uri
- * @param null|array|Zend_Config $config
- * @param bool $excludeCustomParamsFromHeader
+ *
+ * @param array $oauthOptions
+ * @param null|string $uri
+ * @param null|array|Zend_Config $config
+ * @param bool $excludeCustomParamsFromHeader
* @return Zend_Oauth_Client
*/
public function getHttpClient(array $oauthOptions, $uri = null, $config = null, $excludeCustomParamsFromHeader = true)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Token/AuthorizedRequest.php
--- a/web/lib/Zend/Oauth/Token/AuthorizedRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Token/AuthorizedRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AuthorizedRequest.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: AuthorizedRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Token */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Token_AuthorizedRequest extends Zend_Oauth_Token
@@ -60,7 +60,7 @@
/**
* Retrieve token data
- *
+ *
* @return array
*/
public function getData()
@@ -70,7 +70,7 @@
/**
* Indicate if token is valid
- *
+ *
* @return bool
*/
public function isValid()
@@ -85,7 +85,7 @@
/**
* Parse string data into array
- *
+ *
* @return array
*/
protected function _parseData()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Oauth/Token/Request.php
--- a/web/lib/Zend/Oauth/Token/Request.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Oauth/Token/Request.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Request.php 20217 2010-01-12 16:01:57Z matthew $
+ * @version $Id: Request.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Oauth_Token */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Oauth
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Oauth_Token_Request extends Zend_Oauth_Token
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId.php
--- a/web/lib/Zend/OpenId.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenId.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: OpenId.php 24842 2012-05-31 18:31:28Z rob $
*/
/**
@@ -35,7 +35,7 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId
@@ -124,7 +124,11 @@
}
$url .= $port;
- if (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
+ if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
+ // IIS with Microsoft Rewrite Module
+ $url .= $_SERVER['HTTP_X_ORIGINAL_URL'];
+ } elseif (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
+ // IIS with ISAPI_Rewrite
$url .= $_SERVER['HTTP_X_REWRITE_URL'];
} elseif (isset($_SERVER['REQUEST_URI'])) {
$query = strpos($_SERVER['REQUEST_URI'], '?');
@@ -285,7 +289,7 @@
$port = $reg[4];
$path = $reg[5];
$query = $reg[6];
- $fragment = $reg[7]; /* strip it */
+ $fragment = $reg[7]; /* strip it */ /* ZF-4358 Fragment retained under OpenID 2.0 */
if (empty($scheme) || empty($host)) {
return false;
@@ -350,7 +354,8 @@
. $host
. (empty($port) ? '' : (':' . $port))
. $path
- . $query;
+ . $query
+ . $fragment;
return true;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Consumer.php
--- a/web/lib/Zend/OpenId/Consumer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Consumer.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Consumer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Consumer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Consumer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -47,7 +47,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Consumer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId_Consumer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Consumer/Storage.php
--- a/web/lib/Zend/OpenId/Consumer/Storage.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Consumer/Storage.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Consumer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Storage.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Storage.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Consumer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_OpenId_Consumer_Storage
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Consumer/Storage/File.php
--- a/web/lib/Zend/OpenId/Consumer/Storage/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Consumer/Storage/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Consumer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 23161 2010-10-19 16:08:36Z matthew $
+ * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Consumer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId_Consumer_Storage_File extends Zend_OpenId_Consumer_Storage
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Exception.php
--- a/web/lib/Zend/OpenId/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Extension.php
--- a/web/lib/Zend/OpenId/Extension.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Extension.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Extension.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Extension.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -25,7 +25,7 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_OpenId_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Extension/Sreg.php
--- a/web/lib/Zend/OpenId/Extension/Sreg.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Extension/Sreg.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sreg.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Sreg.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
*
* @category Zend
* @package Zend_OpenId
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId_Extension_Sreg extends Zend_OpenId_Extension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Provider.php
--- a/web/lib/Zend/OpenId/Provider.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Provider.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Provider.php 23088 2010-10-11 19:53:24Z padraic $
+ * @version $Id: Provider.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId_Provider
@@ -778,7 +778,7 @@
}
return $ret;
}
-
+
/**
* Securely compare two strings for equality while avoided C level memcmp()
* optimisations capable of leaking timing information useful to an attacker
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Provider/Storage.php
--- a/web/lib/Zend/OpenId/Provider/Storage.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Provider/Storage.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Storage.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Storage.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_OpenId_Provider_Storage
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Provider/Storage/File.php
--- a/web/lib/Zend/OpenId/Provider/Storage/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Provider/Storage/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId_Provider_Storage_File extends Zend_OpenId_Provider_Storage
@@ -257,7 +257,7 @@
fclose($lock);
return false;
}
- try {
+ try {
$f = @fopen($name, 'r');
if ($f === false) {
fclose($lock);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Provider/User.php
--- a/web/lib/Zend/OpenId/Provider/User.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Provider/User.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: User.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: User.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_OpenId_Provider_User
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/OpenId/Provider/User/Session.php
--- a/web/lib/Zend/OpenId/Provider/User/Session.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/OpenId/Provider/User/Session.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Session.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Session.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_OpenId
* @subpackage Zend_OpenId_Provider
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_OpenId_Provider_User_Session extends Zend_OpenId_Provider_User
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator.php
--- a/web/lib/Zend/Paginator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Paginator.php 22865 2010-08-21 12:28:09Z ramon $
+ * @version $Id: Paginator.php 24754 2012-05-05 02:30:56Z adamlundrigan $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator implements Countable, IteratorAggregate
@@ -524,13 +524,26 @@
}
/**
- * Returns the total number of items available.
+ * Returns the total number of items available. Uses cache if caching is enabled.
*
* @return integer
*/
public function getTotalItemCount()
{
- return count($this->getAdapter());
+ if (!$this->_cacheEnabled()) {
+ return count($this->getAdapter());
+ } else {
+ $cacheId = md5($this->_getCacheInternalId(). '_itemCount');
+ $itemCount = self::$_cache->load($cacheId);
+
+ if ($itemCount === false) {
+ $itemCount = count($this->getAdapter());
+
+ self::$_cache->save($itemCount, $cacheId, array($this->_getCacheInternalId()));
+ }
+
+ return $itemCount;
+ }
}
/**
@@ -1044,10 +1057,18 @@
*/
protected function _getCacheInternalId()
{
- return md5(serialize(array(
- $this->getAdapter(),
- $this->getItemCountPerPage()
- )));
+ $adapter = $this->getAdapter();
+
+ if (method_exists($adapter, 'getCacheIdentifier')) {
+ return md5(serialize(array(
+ $adapter->getCacheIdentifier(), $this->getItemCountPerPage()
+ )));
+ } else {
+ return md5(serialize(array(
+ $adapter,
+ $this->getItemCountPerPage()
+ )));
+ }
}
/**
@@ -1057,7 +1078,7 @@
*/
protected function _calculatePageCount()
{
- return (integer) ceil($this->getAdapter()->count() / $this->getItemCountPerPage());
+ return (integer) ceil($this->getTotalItemCount() / $this->getItemCountPerPage());
}
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/Adapter/Array.php
--- a/web/lib/Zend/Paginator/Adapter/Array.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/Adapter/Array.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Array.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Array.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_Adapter_Array implements Zend_Paginator_Adapter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/Adapter/DbSelect.php
--- a/web/lib/Zend/Paginator/Adapter/DbSelect.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/Adapter/DbSelect.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DbSelect.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DbSelect.php 24754 2012-05-05 02:30:56Z adamlundrigan $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_Adapter_DbSelect implements Zend_Paginator_Adapter_Interface
@@ -71,6 +71,14 @@
protected $_rowCount = null;
/**
+ * Identifies this adapter for caching purposes. This value will remain constant for
+ * the entire life of this adapter regardless of how many different pages are queried.
+ *
+ * @var string
+ */
+ protected $_cacheIdentifier = null;
+
+ /**
* Constructor.
*
* @param Zend_Db_Select $select The select query
@@ -78,9 +86,20 @@
public function __construct(Zend_Db_Select $select)
{
$this->_select = $select;
+ $this->_cacheIdentifier = md5($select->assemble());
}
/**
+ * Returns the cache identifier.
+ *
+ * @return string
+ */
+ public function getCacheIdentifier()
+ {
+ return $this->_cacheIdentifier;
+ }
+
+ /**
* Sets the total row count, either directly or through a supplied
* query. Without setting this, {@link getPages()} selects the count
* as a subquery (SELECT COUNT ... FROM (SELECT ...)). While this
@@ -100,7 +119,9 @@
if ($rowCount instanceof Zend_Db_Select) {
$columns = $rowCount->getPart(Zend_Db_Select::COLUMNS);
- $countColumnPart = $columns[0][1];
+ $countColumnPart = empty($columns[0][2])
+ ? $columns[0][1]
+ : $columns[0][2];
if ($countColumnPart instanceof Zend_Db_Expr) {
$countColumnPart = $countColumnPart->__toString();
@@ -201,7 +222,10 @@
if (!empty($unionParts)) {
$expression = new Zend_Db_Expr($countPart . $countColumn);
- $rowCount = $db->select()->from($rowCount, $expression);
+ $rowCount = $db
+ ->select()
+ ->bind($rowCount->getBind())
+ ->from($rowCount, $expression);
} else {
$columnParts = $rowCount->getPart(Zend_Db_Select::COLUMNS);
$groupParts = $rowCount->getPart(Zend_Db_Select::GROUP);
@@ -213,8 +237,13 @@
* than one group, or if the query has a HAVING clause, then take
* the original query and use it as a subquery os the COUNT query.
*/
- if (($isDistinct && count($columnParts) > 1) || count($groupParts) > 1 || !empty($havingParts)) {
- $rowCount = $db->select()->from($this->_select);
+ if (($isDistinct && ((count($columnParts) == 1 && $columnParts[0][1] == Zend_Db_Select::SQL_WILDCARD)
+ || count($columnParts) > 1)) || count($groupParts) > 1 || !empty($havingParts)) {
+ $rowCount->reset(Zend_Db_Select::ORDER);
+ $rowCount = $db
+ ->select()
+ ->bind($rowCount->getBind())
+ ->from($rowCount);
} else if ($isDistinct) {
$part = $columnParts[0];
@@ -227,8 +256,7 @@
$groupPart = $column;
}
- } else if (!empty($groupParts) && $groupParts[0] !== Zend_Db_Select::SQL_WILDCARD &&
- !($groupParts[0] instanceof Zend_Db_Expr)) {
+ } else if (!empty($groupParts)) {
$groupPart = $db->quoteIdentifier($groupParts[0], true);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/Adapter/DbTableSelect.php
--- a/web/lib/Zend/Paginator/Adapter/DbTableSelect.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/Adapter/DbTableSelect.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DbTableSelect.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DbTableSelect.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_Adapter_DbTableSelect extends Zend_Paginator_Adapter_DbSelect
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/Adapter/Interface.php
--- a/web/lib/Zend/Paginator/Adapter/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/Adapter/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 23314 2010-11-08 19:48:10Z matthew $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Paginator_Adapter_Interface extends Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/Adapter/Iterator.php
--- a/web/lib/Zend/Paginator/Adapter/Iterator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/Adapter/Iterator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Iterator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Iterator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_Adapter_Iterator implements Zend_Paginator_Adapter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/Adapter/Null.php
--- a/web/lib/Zend/Paginator/Adapter/Null.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/Adapter/Null.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Null.php 21150 2010-02-23 16:27:36Z matthew $
+ * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_Adapter_Null implements Zend_Paginator_Adapter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/AdapterAggregate.php
--- a/web/lib/Zend/Paginator/AdapterAggregate.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/AdapterAggregate.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Paginator
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AdapterAggregate.php 22542 2010-07-09 19:41:46Z ramon $
+ * @version $Id: AdapterAggregate.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Paginator
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Paginator_AdapterAggregate
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/Exception.php
--- a/web/lib/Zend/Paginator/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/ScrollingStyle/All.php
--- a/web/lib/Zend/Paginator/ScrollingStyle/All.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/ScrollingStyle/All.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: All.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: All.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_ScrollingStyle_All implements Zend_Paginator_ScrollingStyle_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/ScrollingStyle/Elastic.php
--- a/web/lib/Zend/Paginator/ScrollingStyle/Elastic.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/ScrollingStyle/Elastic.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Elastic.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Elastic.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @link http://www.google.com/search?q=Zend+Framework
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_ScrollingStyle_Elastic extends Zend_Paginator_ScrollingStyle_Sliding
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/ScrollingStyle/Interface.php
--- a/web/lib/Zend/Paginator/ScrollingStyle/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/ScrollingStyle/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Paginator_ScrollingStyle_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/ScrollingStyle/Jumping.php
--- a/web/lib/Zend/Paginator/ScrollingStyle/Jumping.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/ScrollingStyle/Jumping.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Jumping.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Jumping.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_ScrollingStyle_Jumping implements Zend_Paginator_ScrollingStyle_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/ScrollingStyle/Sliding.php
--- a/web/lib/Zend/Paginator/ScrollingStyle/Sliding.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/ScrollingStyle/Sliding.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sliding.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Sliding.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @link http://search.yahoo.com/search?p=Zend+Framework
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_ScrollingStyle_Sliding implements Zend_Paginator_ScrollingStyle_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Paginator/SerializableLimitIterator.php
--- a/web/lib/Zend/Paginator/SerializableLimitIterator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Paginator/SerializableLimitIterator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SerializableLimitIterator.php 23189 2010-10-20 18:55:32Z mabe $
+ * @version $Id: SerializableLimitIterator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Paginator
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Paginator_SerializableLimitIterator extends LimitIterator implements Serializable, ArrayAccess
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf.php
--- a/web/lib/Zend/Pdf.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pdf.php 22908 2010-08-25 20:52:47Z alexander $
+ * @version $Id: Pdf.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -78,7 +78,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf
@@ -210,6 +210,14 @@
protected static $_inheritableAttributes = array('Resources', 'MediaBox', 'CropBox', 'Rotate');
/**
+ * True if the object is a newly created PDF document (affects save() method behavior)
+ * False otherwise
+ *
+ * @var boolean
+ */
+ protected $_isNewDocument = true;
+
+ /**
* Request used memory manager
*
* @return Zend_Memory_Manager
@@ -262,7 +270,8 @@
/**
* Render PDF document and save it.
*
- * If $updateOnly is true, then it only appends new section to the end of file.
+ * If $updateOnly is true and it's not a new document, then it only
+ * appends new section to the end of file.
*
* @param string $filename
* @param boolean $updateOnly
@@ -348,6 +357,8 @@
$this->_originalProperties = $this->properties;
}
+
+ $this->_isNewDocument = false;
} else {
$this->_pdfHeaderVersion = Zend_Pdf::PDF_VERSION;
@@ -1174,7 +1185,8 @@
/**
* Render the completed PDF to a string.
- * If $newSegmentOnly is true, then only appended part of PDF is returned.
+ * If $newSegmentOnly is true and it's not a new document,
+ * then only appended part of PDF is returned.
*
* @param boolean $newSegmentOnly
* @param resource $outputStream
@@ -1183,6 +1195,12 @@
*/
public function render($newSegmentOnly = false, $outputStream = null)
{
+ if ($this->_isNewDocument) {
+ // Drop full document first time even $newSegmentOnly is set to true
+ $newSegmentOnly = false;
+ $this->_isNewDocument = false;
+ }
+
// Save document properties if necessary
if ($this->properties != $this->_originalProperties) {
$docInfo = $this->_objFactory->newObject(new Zend_Pdf_Element_Dictionary());
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action.php
--- a/web/lib/Zend/Pdf/Action.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Action.php 22437 2010-06-15 16:13:46Z alexander $
+ * @version $Id: Action.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -35,7 +35,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Action extends Zend_Pdf_Target implements RecursiveIterator, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/GoTo.php
--- a/web/lib/Zend/Pdf/Action/GoTo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/GoTo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GoTo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GoTo.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -35,7 +35,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_GoTo extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/GoTo3DView.php
--- a/web/lib/Zend/Pdf/Action/GoTo3DView.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/GoTo3DView.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GoTo3DView.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GoTo3DView.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_GoTo3DView extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/GoToE.php
--- a/web/lib/Zend/Pdf/Action/GoToE.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/GoToE.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GoToE.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GoToE.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_GoToE extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/GoToR.php
--- a/web/lib/Zend/Pdf/Action/GoToR.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/GoToR.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GoToR.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GoToR.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_GoToR extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Hide.php
--- a/web/lib/Zend/Pdf/Action/Hide.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Hide.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Hide.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Hide.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Hide extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/ImportData.php
--- a/web/lib/Zend/Pdf/Action/ImportData.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/ImportData.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ImportData.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ImportData.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_ImportData extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/JavaScript.php
--- a/web/lib/Zend/Pdf/Action/JavaScript.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/JavaScript.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: JavaScript.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: JavaScript.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_JavaScript extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Launch.php
--- a/web/lib/Zend/Pdf/Action/Launch.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Launch.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Launch.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Launch.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Launch extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Movie.php
--- a/web/lib/Zend/Pdf/Action/Movie.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Movie.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Movie.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Movie.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Movie extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Named.php
--- a/web/lib/Zend/Pdf/Action/Named.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Named.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Named.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Named.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Named extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Rendition.php
--- a/web/lib/Zend/Pdf/Action/Rendition.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Rendition.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rendition.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rendition.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Rendition extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/ResetForm.php
--- a/web/lib/Zend/Pdf/Action/ResetForm.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/ResetForm.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ResetForm.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ResetForm.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_ResetForm extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/SetOCGState.php
--- a/web/lib/Zend/Pdf/Action/SetOCGState.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/SetOCGState.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SetOCGState.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SetOCGState.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_SetOCGState extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Sound.php
--- a/web/lib/Zend/Pdf/Action/Sound.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Sound.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sound.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Sound.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Sound extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/SubmitForm.php
--- a/web/lib/Zend/Pdf/Action/SubmitForm.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/SubmitForm.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SubmitForm.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SubmitForm.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_SubmitForm extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Thread.php
--- a/web/lib/Zend/Pdf/Action/Thread.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Thread.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Thread.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Thread.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Thread extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Trans.php
--- a/web/lib/Zend/Pdf/Action/Trans.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Trans.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Trans.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Trans.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Trans extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/URI.php
--- a/web/lib/Zend/Pdf/Action/URI.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/URI.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: URI.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: URI.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -38,7 +38,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_URI extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Action/Unknown.php
--- a/web/lib/Zend/Pdf/Action/Unknown.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Action/Unknown.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Unknown.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Unknown.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Action */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Action_Unknown extends Zend_Pdf_Action
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Annotation.php
--- a/web/lib/Zend/Pdf/Annotation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Annotation.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Annotation.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Annotation.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -32,7 +32,7 @@
*
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Annotation
@@ -220,7 +220,7 @@
* Load Annotation object from a specified resource
*
* @internal
- * @param $destinationArray
+ * @param Zend_Pdf_Element $resource
* @return Zend_Pdf_Annotation
*/
public static function load(Zend_Pdf_Element $resource)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Annotation/FileAttachment.php
--- a/web/lib/Zend/Pdf/Annotation/FileAttachment.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Annotation/FileAttachment.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FileAttachment.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FileAttachment.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -38,7 +38,7 @@
*
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Annotation_FileAttachment extends Zend_Pdf_Annotation
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Annotation/Link.php
--- a/web/lib/Zend/Pdf/Annotation/Link.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Annotation/Link.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Link.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Link.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -40,7 +40,7 @@
*
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Annotation_Link extends Zend_Pdf_Annotation
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Annotation/Markup.php
--- a/web/lib/Zend/Pdf/Annotation/Markup.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Annotation/Markup.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Markup.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Markup.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -37,7 +37,7 @@
*
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Annotation_Markup extends Zend_Pdf_Annotation
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Annotation/Text.php
--- a/web/lib/Zend/Pdf/Annotation/Text.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Annotation/Text.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Text.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Text.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -37,7 +37,7 @@
*
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Annotation_Text extends Zend_Pdf_Annotation
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Canvas.php
--- a/web/lib/Zend/Pdf/Canvas.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Canvas.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Style.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -26,7 +26,7 @@
* page object at specified place.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Canvas extends Zend_Pdf_Canvas_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Canvas/Abstract.php
--- a/web/lib/Zend/Pdf/Canvas/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Canvas/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Style.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -31,6 +31,9 @@
require_once 'Zend/Pdf/Element/Null.php';
require_once 'Zend/Pdf/Element/Numeric.php';
require_once 'Zend/Pdf/Element/String.php';
+require_once 'Zend/Pdf/Resource/GraphicsState.php';
+require_once 'Zend/Pdf/Resource/Font.php';
+require_once 'Zend/Pdf/Resource/Image.php';
/**
@@ -38,7 +41,7 @@
* page object at specified place.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Canvas_Abstract implements Zend_Pdf_Canvas_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Canvas/Interface.php
--- a/web/lib/Zend/Pdf/Canvas/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Canvas/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Style.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -25,7 +25,7 @@
* page object at specified place.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Pdf_Canvas_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Cmap.php
--- a/web/lib/Zend/Pdf/Cmap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Cmap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cmap.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cmap.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -47,7 +47,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Cmap
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Cmap/ByteEncoding.php
--- a/web/lib/Zend/Pdf/Cmap/ByteEncoding.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Cmap/ByteEncoding.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ByteEncoding.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ByteEncoding.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Cmap */
@@ -36,7 +36,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Cmap_ByteEncoding extends Zend_Pdf_Cmap
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Cmap/ByteEncoding/Static.php
--- a/web/lib/Zend/Pdf/Cmap/ByteEncoding/Static.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Cmap/ByteEncoding/Static.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Static.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Static.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Cmap_ByteEncoding */
@@ -32,7 +32,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Cmap_ByteEncoding_Static extends Zend_Pdf_Cmap_ByteEncoding
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Cmap/SegmentToDelta.php
--- a/web/lib/Zend/Pdf/Cmap/SegmentToDelta.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Cmap/SegmentToDelta.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SegmentToDelta.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SegmentToDelta.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Cmap */
@@ -33,7 +33,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Cmap_SegmentToDelta extends Zend_Pdf_Cmap
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Cmap/TrimmedTable.php
--- a/web/lib/Zend/Pdf/Cmap/TrimmedTable.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Cmap/TrimmedTable.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TrimmedTable.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TrimmedTable.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Cmap */
@@ -33,7 +33,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Cmap_TrimmedTable extends Zend_Pdf_Cmap
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Color.php
--- a/web/lib/Zend/Pdf/Color.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Color.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Color.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Color.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
* others don't do it. That is defined in a subclasses.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Color
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Color/Cmyk.php
--- a/web/lib/Zend/Pdf/Color/Cmyk.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Color/Cmyk.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cmyk.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cmyk.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -31,7 +31,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Color_Cmyk extends Zend_Pdf_Color
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Color/GrayScale.php
--- a/web/lib/Zend/Pdf/Color/GrayScale.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Color/GrayScale.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GrayScale.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: GrayScale.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Color_GrayScale extends Zend_Pdf_Color
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Color/Html.php
--- a/web/lib/Zend/Pdf/Color/Html.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Color/Html.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Html.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Html.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Color */
@@ -31,7 +31,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Color_Html extends Zend_Pdf_Color
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Color/Rgb.php
--- a/web/lib/Zend/Pdf/Color/Rgb.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Color/Rgb.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Rgb.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Rgb.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Color_Rgb extends Zend_Pdf_Color
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination.php
--- a/web/lib/Zend/Pdf/Destination.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Destination.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Destination.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Destination extends Zend_Pdf_Target
@@ -43,7 +43,7 @@
* Load Destination object from a specified resource
*
* @internal
- * @param $destinationArray
+ * @param Zend_Pdf_Element $resource
* @return Zend_Pdf_Destination
*/
public static function load(Zend_Pdf_Element $resource)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/Explicit.php
--- a/web/lib/Zend/Pdf/Destination/Explicit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/Explicit.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Explicit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Explicit.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Destination_Explicit extends Zend_Pdf_Destination
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/Fit.php
--- a/web/lib/Zend/Pdf/Destination/Fit.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/Fit.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Fit.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Fit.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_Fit extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/FitBoundingBox.php
--- a/web/lib/Zend/Pdf/Destination/FitBoundingBox.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/FitBoundingBox.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FitBoundingBox.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FitBoundingBox.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_FitBoundingBox extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/FitBoundingBoxHorizontally.php
--- a/web/lib/Zend/Pdf/Destination/FitBoundingBoxHorizontally.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/FitBoundingBoxHorizontally.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FitBoundingBoxHorizontally.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FitBoundingBoxHorizontally.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -42,7 +42,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_FitBoundingBoxHorizontally extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/FitBoundingBoxVertically.php
--- a/web/lib/Zend/Pdf/Destination/FitBoundingBoxVertically.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/FitBoundingBoxVertically.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FitBoundingBoxVertically.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FitBoundingBoxVertically.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -41,7 +41,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_FitBoundingBoxVertically extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/FitHorizontally.php
--- a/web/lib/Zend/Pdf/Destination/FitHorizontally.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/FitHorizontally.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FitHorizontally.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FitHorizontally.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -41,7 +41,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_FitHorizontally extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/FitRectangle.php
--- a/web/lib/Zend/Pdf/Destination/FitRectangle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/FitRectangle.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FitRectangle.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FitRectangle.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_FitRectangle extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/FitVertically.php
--- a/web/lib/Zend/Pdf/Destination/FitVertically.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/FitVertically.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FitVertically.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FitVertically.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -41,7 +41,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_FitVertically extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/Named.php
--- a/web/lib/Zend/Pdf/Destination/Named.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/Named.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Named.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Named.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -39,7 +39,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_Named extends Zend_Pdf_Destination
@@ -54,7 +54,7 @@
/**
* Named destination object constructor
*
- * @param $resource
+ * @param Zend_Pdf_Element $resource
* @throws Zend_Pdf_Exception
*/
public function __construct(Zend_Pdf_Element $resource)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/Unknown.php
--- a/web/lib/Zend/Pdf/Destination/Unknown.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/Unknown.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Unknown.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Unknown.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Destination_Explicit */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_Unknown extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Destination/Zoom.php
--- a/web/lib/Zend/Pdf/Destination/Zoom.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Destination/Zoom.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Zoom.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Zoom.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Destination
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Destination_Zoom extends Zend_Pdf_Destination_Explicit
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element.php
--- a/web/lib/Zend/Pdf/Element.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Element.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: Element.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -24,7 +24,7 @@
* PDF file element implementation
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Array.php
--- a/web/lib/Zend/Pdf/Element/Array.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Array.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Array.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: Array.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Array extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Boolean.php
--- a/web/lib/Zend/Pdf/Element/Boolean.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Boolean.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Boolean.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Boolean.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Boolean extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Dictionary.php
--- a/web/lib/Zend/Pdf/Element/Dictionary.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Dictionary.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Dictionary.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: Dictionary.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Dictionary extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Name.php
--- a/web/lib/Zend/Pdf/Element/Name.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Name.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Name.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Name.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Name extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Null.php
--- a/web/lib/Zend/Pdf/Element/Null.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Null.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Null.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Null extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Numeric.php
--- a/web/lib/Zend/Pdf/Element/Numeric.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Numeric.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Numeric.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Numeric.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Numeric extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Object.php
--- a/web/lib/Zend/Pdf/Element/Object.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Object.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Object.php 22844 2010-08-16 15:38:53Z alexander $
+ * @version $Id: Object.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Object extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Object/Stream.php
--- a/web/lib/Zend/Pdf/Element/Object/Stream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Object/Stream.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Stream.php 22909 2010-08-27 19:57:48Z alexander $
+ * @version $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Object_Stream extends Zend_Pdf_Element_Object
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Reference.php
--- a/web/lib/Zend/Pdf/Element/Reference.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Reference.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Reference.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: Reference.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Reference extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Reference/Context.php
--- a/web/lib/Zend/Pdf/Element/Reference/Context.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Reference/Context.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Context.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Context.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Reference_Context
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Reference/Table.php
--- a/web/lib/Zend/Pdf/Element/Reference/Table.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Reference/Table.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Table.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Table.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Reference_Table
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/Stream.php
--- a/web/lib/Zend/Pdf/Element/Stream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/Stream.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Stream.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_Stream extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/String.php
--- a/web/lib/Zend/Pdf/Element/String.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/String.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: String.php 21542 2010-03-18 08:56:40Z bate $
+ * @version $Id: String.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_String extends Zend_Pdf_Element
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Element/String/Binary.php
--- a/web/lib/Zend/Pdf/Element/String/Binary.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Element/String/Binary.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Binary.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Binary.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Element_String_Binary extends Zend_Pdf_Element_String
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/ElementFactory.php
--- a/web/lib/Zend/Pdf/ElementFactory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/ElementFactory.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ElementFactory.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: ElementFactory.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
* Responsibility is to log PDF changes
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_ElementFactory implements Zend_Pdf_ElementFactory_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/ElementFactory/Interface.php
--- a/web/lib/Zend/Pdf/ElementFactory/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/ElementFactory/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
* Responsibility is to log PDF changes
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Pdf_ElementFactory_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/ElementFactory/Proxy.php
--- a/web/lib/Zend/Pdf/ElementFactory/Proxy.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/ElementFactory/Proxy.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Proxy.php 22797 2010-08-06 15:02:12Z alexander $
+ * @version $Id: Proxy.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_ElementFactory_Interface */
@@ -27,7 +27,7 @@
* Responsibility is to log PDF changes
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_ElementFactory_Proxy implements Zend_Pdf_ElementFactory_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Exception.php
--- a/web/lib/Zend/Pdf/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Core
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Exception */
@@ -45,7 +45,7 @@
*
* @package Zend_Pdf
* @subpackage Core
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParser.php
--- a/web/lib/Zend/Pdf/FileParser.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParser.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FileParser.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FileParser.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_FileParser
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParser/Font.php
--- a/web/lib/Zend/Pdf/FileParser/Font.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParser/Font.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Font.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Font.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -36,7 +36,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_FileParser_Font extends Zend_Pdf_FileParser
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParser/Font/OpenType.php
--- a/web/lib/Zend/Pdf/FileParser/Font/OpenType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParser/Font/OpenType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenType.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenType.php 25197 2013-01-09 11:32:22Z frosch $
*/
/** Zend_Pdf_FileParser_Font */
@@ -45,7 +45,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_FileParser_Font_OpenType extends Zend_Pdf_FileParser_Font
@@ -582,12 +582,24 @@
* outlines from fonts yet, so this means no embed.
*/
$this->isEmbeddable = false;
- } else if ($this->isBitSet(1, $embeddingFlags)) {
- /* Restricted license embedding. We currently don't have any way to
- * enforce this, so interpret this as no embed. This may be revised
- * in the future...
- */
- $this->isEmbeddable = false;
+ } elseif ($this->isBitSet(2, $embeddingFlags)
+ || $this->isBitSet(3, $embeddingFlags)
+ || $this->isBitSet(4, $embeddingFlags)
+ ) {
+ /* One of:
+ * Restricted License embedding (0x0002)
+ * Preview & Print embedding (0x0004)
+ * Editable embedding (0x0008)
+ * is set.
+ */
+ $this->isEmbeddable = true;
+ } elseif ($this->isBitSet(1, $embeddingFlags)) {
+ /* Restricted license embedding & no other embedding is set.
+ * We currently don't have any way to
+ * enforce this, so interpret this as no embed. This may be revised
+ * in the future...
+ */
+ $this->isEmbeddable = false;
} else {
/* The remainder of the bit settings grant us permission to embed
* the font. There may be additional usage rights granted or denied
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParser/Font/OpenType/TrueType.php
--- a/web/lib/Zend/Pdf/FileParser/Font/OpenType/TrueType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParser/Font/OpenType/TrueType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TrueType.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TrueType.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_FileParser_Font_OpenType_TrueType extends Zend_Pdf_FileParser_Font_OpenType
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParser/Image.php
--- a/web/lib/Zend/Pdf/FileParser/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParser/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -35,7 +35,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_FileParser_Image extends Zend_Pdf_FileParser
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParser/Image/Png.php
--- a/web/lib/Zend/Pdf/FileParser/Image/Png.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParser/Image/Png.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Png.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: Png.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Pdf_FileParser_Image */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_FileParser_Image_Png extends Zend_Pdf_FileParser_Image
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParserDataSource.php
--- a/web/lib/Zend/Pdf/FileParserDataSource.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParserDataSource.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FileParserDataSource.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FileParserDataSource.php 24806 2012-05-15 11:32:11Z adamlundrigan $
*/
/**
@@ -35,7 +35,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_FileParserDataSource
@@ -63,21 +63,6 @@
/* Abstract Methods */
/**
- * Object constructor. Opens the data source for parsing.
- *
- * Must set $this->_size to the total size in bytes of the data source.
- *
- * Upon return the data source can be interrogated using the primitive
- * methods described here.
- *
- * If the data source cannot be opened for any reason (such as insufficient
- * permissions, missing file, etc.), will throw an appropriate exception.
- *
- * @throws Zend_Pdf_Exception
- */
- abstract public function __construct();
-
- /**
* Object destructor. Closes the data source.
*
* May also perform cleanup tasks such as deleting temporary files.
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParserDataSource/File.php
--- a/web/lib/Zend/Pdf/FileParserDataSource/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParserDataSource/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_FileParserDataSource */
@@ -34,7 +34,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_FileParserDataSource_File extends Zend_Pdf_FileParserDataSource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/FileParserDataSource/String.php
--- a/web/lib/Zend/Pdf/FileParserDataSource/String.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/FileParserDataSource/String.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: String.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: String.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_FileParserDataSource */
@@ -29,7 +29,7 @@
*
* @package Zend_Pdf
* @subpackage FileParser
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_FileParserDataSource_String extends Zend_Pdf_FileParserDataSource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Filter/Ascii85.php
--- a/web/lib/Zend/Pdf/Filter/Ascii85.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Filter/Ascii85.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ascii85.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: Ascii85.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* ASCII85 stream filter
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Filter_Ascii85 implements Zend_Pdf_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Filter/AsciiHex.php
--- a/web/lib/Zend/Pdf/Filter/AsciiHex.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Filter/AsciiHex.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AsciiHex.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AsciiHex.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* AsciiHex stream filter
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Filter_AsciiHex implements Zend_Pdf_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Filter/Compression.php
--- a/web/lib/Zend/Pdf/Filter/Compression.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Filter/Compression.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Compression.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* ASCII85 stream filter
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Filter_Compression implements Zend_Pdf_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Filter/Compression/Flate.php
--- a/web/lib/Zend/Pdf/Filter/Compression/Flate.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Filter/Compression/Flate.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Flate.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Flate.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* Flate stream filter
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Filter_Compression_Flate extends Zend_Pdf_Filter_Compression
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Filter/Compression/Lzw.php
--- a/web/lib/Zend/Pdf/Filter/Compression/Lzw.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Filter/Compression/Lzw.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Lzw.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Lzw.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* LZW stream filter
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Filter_Compression_Lzw extends Zend_Pdf_Filter_Compression
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Filter/Interface.php
--- a/web/lib/Zend/Pdf/Filter/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Filter/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,16 +14,16 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* PDF stream filter
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Pdf_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Filter/RunLength.php
--- a/web/lib/Zend/Pdf/Filter/RunLength.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Filter/RunLength.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RunLength.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: RunLength.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* RunLength stream filter
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Filter_RunLength implements Zend_Pdf_Filter_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Font.php
--- a/web/lib/Zend/Pdf/Font.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Font.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Font.php 20211 2010-01-12 02:14:29Z yoshida@zend.co.jp $
+ * @version $Id: Font.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -33,7 +33,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Font
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Image.php
--- a/web/lib/Zend/Pdf/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Images
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
*
* @package Zend_Pdf
* @subpackage Images
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Image
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/NameTree.php
--- a/web/lib/Zend/Pdf/NameTree.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/NameTree.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NameTree.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: NameTree.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -30,7 +30,7 @@
* @todo implement lazy resource loading so resources will be really loaded at access time
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_NameTree implements ArrayAccess, Iterator, Countable
@@ -46,7 +46,7 @@
/**
* Object constructor
*
- * @param $rootDictionary root of name dictionary
+ * @param Zend_Pdf_Element $rootDictionary root of name dictionary
*/
public function __construct(Zend_Pdf_Element $rootDictionary)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Outline.php
--- a/web/lib/Zend/Pdf/Outline.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Outline.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Outline.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Outline.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Pdf
* @subpackage Outlines
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Outline implements RecursiveIterator, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Outline/Created.php
--- a/web/lib/Zend/Pdf/Outline/Created.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Outline/Created.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Created.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Created.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -38,7 +38,7 @@
*
* @package Zend_Pdf
* @subpackage Outlines
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Outline_Created extends Zend_Pdf_Outline
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Outline/Loaded.php
--- a/web/lib/Zend/Pdf/Outline/Loaded.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Outline/Loaded.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Loaded.php 23195 2010-10-21 10:12:12Z alexander $
+ * @version $Id: Loaded.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -39,7 +39,7 @@
*
* @package Zend_Pdf
* @subpackage Outlines
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Outline_Loaded extends Zend_Pdf_Outline
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Page.php
--- a/web/lib/Zend/Pdf/Page.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Page.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Page.php 22909 2010-08-27 19:57:48Z alexander $
+ * @version $Id: Page.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -38,7 +38,7 @@
* PDF Page
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Page extends Zend_Pdf_Canvas_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Parser.php
--- a/web/lib/Zend/Pdf/Parser.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Parser.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Parser.php 23395 2010-11-19 15:30:47Z alexander $
+ * @version $Id: Parser.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -32,7 +32,7 @@
* PDF file parser
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Parser
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/RecursivelyIteratableObjectsContainer.php
--- a/web/lib/Zend/Pdf/RecursivelyIteratableObjectsContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/RecursivelyIteratableObjectsContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RecursivelyIteratableObjectsContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: RecursivelyIteratableObjectsContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* Iteratable objects container
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_RecursivelyIteratableObjectsContainer implements RecursiveIterator, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource.php
--- a/web/lib/Zend/Pdf/Resource.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Resource.php 22909 2010-08-27 19:57:48Z alexander $
+ * @version $Id: Resource.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -24,7 +24,7 @@
* PDF file Resource abstraction
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Resource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/ContentStream.php
--- a/web/lib/Zend/Pdf/Resource/ContentStream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/ContentStream.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -35,7 +35,7 @@
* Content stream (drawing instructions container)
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_ContentStream extends Zend_Pdf_Resource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Extractor.php
--- a/web/lib/Zend/Pdf/Resource/Extractor.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Extractor.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id:
*/
@@ -44,7 +44,7 @@
* must not be shared between target documents.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Extractor
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font.php
--- a/web/lib/Zend/Pdf/Resource/Font.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Font.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Font.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Pdf_Resource */
@@ -44,7 +44,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Resource_Font extends Zend_Pdf_Resource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/CidFont.php
--- a/web/lib/Zend/Pdf/Resource/Font/CidFont.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/CidFont.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CidFont.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CidFont.php 24664 2012-02-26 16:36:51Z adamlundrigan $
*/
/** Internally used classes */
@@ -51,7 +51,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Resource_Font_CidFont extends Zend_Pdf_Resource_Font
@@ -129,7 +129,9 @@
$charGlyphs = $this->_cmap->getCoveredCharactersGlyphs();
$charWidths = array();
foreach ($charGlyphs as $charCode => $glyph) {
- $charWidths[$charCode] = $glyphWidths[$glyph];
+ if(isset($glyphWidths[$glyph]) && !is_null($glyphWidths[$glyph])) {
+ $charWidths[$charCode] = $glyphWidths[$glyph];
+ }
}
$this->_charWidths = $charWidths;
$this->_missingCharWidth = $glyphWidths[0];
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/CidFont/TrueType.php
--- a/web/lib/Zend/Pdf/Resource/Font/CidFont/TrueType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/CidFont/TrueType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TrueType.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TrueType.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -44,7 +44,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_CidFont_TrueType extends Zend_Pdf_Resource_Font_CidFont
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Extracted.php
--- a/web/lib/Zend/Pdf/Resource/Font/Extracted.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Extracted.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Extracted.php 20866 2010-02-03 05:30:07Z yoshida@zend.co.jp $
+ * @version $Id: Extracted.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Extracted extends Zend_Pdf_Resource_Font
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/FontDescriptor.php
--- a/web/lib/Zend/Pdf/Resource/Font/FontDescriptor.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/FontDescriptor.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FontDescriptor.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FontDescriptor.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -42,7 +42,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_FontDescriptor
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Simple.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Simple.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -56,7 +56,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Resource_Font_Simple extends Zend_Pdf_Resource_Font
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Parsed.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Parsed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Parsed.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Parsed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Parsed.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -37,7 +37,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Resource_Font_Simple_Parsed extends Zend_Pdf_Resource_Font_Simple
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Parsed/TrueType.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Parsed/TrueType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Parsed/TrueType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TrueType.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TrueType.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -39,7 +39,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Parsed_TrueType extends Zend_Pdf_Resource_Font_Simple_Parsed
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Standard.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Standard.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -59,7 +59,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Resource_Font_Simple_Standard extends Zend_Pdf_Resource_Font_Simple
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Courier.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Courier.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Courier.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Courier.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Courier.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_Courier extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierBold.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierBold.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierBold.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CourierBold.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CourierBold.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_CourierBold extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierBoldOblique.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierBoldOblique.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierBoldOblique.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CourierBoldOblique.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CourierBoldOblique.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_CourierBoldOblique extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierOblique.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierOblique.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/CourierOblique.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CourierOblique.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CourierOblique.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_CourierOblique extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Helvetica.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Helvetica.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Helvetica.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Helvetica.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Helvetica.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_Helvetica extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaBold.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaBold.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaBold.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HelveticaBold.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HelveticaBold.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -42,7 +42,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_HelveticaBold extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaBoldOblique.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaBoldOblique.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaBoldOblique.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HelveticaBoldOblique.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HelveticaBoldOblique.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_HelveticaBoldOblique extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaOblique.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaOblique.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/HelveticaOblique.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: HelveticaOblique.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: HelveticaOblique.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_HelveticaOblique extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Symbol.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Symbol.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/Symbol.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Symbol.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Symbol.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_Symbol extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesBold.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesBold.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesBold.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TimesBold.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TimesBold.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_TimesBold extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesBoldItalic.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesBoldItalic.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesBoldItalic.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TimesBoldItalic.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TimesBoldItalic.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_TimesBoldItalic extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesItalic.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesItalic.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesItalic.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TimesItalic.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TimesItalic.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_TimesItalic extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesRoman.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesRoman.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/TimesRoman.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TimesRoman.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TimesRoman.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_TimesRoman extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Simple/Standard/ZapfDingbats.php
--- a/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/ZapfDingbats.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Simple/Standard/ZapfDingbats.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ZapfDingbats.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ZapfDingbats.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -43,7 +43,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Simple_Standard_ZapfDingbats extends Zend_Pdf_Resource_Font_Simple_Standard
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Font/Type0.php
--- a/web/lib/Zend/Pdf/Resource/Font/Type0.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Font/Type0.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Type0.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Type0.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -57,7 +57,7 @@
*
* @package Zend_Pdf
* @subpackage Fonts
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Font_Type0 extends Zend_Pdf_Resource_Font
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/GraphicsState.php
--- a/web/lib/Zend/Pdf/Resource/GraphicsState.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/GraphicsState.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -39,7 +39,7 @@
* graphics state operator gs (PDF 1.2).
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_GraphicsState extends Zend_Pdf_Resource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Image.php
--- a/web/lib/Zend/Pdf/Resource/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 22908 2010-08-25 20:52:47Z alexander $
+ * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
* Image abstraction.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Resource_Image extends Zend_Pdf_Resource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Image/Jpeg.php
--- a/web/lib/Zend/Pdf/Resource/Image/Jpeg.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Image/Jpeg.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Jpeg.php 23395 2010-11-19 15:30:47Z alexander $
+ * @version $Id: Jpeg.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* JPEG image
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Image_Jpeg extends Zend_Pdf_Resource_Image
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Image/Png.php
--- a/web/lib/Zend/Pdf/Resource/Image/Png.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Image/Png.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Png.php 23395 2010-11-19 15:30:47Z alexander $
+ * @version $Id: Png.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -35,7 +35,7 @@
* PNG image
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Image_Png extends Zend_Pdf_Resource_Image
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Image/Tiff.php
--- a/web/lib/Zend/Pdf/Resource/Image/Tiff.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Image/Tiff.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Tiff.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Tiff.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Internally used classes */
@@ -32,7 +32,7 @@
* TIFF image
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Image_Tiff extends Zend_Pdf_Resource_Image
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/ImageFactory.php
--- a/web/lib/Zend/Pdf/Resource/ImageFactory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/ImageFactory.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ImageFactory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ImageFactory.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
* Helps manage the diverse set of supported image file types.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @todo Use Zend_Mime not file extension for type determination.
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Resource/Unified.php
--- a/web/lib/Zend/Pdf/Resource/Unified.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Resource/Unified.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
*/
@@ -29,7 +29,7 @@
* Class is used to represent any resource when resource type not actually important.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Resource_Unified extends Zend_Pdf_Resource
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/StringParser.php
--- a/web/lib/Zend/Pdf/StringParser.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/StringParser.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StringParser.php 22311 2010-05-27 12:57:37Z padraic $
+ * @version $Id: StringParser.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -38,7 +38,7 @@
* PDF string parser
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_StringParser
@@ -272,7 +272,7 @@
}
$this->offset += strcspn($this->data, $compare, $this->offset);
-
+
return substr($this->data, $start, $this->offset - $start);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Style.php
--- a/web/lib/Zend/Pdf/Style.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Style.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Style.php 22908 2010-08-25 20:52:47Z alexander $
+ * @version $Id: Style.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* It's used by Zend_Pdf_Page class in draw operations.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Style
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Target.php
--- a/web/lib/Zend/Pdf/Target.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Target.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Target.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Target.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
*
* @package Zend_Pdf
* @subpackage Actions
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Target
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Trailer.php
--- a/web/lib/Zend/Pdf/Trailer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Trailer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Trailer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Trailer.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -24,7 +24,7 @@
* PDF file trailer
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_Trailer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Trailer/Generator.php
--- a/web/lib/Zend/Pdf/Trailer/Generator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Trailer/Generator.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Generator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Generator.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* PDF file trailer generator (used for just created PDF)
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Trailer_Generator extends Zend_Pdf_Trailer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/Trailer/Keeper.php
--- a/web/lib/Zend/Pdf/Trailer/Keeper.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/Trailer/Keeper.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Keeper.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Keeper.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
* Stores and provides access to the trailer parced from a PDF file
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Trailer_Keeper extends Zend_Pdf_Trailer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Pdf/UpdateInfoContainer.php
--- a/web/lib/Zend/Pdf/UpdateInfoContainer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Pdf/UpdateInfoContainer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateInfoContainer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: UpdateInfoContainer.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -24,7 +24,7 @@
* Container which collects updated object info.
*
* @package Zend_Pdf
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_UpdateInfoContainer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/ProgressBar.php
--- a/web/lib/Zend/ProgressBar.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/ProgressBar.php Sun Apr 21 21:54:24 2013 +0200
@@ -12,9 +12,9 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ProgressBar.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ProgressBar.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -22,7 +22,7 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_ProgressBar
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/ProgressBar/Adapter.php
--- a/web/lib/Zend/ProgressBar/Adapter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/ProgressBar/Adapter.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Adapter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Adapter.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_ProgressBar_Adapter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/ProgressBar/Adapter/Console.php
--- a/web/lib/Zend/ProgressBar/Adapter/Console.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/ProgressBar/Adapter/Console.php Sun Apr 21 21:54:24 2013 +0200
@@ -12,9 +12,9 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Console.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Console.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_ProgressBar
* @uses Zend_ProgressBar_Adapter_Interface
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_ProgressBar_Adapter_Console extends Zend_ProgressBar_Adapter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/ProgressBar/Adapter/Exception.php
--- a/web/lib/Zend/ProgressBar/Adapter/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/ProgressBar/Adapter/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_ProgressBar
* @uses Zend_ProgressBar_Exception
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_ProgressBar_Adapter_Exception extends Zend_ProgressBar_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/ProgressBar/Adapter/JsPull.php
--- a/web/lib/Zend/ProgressBar/Adapter/JsPull.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/ProgressBar/Adapter/JsPull.php Sun Apr 21 21:54:24 2013 +0200
@@ -12,9 +12,9 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: JsPull.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: JsPull.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_ProgressBar
* @uses Zend_ProgressBar_Adapter_Interface
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_ProgressBar_Adapter_JsPull extends Zend_ProgressBar_Adapter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/ProgressBar/Adapter/JsPush.php
--- a/web/lib/Zend/ProgressBar/Adapter/JsPush.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/ProgressBar/Adapter/JsPush.php Sun Apr 21 21:54:24 2013 +0200
@@ -12,9 +12,9 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: JsPush.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: JsPush.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_ProgressBar
* @uses Zend_ProgressBar_Adapter_Interface
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_ProgressBar_Adapter_JsPush extends Zend_ProgressBar_Adapter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/ProgressBar/Exception.php
--- a/web/lib/Zend/ProgressBar/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/ProgressBar/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_ProgressBar
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_ProgressBar
* @uses Zend_Exception
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_ProgressBar_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue.php
--- a/web/lib/Zend/Queue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Queue
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Queue.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Queue.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Queue
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue implements Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Activemq.php
--- a/web/lib/Zend/Queue/Adapter/Activemq.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Activemq.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Activemq.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Activemq.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_Activemq extends Zend_Queue_Adapter_AdapterAbstract
@@ -56,6 +56,11 @@
private $_client = null;
/**
+ * @var array
+ */
+ private $_subscribed = array();
+
+ /**
* Constructor
*
* @param array|Zend_Config $config An array having configuration data
@@ -177,6 +182,33 @@
}
/**
+ * Checks if the client is subscribed to the queue
+ *
+ * @param Zend_Queue $queue
+ * @return boolean
+ */
+ protected function _isSubscribed(Zend_Queue $queue)
+ {
+ return isset($this->_subscribed[$queue->getName()]);
+ }
+
+ /**
+ * Subscribes the client to the queue.
+ *
+ * @param Zend_Queue $queue
+ * @return void
+ */
+ protected function _subscribe(Zend_Queue $queue)
+ {
+ $frame = $this->_client->createFrame();
+ $frame->setCommand('SUBSCRIBE');
+ $frame->setHeader('destination', $queue->getName());
+ $frame->setHeader('ack', 'client');
+ $this->_client->send($frame);
+ $this->_subscribed[$queue->getName()] = true;
+ }
+
+ /**
* Return the first element in the queue
*
* @param integer $maxMessages
@@ -200,11 +232,9 @@
$data = array();
// signal that we are reading
- $frame = $this->_client->createFrame();
- $frame->setCommand('SUBSCRIBE');
- $frame->setHeader('destination', $queue->getName());
- $frame->setHeader('ack','client');
- $this->_client->send($frame);
+ if (!$this->_isSubscribed($queue)){
+ $this->_subscribe($queue);
+ }
if ($maxMessages > 0) {
if ($this->_client->canRead()) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/AdapterAbstract.php
--- a/web/lib/Zend/Queue/Adapter/AdapterAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/AdapterAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AdapterAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AdapterAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Queue_Adapter_AdapterAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/AdapterInterface.php
--- a/web/lib/Zend/Queue/Adapter/AdapterInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/AdapterInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AdapterInterface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AdapterInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Queue_Adapter_AdapterInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Array.php
--- a/web/lib/Zend/Queue/Adapter/Array.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Array.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Array.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Array.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_Array extends Zend_Queue_Adapter_AdapterAbstract
@@ -344,7 +344,7 @@
* sets the underlying _data array
* $queue->getAdapter()->setData($data);
*
- * @param $data array
+ * @param array $data
* @return $this;
*/
public function setData($data)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Db.php
--- a/web/lib/Zend/Queue/Adapter/Db.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Db.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Db.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Db.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -51,7 +51,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_Db extends Zend_Queue_Adapter_AdapterAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Db/Message.php
--- a/web/lib/Zend/Queue/Adapter/Db/Message.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Db/Message.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Message.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Message.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_Db_Message extends Zend_Db_Table_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Db/Queue.php
--- a/web/lib/Zend/Queue/Adapter/Db/Queue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Db/Queue.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Queue.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Queue.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_Db_Queue extends Zend_Db_Table_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Db/postgresql.sql
--- a/web/lib/Zend/Queue/Adapter/Db/postgresql.sql Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Db/postgresql.sql Sun Apr 21 21:54:24 2013 +0200
@@ -38,7 +38,7 @@
handle character(32),
body character varying(8192) NOT NULL,
md5 character(32) NOT NULL,
- timeout real,
+ timeout double precision,
created integer,
CONSTRAINT message_pk PRIMARY KEY (message_id),
CONSTRAINT message_ibfk_1 FOREIGN KEY (queue_id)
@@ -46,4 +46,4 @@
ON UPDATE CASCADE ON DELETE CASCADE
)
WITH (OIDS=FALSE);
-ALTER TABLE message OWNER TO queue;
\ No newline at end of file
+ALTER TABLE message OWNER TO queue;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Memcacheq.php
--- a/web/lib/Zend/Queue/Adapter/Memcacheq.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Memcacheq.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Memcacheq.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Memcacheq.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_Memcacheq extends Zend_Queue_Adapter_AdapterAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/Null.php
--- a/web/lib/Zend/Queue/Adapter/Null.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/Null.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Null.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_Null extends Zend_Queue_Adapter_AdapterAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Adapter/PlatformJobQueue.php
--- a/web/lib/Zend/Queue/Adapter/PlatformJobQueue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Adapter/PlatformJobQueue.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlatformJobQueue.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlatformJobQueue.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Adapter_PlatformJobQueue extends Zend_Queue_Adapter_AdapterAbstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Exception.php
--- a/web/lib/Zend/Queue/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Queue
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Queue
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Message.php
--- a/web/lib/Zend/Queue/Message.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Message.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Message
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Message.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Message.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Message
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Message
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Message/Iterator.php
--- a/web/lib/Zend/Queue/Message/Iterator.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Message/Iterator.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Queue
* @subpackage Message
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Iterator.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Iterator.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Queue
* @subpackage Message
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Message_Iterator implements Iterator, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Message/PlatformJob.php
--- a/web/lib/Zend/Queue/Message/PlatformJob.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Message/PlatformJob.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Message
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PlatformJob.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PlatformJob.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Message
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Message_PlatformJob extends Zend_Queue_Message
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Stomp/Client.php
--- a/web/lib/Zend/Queue/Stomp/Client.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Stomp/Client.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Client.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Client.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Stomp_Client
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Stomp/Client/Connection.php
--- a/web/lib/Zend/Queue/Stomp/Client/Connection.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Stomp/Client/Connection.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Connection.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Connection.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Stomp_Client_Connection
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Stomp/Client/ConnectionInterface.php
--- a/web/lib/Zend/Queue/Stomp/Client/ConnectionInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Stomp/Client/ConnectionInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ConnectionInterface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ConnectionInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Queue_Stomp_Client_ConnectionInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Stomp/Frame.php
--- a/web/lib/Zend/Queue/Stomp/Frame.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Stomp/Frame.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Frame.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Frame.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Queue_Stomp_Frame
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Queue/Stomp/FrameInterface.php
--- a/web/lib/Zend/Queue/Stomp/FrameInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Queue/Stomp/FrameInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FrameInterface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FrameInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Queue
* @subpackage Stomp
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Queue_Stomp_FrameInterface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Class.php
--- a/web/lib/Zend/Reflection/Class.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Class.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Class.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Class.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Class extends ReflectionClass
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Docblock.php
--- a/web/lib/Zend/Reflection/Docblock.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Docblock.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Docblock.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Docblock.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Docblock implements Reflector
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Docblock/Tag.php
--- a/web/lib/Zend/Reflection/Docblock/Tag.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Docblock/Tag.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Tag.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Tag.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Loader */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Docblock_Tag implements Reflector
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Docblock/Tag/Param.php
--- a/web/lib/Zend/Reflection/Docblock/Tag/Param.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Docblock/Tag/Param.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Param.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Param.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Reflection_Docblock_Tag */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Docblock_Tag_Param extends Zend_Reflection_Docblock_Tag
@@ -49,7 +49,7 @@
{
$matches = array();
- if (!preg_match('#^@(\w+)\s+([\w|\\\]+)(?:\s+(\$\S+))?(?:\s+(.*))?#s', $tagDocblockLine, $matches)) {
+ if (!preg_match('#^@(\w+)\s+([^\s]+)(?:\s+(\$\S+))?(?:\s+(.*))?#s', $tagDocblockLine, $matches)) {
require_once 'Zend/Reflection/Exception.php';
throw new Zend_Reflection_Exception('Provided docblock line is does not contain a valid tag');
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Docblock/Tag/Return.php
--- a/web/lib/Zend/Reflection/Docblock/Tag/Return.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Docblock/Tag/Return.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Return.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Return.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Reflection_Docblock_Tag */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Docblock_Tag_Return extends Zend_Reflection_Docblock_Tag
@@ -39,11 +39,11 @@
* Constructor
*
* @param string $tagDocblockLine
- * @return void
+ * @return \Zend_Reflection_Docblock_Tag_Return
*/
public function __construct($tagDocblockLine)
{
- if (!preg_match('#^@(\w+)\s+([\w|\\\]+)(?:\s+(.*))?#', $tagDocblockLine, $matches)) {
+ if (!preg_match('#^@(\w+)\s+([^\s]+)(?:\s+(.*))?#', $tagDocblockLine, $matches)) {
require_once 'Zend/Reflection/Exception.php';
throw new Zend_Reflection_Exception('Provided docblock line is does not contain a valid tag');
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Exception.php
--- a/web/lib/Zend/Reflection/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Extension.php
--- a/web/lib/Zend/Reflection/Extension.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Extension.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Extension.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Extension.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Extension extends ReflectionExtension
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/File.php
--- a/web/lib/Zend/Reflection/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20904 2010-02-04 16:18:18Z matthew $
+ * @version $Id: File.php 24803 2012-05-14 12:23:46Z adamlundrigan $
*/
/**
@@ -32,7 +32,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_File implements Reflector
@@ -86,8 +86,17 @@
public function __construct($file)
{
$fileName = $file;
-
- if (($fileRealpath = realpath($fileName)) === false) {
+
+ $fileRealpath = realpath($fileName);
+ if ($fileRealpath) {
+ // realpath() doesn't return false if Suhosin is included
+ // see http://uk3.php.net/manual/en/function.realpath.php#82770
+ if (!file_exists($fileRealpath)) {
+ $fileRealpath = false;
+ }
+ }
+
+ if ($fileRealpath === false) {
$fileRealpath = self::findRealpathInIncludePath($file);
}
@@ -300,10 +309,11 @@
$contents = $this->_contents;
$tokens = token_get_all($contents);
- $functionTrapped = false;
- $classTrapped = false;
- $requireTrapped = false;
- $openBraces = 0;
+ $functionTrapped = false;
+ $classTrapped = false;
+ $requireTrapped = false;
+ $embeddedVariableTrapped = false;
+ $openBraces = 0;
$this->_checkFileDocBlock($tokens);
@@ -330,13 +340,23 @@
if ($token == '{') {
$openBraces++;
} else if ($token == '}') {
- $openBraces--;
+ if ( $embeddedVariableTrapped ) {
+ $embeddedVariableTrapped = false;
+ } else {
+ $openBraces--;
+ }
}
continue;
}
switch ($type) {
+ case T_STRING_VARNAME:
+ case T_DOLLAR_OPEN_CURLY_BRACES:
+ case T_CURLY_OPEN:
+ $embeddedVariableTrapped = true;
+ continue;
+
// Name of something
case T_STRING:
if ($functionTrapped) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Function.php
--- a/web/lib/Zend/Reflection/Function.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Function.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Function.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Function.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Function extends ReflectionFunction
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Method.php
--- a/web/lib/Zend/Reflection/Method.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Method.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Method.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Method.php 24870 2012-06-02 02:15:12Z adamlundrigan $
*/
/**
@@ -37,7 +37,7 @@
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Method extends ReflectionMethod
@@ -145,24 +145,43 @@
{
$lines = array_slice(
file($this->getDeclaringClass()->getFileName(), FILE_IGNORE_NEW_LINES),
- $this->getStartLine(),
- ($this->getEndLine() - $this->getStartLine()),
+ $this->getStartLine()-1,
+ ($this->getEndLine() - $this->getStartLine()) + 1,
true
);
- $firstLine = array_shift($lines);
+ // Strip off lines until we come to a closing bracket
+ do {
+ if (count($lines) == 0) break;
+ $firstLine = array_shift($lines);
+ } while (strpos($firstLine, ')') === false);
- if (trim($firstLine) !== '{') {
- array_unshift($lines, $firstLine);
+ // If the opening brace isn't on the same line as method
+ // signature, then we should pop off more lines until we find it
+ if (strpos($firstLine,'{') === false) {
+ do {
+ if (count($lines) == 0) break;
+ $firstLine = array_shift($lines);
+ } while (strpos($firstLine, '{') === false);
+ }
+
+ // If there are more characters on the line after the opening brace,
+ // push them back onto the lines stack as they are part of the body
+ $restOfFirstLine = trim(substr($firstLine, strpos($firstLine, '{')+1));
+ if (!empty($restOfFirstLine)) {
+ array_unshift($lines, $restOfFirstLine);
}
$lastLine = array_pop($lines);
- if (trim($lastLine) !== '}') {
- array_push($lines, $lastLine);
+ // If there are more characters on the line before the closing brace,
+ // push them back onto the lines stack as they are part of the body
+ $restOfLastLine = trim(substr($lastLine, 0, strrpos($lastLine, '}')-1));
+ if (!empty($restOfLastLine)) {
+ array_push($lines, $restOfLastLine);
}
// just in case we had code on the bracket lines
- return rtrim(ltrim(implode("\n", $lines), '{'), '}');
+ return implode("\n", $lines);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Parameter.php
--- a/web/lib/Zend/Reflection/Parameter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Parameter.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,15 +14,15 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Parameter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Parameter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Parameter extends ReflectionParameter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Reflection/Property.php
--- a/web/lib/Zend/Reflection/Property.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Reflection/Property.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,16 +14,16 @@
*
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Property.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Property.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @todo implement line numbers
* @category Zend
* @package Zend_Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Reflection_Property extends ReflectionProperty
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Registry.php
--- a/web/lib/Zend/Registry.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Registry.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Registry
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Registry.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Registry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Registry
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Registry extends ArrayObject
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Client.php
--- a/web/lib/Zend/Rest/Client.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Client.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Client.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Client.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Client extends Zend_Service_Abstract
@@ -50,6 +50,13 @@
* @var Zend_Uri_Http
*/
protected $_uri = null;
+
+ /**
+ * Flag indicating the Zend_Http_Client is fresh and needs no reset.
+ * Must be set explicitly if you want to keep preset parameters.
+ * @var bool true if you do not want a reset. Default false.
+ */
+ protected $_noReset = false;
/**
* Constructor
@@ -98,7 +105,7 @@
* @throws Zend_Rest_Client_Exception
* @return void
*/
- final private function _prepareRest($path)
+ private function _prepareRest($path)
{
// Get the URI object and configure it
if (!$this->_uri instanceof Zend_Uri_Http) {
@@ -118,7 +125,29 @@
* Get the HTTP client and configure it for the endpoint URI. Do this each time
* because the Zend_Http_Client instance is shared among all Zend_Service_Abstract subclasses.
*/
- self::getHttpClient()->resetParameters()->setUri($this->_uri);
+ if ($this->_noReset) {
+ // if $_noReset we do not want to reset on this request,
+ // but we do on any subsequent request
+ $this->_noReset = false;
+ } else {
+ self::getHttpClient()->resetParameters();
+ }
+
+ self::getHttpClient()->setUri($this->_uri);
+ }
+
+ /**
+ * Tells Zend_Rest_Client not to reset all parameters on it's
+ * Zend_Http_Client. If you want no reset, this must be called explicitly
+ * before every request for which you do not want to reset the parameters.
+ * Parameters will accumulate between requests, but as soon as you do not
+ * call this function prior to any request, all preset parameters will be reset
+ * as by default.
+ * @param boolean $bool
+ */
+ public function setNoReset($bool = true)
+ {
+ $this->_noReset = $bool;
}
/**
@@ -129,7 +158,7 @@
* @throws Zend_Http_Client_Exception
* @return Zend_Http_Response
*/
- final public function restGet($path, array $query = null)
+ public function restGet($path, array $query = null)
{
$this->_prepareRest($path);
$client = self::getHttpClient();
@@ -167,7 +196,7 @@
* @throws Zend_Http_Client_Exception
* @return Zend_Http_Response
*/
- final public function restPost($path, $data = null)
+ public function restPost($path, $data = null)
{
$this->_prepareRest($path);
return $this->_performPost('POST', $data);
@@ -181,7 +210,7 @@
* @throws Zend_Http_Client_Exception
* @return Zend_Http_Response
*/
- final public function restPut($path, $data = null)
+ public function restPut($path, $data = null)
{
$this->_prepareRest($path);
return $this->_performPost('PUT', $data);
@@ -194,10 +223,10 @@
* @throws Zend_Http_Client_Exception
* @return Zend_Http_Response
*/
- final public function restDelete($path)
+ public function restDelete($path, $data = null)
{
$this->_prepareRest($path);
- return self::getHttpClient()->request('DELETE');
+ return $this->_performPost('DELETE', $data);
}
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Client/Exception.php
--- a/web/lib/Zend/Rest/Client/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Client/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
*
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Client_Exception extends Zend_Rest_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Client/Result.php
--- a/web/lib/Zend/Rest/Client/Result.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Client/Result.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Result.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Result.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Client_Result implements IteratorAggregate {
@@ -180,7 +180,8 @@
public function getStatus()
{
$status = $this->_sxml->xpath('//status/text()');
-
+ if ( !isset($status[0]) ) return false;
+
$status = strtolower($status[0]);
if (ctype_alpha($status) && $status == 'success') {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Client/Result/Exception.php
--- a/web/lib/Zend/Rest/Client/Result/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Client/Result/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
*
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Client_Result_Exception extends Zend_Rest_Client_Exception{}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Controller.php
--- a/web/lib/Zend/Rest/Controller.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Controller.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Rest
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Controller.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Controller.php 25024 2012-07-30 15:08:15Z rob $
*/
/** Zend_Controller_Action */
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Rest
* @see Zend_Rest_Route
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Rest_Controller extends Zend_Controller_Action
@@ -48,6 +48,13 @@
abstract public function getAction();
/**
+ * The head action handles HEAD requests and receives an 'id' parameter; it
+ * should respond with the server resource state of the resource identified
+ * by the 'id' value.
+ */
+ abstract public function headAction();
+
+ /**
* The post action handles POST requests; it should accept and digest a
* POSTed resource representation and persist the resource state.
*/
@@ -67,4 +74,4 @@
*/
abstract public function deleteAction();
-}
\ No newline at end of file
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Exception.php
--- a/web/lib/Zend/Rest/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Rest
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Rest
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Route.php
--- a/web/lib/Zend/Rest/Route.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Route.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Rest
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Route.php 23421 2010-11-21 10:03:53Z wilmoore $
+ * @version $Id: Route.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -46,7 +46,7 @@
*
* @category Zend
* @package Zend_Rest
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Route extends Zend_Controller_Router_Route_Module
@@ -98,13 +98,13 @@
$defaultsArray = array();
$restfulConfigArray = array();
foreach ($config as $key => $values) {
- if ($key == 'type') {
- // do nothing
- } elseif ($key == 'defaults') {
- $defaultsArray = $values->toArray();
- } else {
- $restfulConfigArray[$key] = explode(',', $values);
- }
+ if ($key == 'type') {
+ // do nothing
+ } elseif ($key == 'defaults') {
+ $defaultsArray = $values->toArray();
+ } else {
+ $restfulConfigArray[$key] = explode(',', $values);
+ }
}
$instance = new self($frontController, $defaultsArray, $restfulConfigArray);
return $instance;
@@ -161,10 +161,10 @@
return false;
}
} elseif ($this->_checkRestfulController($moduleName, $controllerName)) {
- $values[$this->_controllerKey] = $controllerName;
- $values[$this->_actionKey] = 'get';
+ $values[$this->_controllerKey] = $controllerName;
+ $values[$this->_actionKey] = 'get';
} else {
- return false;
+ return false;
}
//Store path count for method mapping
@@ -176,7 +176,7 @@
$specialGetTarget = array_shift($path);
} elseif ($pathElementCount && $path[$pathElementCount-1] == 'edit') {
$specialGetTarget = 'edit';
- $params['id'] = $path[$pathElementCount-2];
+ $params['id'] = urldecode($path[$pathElementCount-2]);
} elseif ($pathElementCount == 1) {
$params['id'] = urldecode(array_shift($path));
} elseif ($pathElementCount == 0 && !isset($params['id'])) {
@@ -187,8 +187,8 @@
if ($numSegs = count($path)) {
for ($i = 0; $i < $numSegs; $i = $i + 2) {
$key = urldecode($path[$i]);
- $val = isset($path[$i + 1]) ? urldecode($path[$i + 1]) : null;
- $params[$key] = $val;
+ $val = isset($path[$i + 1]) ? $path[$i + 1] : null;
+ $params[$key] = urldecode($val);
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Server.php
--- a/web/lib/Zend/Rest/Server.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Server.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Rest
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Server.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Server.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Rest
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Server implements Zend_Server_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Rest/Server/Exception.php
--- a/web/lib/Zend/Rest/Server/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Rest/Server/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Rest
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
*
* @package Zend_Rest
* @subpackage Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Server_Exception extends Zend_Rest_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Exception.php
--- a/web/lib/Zend/Search/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Search
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Search
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene.php
--- a/web/lib/Zend/Search/Lucene.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Lucene.php 22987 2010-09-21 10:39:53Z alexander $
+ * @version $Id: Lucene.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -89,7 +89,7 @@
/**
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene implements Zend_Search_Lucene_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Analyzer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Analyzer.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -63,7 +63,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,15 +15,17 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Common.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Common.php 24847 2012-05-31 19:19:28Z rob $
*/
/** Define constant used to provide correct file processing order */
/** @todo Section should be removed with ZF 2.0 release as obsolete */
-define('ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED', true);
+if (!defined('ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED')) {
+ define('ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED', true);
+}
/** Zend_Search_Lucene_Analysis_Analyzer */
@@ -46,7 +48,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Search_Lucene_Analysis_Analyzer_Common extends Zend_Search_Lucene_Analysis_Analyzer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Text.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Text.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text/CaseInsensitive.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text/CaseInsensitive.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text/CaseInsensitive.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CaseInsensitive.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CaseInsensitive.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TextNum.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TextNum.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum/CaseInsensitive.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum/CaseInsensitive.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum/CaseInsensitive.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CaseInsensitive.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CaseInsensitive.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Utf8.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Utf8.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8/CaseInsensitive.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8/CaseInsensitive.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8/CaseInsensitive.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CaseInsensitive.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CaseInsensitive.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Utf8Num.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Utf8Num.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num/CaseInsensitive.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num/CaseInsensitive.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num/CaseInsensitive.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CaseInsensitive.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CaseInsensitive.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/Token.php
--- a/web/lib/Zend/Search/Lucene/Analysis/Token.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/Token.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Token.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Token.php 24832 2012-05-30 13:14:44Z adamlundrigan $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Analysis_Token
@@ -123,6 +123,18 @@
{
return $this->_termText;
}
+
+ /**
+ * Sets the Token's term text.
+ *
+ * @param string $text
+ * @return this
+ */
+ public function setTermText($text)
+ {
+ $this->_termText = $text;
+ return $this;
+ }
/**
* Returns this Token's starting offset, the position of the first character
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/TokenFilter.php
--- a/web/lib/Zend/Search/Lucene/Analysis/TokenFilter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/TokenFilter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TokenFilter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TokenFilter.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Search_Lucene_Analysis_TokenFilter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/TokenFilter/LowerCase.php
--- a/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/LowerCase.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/LowerCase.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LowerCase.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: LowerCase.php 24832 2012-05-30 13:14:44Z adamlundrigan $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -45,14 +45,8 @@
*/
public function normalize(Zend_Search_Lucene_Analysis_Token $srcToken)
{
- $newToken = new Zend_Search_Lucene_Analysis_Token(
- strtolower( $srcToken->getTermText() ),
- $srcToken->getStartOffset(),
- $srcToken->getEndOffset());
-
- $newToken->setPositionIncrement($srcToken->getPositionIncrement());
-
- return $newToken;
+ $srcToken->setTermText(strtolower($srcToken->getTermText()));
+ return $srcToken;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/TokenFilter/LowerCaseUtf8.php
--- a/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/LowerCaseUtf8.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/LowerCaseUtf8.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LowerCaseUtf8.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: LowerCaseUtf8.php 24832 2012-05-30 13:14:44Z adamlundrigan $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -57,14 +57,8 @@
*/
public function normalize(Zend_Search_Lucene_Analysis_Token $srcToken)
{
- $newToken = new Zend_Search_Lucene_Analysis_Token(
- mb_strtolower($srcToken->getTermText(), 'UTF-8'),
- $srcToken->getStartOffset(),
- $srcToken->getEndOffset());
-
- $newToken->setPositionIncrement($srcToken->getPositionIncrement());
-
- return $newToken;
+ $srcToken->setTermText(mb_strtolower($srcToken->getTermText(), 'UTF-8'));
+ return $srcToken;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/TokenFilter/ShortWords.php
--- a/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/ShortWords.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/ShortWords.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ShortWords.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ShortWords.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Analysis/TokenFilter/StopWords.php
--- a/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/StopWords.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Analysis/TokenFilter/StopWords.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StopWords.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: StopWords.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Analysis_TokenFilter */
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Document.php
--- a/web/lib/Zend/Search/Lucene/Document.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Document.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Document.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Document.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Document
@@ -57,7 +57,7 @@
* Proxy method for getFieldValue(), provides more convenient access to
* the string value of a field.
*
- * @param $offset
+ * @param string $offset
* @return string
*/
public function __get($offset)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Document/Docx.php
--- a/web/lib/Zend/Search/Lucene/Document/Docx.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Document/Docx.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Docx.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Docx.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Document_OpenXml */
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Document_Docx extends Zend_Search_Lucene_Document_OpenXml {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Document/Exception.php
--- a/web/lib/Zend/Search/Lucene/Document/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Document/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Document_Exception extends Zend_Search_Lucene_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Document/Html.php
--- a/web/lib/Zend/Search/Lucene/Document/Html.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Document/Html.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Html.php 23392 2010-11-19 09:53:16Z ramon $
+ * @version $Id: Html.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Document_Html extends Zend_Search_Lucene_Document
@@ -438,7 +438,7 @@
if (!is_callable($callback)) {
require_once 'Zend/Search/Lucene/Exception.php';
- throw new Zend_Search_Lucene_Exception('$viewHelper parameter mast be a View Helper name, View Helper object or callback.');
+ throw new Zend_Search_Lucene_Exception('$viewHelper parameter must be a View Helper name, View Helper object or callback.');
}
$xpath = new DOMXPath($this->_doc);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Document/OpenXml.php
--- a/web/lib/Zend/Search/Lucene/Document/OpenXml.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Document/OpenXml.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OpenXml.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OpenXml.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Search_Lucene_Document_OpenXml extends Zend_Search_Lucene_Document
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Document/Pptx.php
--- a/web/lib/Zend/Search/Lucene/Document/Pptx.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Document/Pptx.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Pptx.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Pptx.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Document_Pptx extends Zend_Search_Lucene_Document_OpenXml
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Document/Xlsx.php
--- a/web/lib/Zend/Search/Lucene/Document/Xlsx.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Document/Xlsx.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Xlsx.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Xlsx.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Document_Xlsx extends Zend_Search_Lucene_Document_OpenXml
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Exception.php
--- a/web/lib/Zend/Search/Lucene/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Exception extends Zend_Search_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/FSM.php
--- a/web/lib/Zend/Search/Lucene/FSM.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/FSM.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FSM.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FSM.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_FSMAction */
@@ -33,7 +33,7 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Search_Lucene_FSM
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/FSMAction.php
--- a/web/lib/Zend/Search/Lucene/FSMAction.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/FSMAction.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FSMAction.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FSMAction.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_FSMAction
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Field.php
--- a/web/lib/Zend/Search/Lucene/Field.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Field.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Field.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Field.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Document
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Field
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/DictionaryLoader.php
--- a/web/lib/Zend/Search/Lucene/Index/DictionaryLoader.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/DictionaryLoader.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DictionaryLoader.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DictionaryLoader.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_DictionaryLoader
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/DocsFilter.php
--- a/web/lib/Zend/Search/Lucene/Index/DocsFilter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/DocsFilter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DocsFilter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DocsFilter.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_DocsFilter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/FieldInfo.php
--- a/web/lib/Zend/Search/Lucene/Index/FieldInfo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/FieldInfo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FieldInfo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FieldInfo.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_FieldInfo
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/SegmentInfo.php
--- a/web/lib/Zend/Search/Lucene/Index/SegmentInfo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/SegmentInfo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SegmentInfo.php 22987 2010-09-21 10:39:53Z alexander $
+ * @version $Id: SegmentInfo.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Index_TermsStream_Interface */
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_SegmentInfo implements Zend_Search_Lucene_Index_TermsStream_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/SegmentMerger.php
--- a/web/lib/Zend/Search/Lucene/Index/SegmentMerger.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/SegmentMerger.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SegmentMerger.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SegmentMerger.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Index_SegmentInfo */
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_SegmentMerger
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/SegmentWriter.php
--- a/web/lib/Zend/Search/Lucene/Index/SegmentWriter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/SegmentWriter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SegmentWriter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SegmentWriter.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Search_Lucene_Index_SegmentWriter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/SegmentWriter/DocumentWriter.php
--- a/web/lib/Zend/Search/Lucene/Index/SegmentWriter/DocumentWriter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/SegmentWriter/DocumentWriter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: DocumentWriter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: DocumentWriter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Index_SegmentWriter */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_SegmentWriter_DocumentWriter extends Zend_Search_Lucene_Index_SegmentWriter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/SegmentWriter/StreamWriter.php
--- a/web/lib/Zend/Search/Lucene/Index/SegmentWriter/StreamWriter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/SegmentWriter/StreamWriter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: StreamWriter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: StreamWriter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Index_SegmentWriter */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_SegmentWriter_StreamWriter extends Zend_Search_Lucene_Index_SegmentWriter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/Term.php
--- a/web/lib/Zend/Search/Lucene/Index/Term.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/Term.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Term.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Term.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_Term
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/TermInfo.php
--- a/web/lib/Zend/Search/Lucene/Index/TermInfo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/TermInfo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TermInfo.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TermInfo.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_TermInfo
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/TermsPriorityQueue.php
--- a/web/lib/Zend/Search/Lucene/Index/TermsPriorityQueue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/TermsPriorityQueue.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TermsPriorityQueue.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TermsPriorityQueue.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_PriorityQueue */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_TermsPriorityQueue extends Zend_Search_Lucene_PriorityQueue
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/TermsStream/Interface.php
--- a/web/lib/Zend/Search/Lucene/Index/TermsStream/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/TermsStream/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 22987 2010-09-21 10:39:53Z alexander $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Search_Lucene_Index_TermsStream_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Index/Writer.php
--- a/web/lib/Zend/Search/Lucene/Index/Writer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Index/Writer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Writer.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Writer.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Index_Writer
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Interface.php
--- a/web/lib/Zend/Search/Lucene/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -39,7 +39,7 @@
/**
* @category Zend
* @package Zend_Search_Lucene
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Zend_Search_Lucene_Interface extends Zend_Search_Lucene_Index_TermsStream_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Interface/MultiSearcher.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Search/Lucene/Interface/MultiSearcher.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,25 @@
+_fileHandlers[$filename]);
global $php_errormsg;
- $trackErrors = ini_get('track_errors'); ini_set('track_errors', '1');
+ $trackErrors = ini_get('track_errors');
+ ini_set('track_errors', '1');
if (!@unlink($this->_dirPath . '/' . $filename)) {
ini_set('track_errors', $trackErrors);
require_once 'Zend/Search/Lucene/Exception.php';
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Storage/File.php
--- a/web/lib/Zend/Search/Lucene/Storage/File.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Storage/File.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Search_Lucene_Storage_File
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Storage/File/Filesystem.php
--- a/web/lib/Zend/Search/Lucene/Storage/File/Filesystem.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Storage/File/Filesystem.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Filesystem.php 23395 2010-11-19 15:30:47Z alexander $
+ * @version $Id: Filesystem.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Storage_File */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Storage_File_Filesystem extends Zend_Search_Lucene_Storage_File
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/Storage/File/Memory.php
--- a/web/lib/Zend/Search/Lucene/Storage/File/Memory.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/Storage/File/Memory.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Memory.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Memory.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Storage_File */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Storage
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Storage_File_Memory extends Zend_Search_Lucene_Storage_File
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Search/Lucene/TermStreamsPriorityQueue.php
--- a/web/lib/Zend/Search/Lucene/TermStreamsPriorityQueue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Search/Lucene/TermStreamsPriorityQueue.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TermStreamsPriorityQueue.php 22987 2010-09-21 10:39:53Z alexander $
+ * @version $Id: TermStreamsPriorityQueue.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Search_Lucene_Index_TermsStream_Interface */
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Index
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_TermStreamsPriorityQueue implements Zend_Search_Lucene_Index_TermsStream_Interface
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer.php
--- a/web/lib/Zend/Serializer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Serializer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Serializer.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: Serializer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Loader_PluginLoader */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Serializer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer
@@ -51,7 +51,7 @@
* @param array |Zend_Config $opts Serializer options
* @return Zend_Serializer_Adapter_AdapterInterface
*/
- public static function factory($adapterName, $opts = array())
+ public static function factory($adapterName, $opts = array())
{
if ($adapterName instanceof Zend_Serializer_Adapter_AdapterInterface) {
return $adapterName; // $adapterName is already an adapter object
@@ -80,7 +80,7 @@
*
* @return Zend_Loader_PluginLoader
*/
- public static function getAdapterLoader()
+ public static function getAdapterLoader()
{
if (self::$_adapterLoader === null) {
self::$_adapterLoader = self::_getDefaultAdapterLoader();
@@ -94,11 +94,11 @@
* @param Zend_Loader_PluginLoader $pluginLoader
* @return void
*/
- public static function setAdapterLoader(Zend_Loader_PluginLoader $pluginLoader)
+ public static function setAdapterLoader(Zend_Loader_PluginLoader $pluginLoader)
{
self::$_adapterLoader = $pluginLoader;
}
-
+
/**
* Resets the internal adapter plugin loader
*
@@ -109,7 +109,7 @@
self::$_adapterLoader = self::_getDefaultAdapterLoader();
return self::$_adapterLoader;
}
-
+
/**
* Returns a default adapter plugin loader
*
@@ -128,7 +128,7 @@
* @param string|Zend_Serializer_Adapter_AdapterInterface $adapter
* @param array|Zend_Config $options
*/
- public static function setDefaultAdapter($adapter, $options = array())
+ public static function setDefaultAdapter($adapter, $options = array())
{
self::$_defaultAdapter = self::factory($adapter, $options);
}
@@ -138,7 +138,7 @@
*
* @return Zend_Serializer_Adapter_AdapterInterface
*/
- public static function getDefaultAdapter()
+ public static function getDefaultAdapter()
{
if (!self::$_defaultAdapter instanceof Zend_Serializer_Adapter_AdapterInterface) {
self::setDefaultAdapter(self::$_defaultAdapter);
@@ -154,7 +154,7 @@
* @return string
* @throws Zend_Serializer_Exception
*/
- public static function serialize($value, array $options = array())
+ public static function serialize($value, array $options = array())
{
if (isset($options['adapter'])) {
$adapter = self::factory($options['adapter']);
@@ -174,7 +174,7 @@
* @return mixed
* @throws Zend_Serializer_Exception
*/
- public static function unserialize($serialized, array $options = array())
+ public static function unserialize($serialized, array $options = array())
{
if (isset($options['adapter'])) {
$adapter = self::factory($options['adapter']);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/AdapterAbstract.php
--- a/web/lib/Zend/Serializer/Adapter/AdapterAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/AdapterAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AdapterAbstract.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: AdapterAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterInterface */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Serializer_Adapter_AdapterAbstract implements Zend_Serializer_Adapter_AdapterInterface
@@ -44,7 +44,7 @@
*
* @param array|Zend_Config $opts Serializer options
*/
- public function __construct($opts = array())
+ public function __construct($opts = array())
{
$this->setOptions($opts);
}
@@ -55,7 +55,7 @@
* @param array|Zend_Config $opts Serializer options
* @return Zend_Serializer_Adapter_AdapterAbstract
*/
- public function setOptions($opts)
+ public function setOptions($opts)
{
if ($opts instanceof Zend_Config) {
$opts = $opts->toArray();
@@ -76,7 +76,7 @@
* @param mixed $value Option value
* @return Zend_Serializer_Adapter_AdapterAbstract
*/
- public function setOption($name, $value)
+ public function setOption($name, $value)
{
$this->_options[(string) $name] = $value;
return $this;
@@ -87,7 +87,7 @@
*
* @return array
*/
- public function getOptions()
+ public function getOptions()
{
return $this->_options;
}
@@ -99,7 +99,7 @@
* @return mixed
* @throws Zend_Serializer_Exception
*/
- public function getOption($name)
+ public function getOption($name)
{
$name = (string) $name;
if (!array_key_exists($name, $this->_options)) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/AdapterInterface.php
--- a/web/lib/Zend/Serializer/Adapter/AdapterInterface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/AdapterInterface.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,19 +15,19 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AdapterInterface.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: AdapterInterface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-interface Zend_Serializer_Adapter_AdapterInterface
+interface Zend_Serializer_Adapter_AdapterInterface
{
/**
* Constructor
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/Amf0.php
--- a/web/lib/Zend/Serializer/Adapter/Amf0.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/Amf0.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Amf0.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: Amf0.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -39,16 +39,16 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_Amf0 extends Zend_Serializer_Adapter_AdapterAbstract
{
/**
* Serialize a PHP value to AMF0 format
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
* @throws Zend_Serializer_Exception
*/
@@ -67,9 +67,9 @@
/**
* Unserialize an AMF0 value to PHP
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return void
* @throws Zend_Serializer_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/Amf3.php
--- a/web/lib/Zend/Serializer/Adapter/Amf3.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/Amf3.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Amf3.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: Amf3.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -39,16 +39,16 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_Amf3 extends Zend_Serializer_Adapter_AdapterAbstract
{
/**
* Serialize a PHP value to AMF3 format
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
* @throws Zend_Serializer_Exception
*/
@@ -67,9 +67,9 @@
/**
* Deserialize an AMF3 value to PHP
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
* @throws Zend_Serializer_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/Igbinary.php
--- a/web/lib/Zend/Serializer/Adapter/Igbinary.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/Igbinary.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Igbinary.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: Igbinary.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_Igbinary extends Zend_Serializer_Adapter_AdapterAbstract
@@ -39,12 +39,12 @@
/**
* Constructor
- *
- * @param array|Zend_Config $opts
+ *
+ * @param array|Zend_Config $opts
* @return void
* @throws Zend_Serializer_Exception If igbinary extension is not present
*/
- public function __construct($opts = array())
+ public function __construct($opts = array())
{
if (!extension_loaded('igbinary')) {
require_once 'Zend/Serializer/Exception.php';
@@ -60,9 +60,9 @@
/**
* Serialize PHP value to igbinary
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
* @throws Zend_Serializer_Exception on igbinary error
*/
@@ -79,9 +79,9 @@
/**
* Deserialize igbinary string to PHP value
- *
- * @param string|binary $serialized
- * @param array $opts
+ *
+ * @param string|binary $serialized
+ * @param array $opts
* @return mixed
* @throws Zend_Serializer_Exception on igbinary error
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/Json.php
--- a/web/lib/Zend/Serializer/Adapter/Json.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/Json.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Json.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: Json.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_Json extends Zend_Serializer_Adapter_AdapterAbstract
@@ -46,9 +46,9 @@
/**
* Serialize PHP value to JSON
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
* @throws Zend_Serializer_Exception on JSON encoding exception
*/
@@ -66,9 +66,9 @@
/**
* Deserialize JSON to PHP value
- *
- * @param string $json
- * @param array $opts
+ *
+ * @param string $json
+ * @param array $opts
* @return mixed
*/
public function unserialize($json, array $opts = array())
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/PhpCode.php
--- a/web/lib/Zend/Serializer/Adapter/PhpCode.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/PhpCode.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PhpCode.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: PhpCode.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -27,16 +27,16 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_PhpCode extends Zend_Serializer_Adapter_AdapterAbstract
{
/**
* Serialize PHP using var_export
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
*/
public function serialize($value, array $opts = array())
@@ -48,9 +48,9 @@
* Deserialize PHP string
*
* Warning: this uses eval(), and should likely be avoided.
- *
- * @param string $code
- * @param array $opts
+ *
+ * @param string $code
+ * @param array $opts
* @return mixed
* @throws Zend_Serializer_Exception on eval error
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/PhpSerialize.php
--- a/web/lib/Zend/Serializer/Adapter/PhpSerialize.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/PhpSerialize.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PhpSerialize.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: PhpSerialize.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -27,7 +27,7 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_PhpSerialize extends Zend_Serializer_Adapter_AdapterAbstract
@@ -39,11 +39,11 @@
/**
* Constructor
- *
- * @param array|Zend_Config $opts
+ *
+ * @param array|Zend_Config $opts
* @return void
*/
- public function __construct($opts = array())
+ public function __construct($opts = array())
{
parent::__construct($opts);
@@ -54,9 +54,9 @@
/**
* Serialize using serialize()
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
* @throws Zend_Serializer_Exception On serialize error
*/
@@ -73,10 +73,10 @@
/**
* Unserialize
- *
+ *
* @todo Allow integration with unserialize_callback_func
- * @param string $serialized
- * @param array $opts
+ * @param string $serialized
+ * @param array $opts
* @return mixed
* @throws Zend_Serializer_Exception on unserialize error
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/PythonPickle.php
--- a/web/lib/Zend/Serializer/Adapter/PythonPickle.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/PythonPickle.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PythonPickle.php 21187 2010-02-24 01:22:01Z stas $
+ * @version $Id: PythonPickle.php 24815 2012-05-24 08:50:24Z mabe $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_PythonPickle extends Zend_Serializer_Adapter_AdapterAbstract
@@ -296,11 +296,11 @@
$this->_pickle .= self::OP_BINGET . chr($id);
} else {
// LONG_BINGET + pack("_pickle .= self::OP_LONG_BINGET . $idBin;
+ $this->_pickle .= self::OP_LONG_BINGET . $bin;
}
} else {
$this->_pickle .= self::OP_GET . $id . "\r\n";
@@ -321,11 +321,11 @@
$this->_pickle .= self::OP_BINPUT . chr($id);
} else {
// LONG_BINPUT + pack("_pickle .= self::OP_LONG_BINPUT . $idBin;
+ $this->_pickle .= self::OP_LONG_BINPUT . $bin;
}
} else {
$this->_pickle .= self::OP_PUT . $id . "\r\n";
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Adapter/Wddx.php
--- a/web/lib/Zend/Serializer/Adapter/Wddx.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Adapter/Wddx.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Wddx.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: Wddx.php 25033 2012-08-17 19:50:08Z matthew $
*/
/** @see Zend_Serializer_Adapter_AdapterAbstract */
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Serializer
* @subpackage Adapter
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Adapter_Wddx extends Zend_Serializer_Adapter_AdapterAbstract
@@ -43,8 +43,8 @@
/**
* Constructor
- *
- * @param array $opts
+ *
+ * @param array $opts
* @return void
* @throws Zend_Serializer_Exception if wddx extension not found
*/
@@ -60,9 +60,9 @@
/**
* Serialize PHP to WDDX
- *
- * @param mixed $value
- * @param array $opts
+ *
+ * @param mixed $value
+ * @param array $opts
* @return string
* @throws Zend_Serializer_Exception on wddx error
*/
@@ -86,9 +86,9 @@
/**
* Unserialize from WDDX to PHP
- *
- * @param string $wddx
- * @param array $opts
+ *
+ * @param string $wddx
+ * @param array $opts
* @return mixed
* @throws Zend_Serializer_Exception on wddx error
*/
@@ -100,7 +100,19 @@
// check if the returned NULL is valid
// or based on an invalid wddx string
try {
- $simpleXml = new SimpleXMLElement($wddx);
+ $oldLibxmlDisableEntityLoader = libxml_disable_entity_loader(true);
+ $dom = new DOMDocument;
+ $dom->loadXML($wddx);
+ foreach ($dom->childNodes as $child) {
+ if ($child->nodeType === XML_DOCUMENT_TYPE_NODE) {
+ require_once 'Zend/Serializer/Exception.php';
+ throw new Zend_Serializer_Exception(
+ 'Invalid XML: Detected use of illegal DOCTYPE'
+ );
+ }
+ }
+ $simpleXml = simplexml_import_dom($dom);
+ libxml_disable_entity_loader($oldLibxmlDisableEntityLoader);
if (isset($simpleXml->data[0]->null[0])) {
return null; // valid null
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Serializer/Exception.php
--- a/web/lib/Zend/Serializer/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Serializer/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Serializer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20574 2010-01-24 17:39:14Z mabe $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** @see Zend_Exception */
@@ -25,7 +25,7 @@
/**
* @category Zend
* @package Zend_Serializer
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Serializer_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Abstract.php
--- a/web/lib/Zend/Server/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -51,9 +51,9 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Server_Abstract implements Zend_Server_Interface
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Cache.php
--- a/web/lib/Zend/Server/Cache.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Cache.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cache.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Cache.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -24,7 +24,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Server_Cache
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Definition.php
--- a/web/lib/Zend/Server/Definition.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Definition.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Definition.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Definition.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -25,7 +25,7 @@
* @todo Implement iterator
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Server_Definition implements Countable, Iterator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Exception.php
--- a/web/lib/Zend/Server/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
*
* @package Zend_Server
* @subpackage Reflection
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Exception extends Zend_Exception
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Interface.php
--- a/web/lib/Zend/Server/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,9 +23,9 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
interface Zend_Server_Interface
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Method/Callback.php
--- a/web/lib/Zend/Server/Method/Callback.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Method/Callback.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Callback.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Callback.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Server_Method_Callback
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Method/Definition.php
--- a/web/lib/Zend/Server/Method/Definition.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Method/Definition.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Definition.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Definition.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Server_Method_Definition
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Method/Parameter.php
--- a/web/lib/Zend/Server/Method/Parameter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Method/Parameter.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Parameter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Parameter.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Server_Method_Parameter
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Method/Prototype.php
--- a/web/lib/Zend/Server/Method/Prototype.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Method/Prototype.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Prototype.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Prototype.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Server
* @subpackage Method
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Server_Method_Prototype
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection.php
--- a/web/lib/Zend/Server/Reflection.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -34,9 +34,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Reflection.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Reflection.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Class.php
--- a/web/lib/Zend/Server/Reflection/Class.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Class.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -32,9 +32,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Class.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Class.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection_Class
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Exception.php
--- a/web/lib/Zend/Server/Reflection/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -29,9 +29,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection_Exception extends Zend_Server_Exception
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Function.php
--- a/web/lib/Zend/Server/Reflection/Function.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Function.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Function.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Function.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection_Function extends Zend_Server_Reflection_Function_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Function/Abstract.php
--- a/web/lib/Zend/Server/Reflection/Function/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Function/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -46,9 +46,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 23320 2010-11-12 21:57:29Z alexander $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
abstract class Zend_Server_Reflection_Function_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Method.php
--- a/web/lib/Zend/Server/Reflection/Method.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Method.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,9 +30,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Method.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Method.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection_Method extends Zend_Server_Reflection_Function_Abstract
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Node.php
--- a/web/lib/Zend/Server/Reflection/Node.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Node.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -24,8 +24,8 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @version $Id: Node.php 20096 2010-01-06 02:05:09Z bkarwin $
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Node.php 24593 2012-01-05 20:35:02Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Server_Reflection_Node
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Parameter.php
--- a/web/lib/Zend/Server/Reflection/Parameter.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Parameter.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,9 +26,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Parameter.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Parameter.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection_Parameter
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/Prototype.php
--- a/web/lib/Zend/Server/Reflection/Prototype.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/Prototype.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -36,9 +36,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Prototype.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Prototype.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection_Prototype
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Server/Reflection/ReturnValue.php
--- a/web/lib/Zend/Server/Reflection/ReturnValue.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Server/Reflection/ReturnValue.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,7 +14,7 @@
*
* @category Zend
* @package Zend_Server
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -26,9 +26,9 @@
* @category Zend
* @package Zend_Server
* @subpackage Reflection
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ReturnValue.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ReturnValue.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Server_Reflection_ReturnValue
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Abstract.php
--- a/web/lib/Zend/Service/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Service
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Service
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Service_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Akismet.php
--- a/web/lib/Zend/Service/Akismet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Akismet.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Akismet
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Akismet.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Akismet.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Akismet
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Akismet extends Zend_Service_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon.php
--- a/web/lib/Zend/Service/Amazon.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Amazon.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Amazon.php 24782 2012-05-09 12:04:50Z adamlundrigan $
*/
/**
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon
@@ -104,7 +104,7 @@
* @param array $options Options to use for the Search Query
* @throws Zend_Service_Exception
* @return Zend_Service_Amazon_ResultSet
- * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2005-10-05&p=ApiReference/ItemSearchOperation
+ * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2011-08-01&p=ApiReference/ItemSearchOperation
*/
public function itemSearch(array $options)
{
@@ -142,7 +142,7 @@
*
* @param string $asin Amazon ASIN ID
* @param array $options Query Options
- * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2005-10-05&p=ApiReference/ItemLookupOperation
+ * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2011-08-01&p=ApiReference/ItemLookupOperation
* @throws Zend_Service_Exception
* @return Zend_Service_Amazon_Item|Zend_Service_Amazon_ResultSet
*/
@@ -171,7 +171,7 @@
$dom->loadXML($response->getBody());
self::_checkErrors($dom);
$xpath = new DOMXPath($dom);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$items = $xpath->query('//az:Items/az:Item');
if ($items->length == 1) {
@@ -229,7 +229,7 @@
$options['AWSAccessKeyId'] = $this->appId;
$options['Service'] = 'AWSECommerceService';
$options['Operation'] = (string) $query;
- $options['Version'] = '2005-10-05';
+ $options['Version'] = '2011-08-01';
// de-canonicalize out sort key
if (isset($options['ResponseGroup'])) {
@@ -302,7 +302,7 @@
protected static function _checkErrors(DOMDocument $dom)
{
$xpath = new DOMXPath($dom);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
if ($xpath->query('//az:Error')->length >= 1) {
$code = $xpath->query('//az:Error/az:Code/text()')->item(0)->data;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Abstract.php
--- a/web/lib/Zend/Service/Amazon/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Service_Amazon_Abstract extends Zend_Service_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Accessories.php
--- a/web/lib/Zend/Service/Amazon/Accessories.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Accessories.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Accessories.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Accessories.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Accessories
@@ -50,7 +50,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('ASIN', 'Title') as $el) {
$this->$el = (string) $xpath->query("./az:$el/text()", $dom)->item(0)->data;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Authentication.php
--- a/web/lib/Zend/Service/Amazon/Authentication.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Authentication.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -23,7 +23,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Service_Amazon_Authentication
@@ -31,13 +31,13 @@
protected $_accessKey;
protected $_secretKey;
protected $_apiVersion;
-
+
/**
* Constructor
- *
- * @param string $accessKey
- * @param string $secretKey
- * @param string $apiVersion
+ *
+ * @param string $accessKey
+ * @param string $secretKey
+ * @param string $apiVersion
* @return void
*/
public function __construct($accessKey, $secretKey, $apiVersion)
@@ -46,36 +46,36 @@
$this->setSecretKey($secretKey);
$this->setApiVersion($apiVersion);
}
-
+
/**
* Set access key
- *
- * @param string $accessKey
+ *
+ * @param string $accessKey
* @return void
*/
- public function setAccessKey($accessKey)
+ public function setAccessKey($accessKey)
{
$this->_accessKey = $accessKey;
}
-
+
/**
* Set secret key
- *
- * @param string $secretKey
+ *
+ * @param string $secretKey
* @return void
*/
- public function setSecretKey($secretKey)
+ public function setSecretKey($secretKey)
{
$this->_secretKey = $secretKey;
}
-
+
/**
* Set API version
- *
- * @param string $apiVersion
+ *
+ * @param string $apiVersion
* @return void
*/
- public function setApiVersion($apiVersion)
+ public function setApiVersion($apiVersion)
{
$this->_apiVersion = $apiVersion;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Authentication/Exception.php
--- a/web/lib/Zend/Service/Amazon/Authentication/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Authentication/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Authentication_Exception extends Zend_Service_Amazon_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Authentication/S3.php
--- a/web/lib/Zend/Service/Amazon/Authentication/S3.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Authentication/S3.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Authentication_S3 extends Zend_Service_Amazon_Authentication
@@ -52,9 +52,9 @@
if (! is_array($headers)) {
$headers = array($headers);
}
-
+
$type = $md5 = $date = '';
-
+
// Search for the Content-type, Content-MD5 and Date headers
foreach ($headers as $key => $val) {
if (strcasecmp($key, 'content-type') == 0) {
@@ -65,12 +65,12 @@
$date = $val;
}
}
-
+
// If we have an x-amz-date header, use that instead of the normal Date
if (isset($headers['x-amz-date']) && isset($date)) {
$date = '';
}
-
+
$sig_str = "$method\n$md5\n$type\n$date\n";
// For x-amz- headers, combine like keys, lowercase them, sort them
@@ -92,18 +92,18 @@
$sig_str .= $key . ':' . implode(',', $val) . "\n";
}
}
-
+
$sig_str .= '/'.parse_url($path, PHP_URL_PATH);
if (strpos($path, '?location') !== false) {
$sig_str .= '?location';
- } else
+ } else
if (strpos($path, '?acl') !== false) {
$sig_str .= '?acl';
- } else
+ } else
if (strpos($path, '?torrent') !== false) {
$sig_str .= '?torrent';
}
-
+
$signature = base64_encode(Zend_Crypt_Hmac::compute($this->_secretKey, 'sha1', utf8_encode($sig_str), Zend_Crypt_Hmac::BINARY));
$headers['Authorization'] = 'AWS ' . $this->_accessKey . ':' . $signature;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Authentication/V1.php
--- a/web/lib/Zend/Service/Amazon/Authentication/V1.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Authentication/V1.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Authentication_V1 extends Zend_Service_Amazon_Authentication
@@ -47,7 +47,7 @@
* Signature Encoding Method
*/
protected $_signatureMethod = 'HmacSHA256';
-
+
/**
* Generate the required attributes for the signature
* @param string $url
@@ -64,7 +64,7 @@
}
$data = $this->_signParameters($url, $parameters);
-
+
return $data;
}
@@ -102,7 +102,7 @@
$hmac = Zend_Crypt_Hmac::compute($this->_secretKey, 'SHA1', $data, Zend_Crypt_Hmac::BINARY);
$paramaters['Signature'] = base64_encode($hmac);
-
+
return $data;
}
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Authentication/V2.php
--- a/web/lib/Zend/Service/Amazon/Authentication/V2.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Authentication/V2.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Authentication
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Authentication_V2 extends Zend_Service_Amazon_Authentication
@@ -47,7 +47,7 @@
* Signature Encoding Method
*/
protected $_signatureMethod = 'HmacSHA256';
-
+
/**
* Type of http request
* @var string
@@ -71,18 +71,18 @@
}
$data = $this->_signParameters($url, $parameters);
-
+
return $data;
}
-
+
/**
* Set http request type to POST or GET
- * @param $method string
+ * @param string $method
*/
public function setHttpMethod($method = "POST") {
$this->_httpMethod = strtoupper($method);
}
-
+
/**
* Get the current http request type
* @return string
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/CustomerReview.php
--- a/web/lib/Zend/Service/Amazon/CustomerReview.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/CustomerReview.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CustomerReview.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CustomerReview.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_CustomerReview
@@ -75,7 +75,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('Rating', 'HelpfulVotes', 'CustomerId', 'TotalVotes', 'Date', 'Summary', 'Content') as $el) {
$result = $xpath->query("./az:$el/text()", $dom);
if ($result->length == 1) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2.php
--- a/web/lib/Zend/Service/Amazon/Ec2.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ec2.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Ec2.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Abstract.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -41,7 +41,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Service_Amazon_Ec2_Abstract extends Zend_Service_Amazon_Abstract
@@ -142,7 +142,7 @@
/**
* Sends a HTTP request to the queue service using Zend_Http_Client
*
- * @param array $params List of parameters to send with the request
+ * @param array $params List of parameters to send with the request
* @return Zend_Service_Amazon_Ec2_Response
* @throws Zend_Service_Amazon_Ec2_Exception
*/
@@ -166,7 +166,7 @@
$request->setParameterPost($params);
$httpResponse = $request->request();
-
+
} catch (Zend_Http_Client_Exception $zhce) {
$message = 'Error in request to AWS service: ' . $zhce->getMessage();
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Availabilityzones.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Availabilityzones.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Availabilityzones.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Availabilityzones.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Availabilityzones.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Availabilityzones extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/CloudWatch.php
--- a/web/lib/Zend/Service/Amazon/Ec2/CloudWatch.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/CloudWatch.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CloudWatch.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: CloudWatch.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_CloudWatch extends Zend_Service_Amazon_Ec2_Abstract
@@ -281,7 +281,7 @@
$options['Dimensions.member.' . $x . '.Value'] = $dimVal;
$x++;
}
-
+
unset($options['Dimensions']);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Ebs.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Ebs.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Ebs.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Ebs.php 22047 2010-04-28 22:14:51Z shahar $
+ * @version $Id: Ebs.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Ebs extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Elasticip.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Elasticip.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Elasticip.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Elasticip.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Elasticip.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Elasticip extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Exception.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Exception extends Zend_Service_Amazon_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Image.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Image extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Instance.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Instance.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Instance.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Instance.php 22046 2010-04-28 22:12:32Z shahar $
+ * @version $Id: Instance.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -32,12 +32,16 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Instance extends Zend_Service_Amazon_Ec2_Abstract
{
/**
+ * Constant for Micro Instance Type
+ */
+ const MICRO = 't1.micro';
+ /**
* Constant for Small Instance TYpe
*/
const SMALL = 'm1.small';
@@ -168,7 +172,6 @@
if(isset($options['monitor']) && $options['monitor'] === true) {
$params['Monitoring.Enabled'] = true;
}
-
$response = $this->sendRequest($params);
$xpath = $response->getXPath();
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Instance/Reserved.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Instance/Reserved.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Instance/Reserved.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Reserved.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Reserved.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Instance_Reserved extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Instance/Windows.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Instance/Windows.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Instance/Windows.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Windows.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Windows.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -42,7 +42,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Instance_Windows extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Keypair.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Keypair.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Keypair.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Keypair.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Keypair.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Keypair extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Region.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Region.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Region.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Region.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Region.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Region extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Response.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Response.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Response.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Response.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Response.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Response {
@@ -118,7 +118,7 @@
} catch (Zend_Http_Exception $e) {
$body = false;
}
-
+
if ($this->_document === null) {
if ($body !== false) {
// turn off libxml error handling
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Ec2/Securitygroups.php
--- a/web/lib/Zend/Service/Amazon/Ec2/Securitygroups.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Ec2/Securitygroups.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Securitygroups.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Securitygroups.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage Ec2
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Ec2_Securitygroups extends Zend_Service_Amazon_Ec2_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/EditorialReview.php
--- a/web/lib/Zend/Service/Amazon/EditorialReview.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/EditorialReview.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: EditorialReview.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: EditorialReview.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_EditorialReview
@@ -50,7 +50,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('Source', 'Content') as $el) {
$this->$el = (string) $xpath->query("./az:$el/text()", $dom)->item(0)->data;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Exception.php
--- a/web/lib/Zend/Service/Amazon/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
/**
* @category Zend
* @package Zend_Service
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Exception extends Zend_Service_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Image.php
--- a/web/lib/Zend/Service/Amazon/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Image.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Image
@@ -61,7 +61,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->Url = Zend_Uri::factory($xpath->query('./az:URL/text()', $dom)->item(0)->data);
$this->Height = (int) $xpath->query('./az:Height/text()', $dom)->item(0)->data;
$this->Width = (int) $xpath->query('./az:Width/text()', $dom)->item(0)->data;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Item.php
--- a/web/lib/Zend/Service/Amazon/Item.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Item.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Item.php 21883 2010-04-16 14:57:07Z dragonbe $
+ * @version $Id: Item.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Item
@@ -114,22 +114,22 @@
*
* @param null|DOMElement $dom
* @return void
- * @throws Zend_Service_Amazon_Exception
- *
+ * @throws Zend_Service_Amazon_Exception
+ *
* @group ZF-9547
*/
public function __construct($dom)
{
- if (null === $dom) {
- require_once 'Zend/Service/Amazon/Exception.php';
- throw new Zend_Service_Amazon_Exception('Item element is empty');
- }
- if (!$dom instanceof DOMElement) {
- require_once 'Zend/Service/Amazon/Exception.php';
- throw new Zend_Service_Amazon_Exception('Item is not a valid DOM element');
- }
+ if (null === $dom) {
+ require_once 'Zend/Service/Amazon/Exception.php';
+ throw new Zend_Service_Amazon_Exception('Item element is empty');
+ }
+ if (!$dom instanceof DOMElement) {
+ require_once 'Zend/Service/Amazon/Exception.php';
+ throw new Zend_Service_Amazon_Exception('Item is not a valid DOM element');
+ }
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->ASIN = $xpath->query('./az:ASIN/text()', $dom)->item(0)->data;
$result = $xpath->query('./az:DetailPageURL/text()', $dom);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/ListmaniaList.php
--- a/web/lib/Zend/Service/Amazon/ListmaniaList.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/ListmaniaList.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ListmaniaList.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ListmaniaList.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_ListmaniaList
@@ -50,7 +50,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('ListId', 'ListName') as $el) {
$this->$el = (string) $xpath->query("./az:$el/text()", $dom)->item(0)->data;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Offer.php
--- a/web/lib/Zend/Service/Amazon/Offer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Offer.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Offer.php 21154 2010-02-23 17:10:34Z matthew $
+ * @version $Id: Offer.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Offer
@@ -85,7 +85,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->MerchantId = (string) $xpath->query('./az:Merchant/az:MerchantId/text()', $dom)->item(0)->data;
$name = $xpath->query('./az:Merchant/az:Name/text()', $dom);
if ($name->length == 1) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/OfferSet.php
--- a/web/lib/Zend/Service/Amazon/OfferSet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/OfferSet.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: OfferSet.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: OfferSet.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_OfferSet
@@ -85,7 +85,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$offer = $xpath->query('./az:OfferSummary', $dom);
if ($offer->length == 1) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Query.php
--- a/web/lib/Zend/Service/Amazon/Query.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Query.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Query.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Query extends Zend_Service_Amazon
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/ResultSet.php
--- a/web/lib/Zend/Service/Amazon/ResultSet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/ResultSet.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ResultSet.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ResultSet.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_ResultSet implements SeekableIterator
@@ -75,7 +75,7 @@
{
$this->_dom = $dom;
$this->_xpath = new DOMXPath($dom);
- $this->_xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $this->_xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->_results = $this->_xpath->query('//az:Item');
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/S3.php
--- a/web/lib/Zend/Service/Amazon/S3.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/S3.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_S3
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: S3.php 23224 2010-10-22 13:45:57Z matthew $
+ * @version $Id: S3.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_S3
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @see http://docs.amazonwebservices.com/AmazonS3/2006-03-01/
*/
@@ -157,14 +157,15 @@
public function createBucket($bucket, $location = null)
{
$this->_validBucketName($bucket);
-
+ $headers=array();
if($location) {
$data = ''.$location.' ';
- }
- else {
+ $headers[self::S3_CONTENT_TYPE_HEADER]= 'text/plain';
+ $headers['Content-size']= strlen($data);
+ } else {
$data = null;
}
- $response = $this->_makeRequest('PUT', $bucket, null, array(), $data);
+ $response = $this->_makeRequest('PUT', $bucket, null, $headers, $data);
return ($response->getStatus() == 200);
}
@@ -273,9 +274,16 @@
return false;
}
- foreach ($objects as $object) {
- $this->removeObject("$bucket/$object");
+ while (!empty($objects)) {
+ foreach ($objects as $object) {
+ $this->removeObject("$bucket/$object");
+ }
+ $params= array (
+ 'marker' => $objects[count($objects)-1]
+ );
+ $objects = $this->getObjectsByBucket($bucket,$params);
}
+
return true;
}
@@ -313,7 +321,52 @@
return $objects;
}
+ /**
+ * List the objects and common prefixes in a bucket.
+ *
+ * Provides the list of object keys and common prefixes that are contained in the bucket. Valid params include the following.
+ * prefix - Limits the response to keys which begin with the indicated prefix. You can use prefixes to separate a bucket into different sets of keys in a way similar to how a file system uses folders.
+ * marker - Indicates where in the bucket to begin listing. The list will only include keys that occur lexicographically after marker. This is convenient for pagination: To get the next page of results use the last key of the current page as the marker.
+ * max-keys - The maximum number of keys you'd like to see in the response body. The server might return fewer than this many keys, but will not return more.
+ * delimiter - Causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be rolled up into a single result element in the CommonPrefixes collection. These rolled-up keys are not returned elsewhere in the response.
+ *
+ * @see ZF-11401
+ * @param string $bucket
+ * @param array $params S3 GET Bucket Paramater
+ * @return array|false
+ */
+ public function getObjectsAndPrefixesByBucket($bucket, $params = array())
+ {
+ $response = $this->_makeRequest('GET', $bucket, $params);
+ if ($response->getStatus() != 200) {
+ return false;
+ }
+
+ $xml = new SimpleXMLElement($response->getBody());
+
+ $objects = array();
+ if (isset($xml->Contents)) {
+ foreach ($xml->Contents as $contents) {
+ foreach ($contents->Key as $object) {
+ $objects[] = (string)$object;
+ }
+ }
+ }
+ $prefixes = array();
+ if (isset($xml->CommonPrefixes)) {
+ foreach ($xml->CommonPrefixes as $prefix) {
+ foreach ($prefix->Prefix as $object) {
+ $prefixes[] = (string)$object;
+ }
+ }
+ }
+
+ return array(
+ 'objects' => $objects,
+ 'prefixes' => $prefixes
+ );
+ }
/**
* Make sure the object name is valid
*
@@ -482,7 +535,7 @@
}
if(!isset($meta['Content-MD5'])) {
- $headers['Content-MD5'] = base64_encode(md5_file($path, true));
+ $meta['Content-MD5'] = base64_encode(md5_file($path, true));
}
return $this->putObject($object, $data, $meta);
@@ -557,11 +610,11 @@
/**
* Make a request to Amazon S3
*
- * @param string $method Request method
- * @param string $path Path to requested object
- * @param array $params Request parameters
- * @param array $headers HTTP headers
- * @param string|resource $data Request data
+ * @param string $method Request method
+ * @param string $path Path to requested object
+ * @param array $params Request parameters
+ * @param array $headers HTTP headers
+ * @param string|resource $data Request data
* @return Zend_Http_Response
*/
public function _makeRequest($method, $path='', $params=null, $headers=array(), $data=null)
@@ -590,7 +643,11 @@
$endpoint->setHost($parts[0].'.'.$endpoint->getHost());
}
if (!empty($parts[1])) {
- $endpoint->setPath('/'.$parts[1]);
+ // ZF-10218, ZF-10122
+ $pathparts = explode('?',$parts[1]);
+ $endpath = $pathparts[0];
+ $endpoint->setPath('/'.$endpath);
+
}
else {
$endpoint->setPath('/');
@@ -598,16 +655,16 @@
$path = $parts[0].'/';
}
}
-
self::addSignature($method, $path, $headers);
$client = self::getHttpClient();
- $client->resetParameters();
+ $client->resetParameters(true);
$client->setUri($endpoint);
$client->setAuth(false);
// Work around buglet in HTTP client - it doesn't clean headers
// Remove when ZHC is fixed
+ /*
$client->setHeaders(array('Content-MD5' => null,
'Content-Encoding' => null,
'Expect' => null,
@@ -615,7 +672,7 @@
'x-amz-acl' => null,
'x-amz-copy-source' => null,
'x-amz-metadata-directive' => null));
-
+ */
$client->setHeaders($headers);
if (is_array($params)) {
@@ -629,7 +686,7 @@
$headers['Content-type'] = self::getMimeType($path);
}
$client->setRawData($data, $headers['Content-type']);
- }
+ }
do {
$retry = false;
@@ -720,6 +777,9 @@
else if (strpos($path, '?torrent') !== false) {
$sig_str .= '?torrent';
}
+ else if (strpos($path, '?versions') !== false) {
+ $sig_str .= '?versions';
+ }
$signature = base64_encode(Zend_Crypt_Hmac::compute($this->_getSecretKey(), 'sha1', utf8_encode($sig_str), Zend_Crypt_Hmac::BINARY));
$headers['Authorization'] = 'AWS '.$this->_getAccessKey().':'.$signature;
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/S3/Exception.php
--- a/web/lib/Zend/Service/Amazon/S3/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/S3/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_S3
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -30,7 +30,7 @@
/**
* @category Zend
* @package Zend_Service
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_S3_Exception extends Zend_Service_Amazon_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/S3/Stream.php
--- a/web/lib/Zend/Service/Amazon/S3/Stream.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/S3/Stream.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_S3
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Stream.php 22621 2010-07-18 00:35:48Z torio $
+ * @version $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_S3
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_S3_Stream
@@ -140,8 +140,7 @@
$this->_writeBuffer = true;
$this->_getS3Client($path);
return true;
- }
- else {
+ } else {
// Otherwise, just see if the file exists or not
$info = $this->_getS3Client($path)->getInfo($name);
if ($info) {
@@ -175,9 +174,9 @@
/**
* Read from the stream
*
- * http://bugs.php.net/21641 - stream_read() is always passed PHP's
- * internal read buffer size (8192) no matter what is passed as $count
- * parameter to fread().
+ * http://bugs.php.net/21641 - stream_read() is always passed PHP's
+ * internal read buffer size (8192) no matter what is passed as $count
+ * parameter to fread().
*
* @param integer $count
* @return string
@@ -194,14 +193,12 @@
}
$range_start = $this->_position;
- $range_end = $this->_position+$count;
+ $range_end = $this->_position + $count - 1;
// Only fetch more data from S3 if we haven't fetched any data yet (postion=0)
- // OR, the range end position is greater than the size of the current object
- // buffer AND if the range end position is less than or equal to the object's
- // size returned by S3
- if (($this->_position == 0) || (($range_end > strlen($this->_objectBuffer)) && ($range_end <= $this->_objectSize))) {
-
+ // OR, the range end position plus 1 is greater than the size of the current
+ // object buffer
+ if ($this->_objectBuffer === null || $range_end >= strlen($this->_objectBuffer)) {
$headers = array(
'Range' => "bytes=$range_start-$range_end"
);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/SimilarProduct.php
--- a/web/lib/Zend/Service/Amazon/SimilarProduct.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/SimilarProduct.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SimilarProduct.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SimilarProduct.php 24780 2012-05-08 19:34:59Z adamlundrigan $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_SimilarProduct
@@ -50,7 +50,7 @@
public function __construct(DOMElement $dom)
{
$xpath = new DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('ASIN', 'Title') as $el) {
$text = $xpath->query("./az:$el/text()", $dom)->item(0);
if($text instanceof DOMText) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/SimpleDb.php
--- a/web/lib/Zend/Service/Amazon/SimpleDb.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/SimpleDb.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -53,7 +53,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_SimpleDb extends Zend_Service_Amazon_Abstract
@@ -100,7 +100,7 @@
$this->setEndpoint("https://" . $this->_sdbEndpoint);
}
- /**
+ /**
* Set SimpleDB endpoint to use
*
* @param string|Zend_Uri_Http $endpoint
@@ -108,15 +108,15 @@
*/
public function setEndpoint($endpoint)
{
- if(!($endpoint instanceof Zend_Uri_Http)) {
- $endpoint = Zend_Uri::factory($endpoint);
- }
- if(!$endpoint->valid()) {
- require_once 'Zend/Service/Amazon/SimpleDb/Exception.php';
- throw new Zend_Service_Amazon_SimpleDb_Exception("Invalid endpoint supplied");
- }
- $this->_endpoint = $endpoint;
- return $this;
+ if(!($endpoint instanceof Zend_Uri_Http)) {
+ $endpoint = Zend_Uri::factory($endpoint);
+ }
+ if(!$endpoint->valid()) {
+ require_once 'Zend/Service/Amazon/SimpleDb/Exception.php';
+ throw new Zend_Service_Amazon_SimpleDb_Exception("Invalid endpoint supplied");
+ }
+ $this->_endpoint = $endpoint;
+ return $this;
}
/**
@@ -124,30 +124,30 @@
*
* @return Zend_Uri_Http
*/
- public function getEndpoint()
+ public function getEndpoint()
{
- return $this->_endpoint;
+ return $this->_endpoint;
}
/**
* Get attributes API method
*
* @param string $domainName Domain name within database
- * @param string
+ * @param string
*/
public function getAttributes(
$domainName, $itemName, $attributeName = null
) {
$params = array();
- $params['Action'] = 'GetAttributes';
- $params['DomainName'] = $domainName;
- $params['ItemName'] = $itemName;
+ $params['Action'] = 'GetAttributes';
+ $params['DomainName'] = $domainName;
+ $params['ItemName'] = $itemName;
- if (isset($attributeName)) {
- $params['AttributeName'] = $attributeName;
- }
+ if (isset($attributeName)) {
+ $params['AttributeName'] = $attributeName;
+ }
- $response = $this->_sendRequest($params);
+ $response = $this->_sendRequest($params);
$document = $response->getSimpleXMLDocument();
$attributeNodes = $document->GetAttributesResult->Attribute;
@@ -167,7 +167,7 @@
$data = (string)$valueNodes;
}
if (isset($attributes[$name])) {
- $attributes[$name]->addValue($data);
+ $attributes[$name]->addValue($data);
} else {
$attributes[$name] = new Zend_Service_Amazon_SimpleDb_Attribute($itemName, $name, $data);
}
@@ -188,38 +188,38 @@
$domainName, $itemName, $attributes, $replace = array()
) {
$params = array();
- $params['Action'] = 'PutAttributes';
- $params['DomainName'] = $domainName;
- $params['ItemName'] = $itemName;
+ $params['Action'] = 'PutAttributes';
+ $params['DomainName'] = $domainName;
+ $params['ItemName'] = $itemName;
- $index = 0;
- foreach ($attributes as $attribute) {
- $attributeName = $attribute->getName();
+ $index = 0;
+ foreach ($attributes as $attribute) {
+ $attributeName = $attribute->getName();
foreach ($attribute->getValues() as $value) {
- $params['Attribute.' . $index . '.Name'] = $attributeName;
+ $params['Attribute.' . $index . '.Name'] = $attributeName;
$params['Attribute.' . $index . '.Value'] = $value;
- // Check if it should be replaced
+ // Check if it should be replaced
if(array_key_exists($attributeName, $replace) && $replace[$attributeName]) {
$params['Attribute.' . $index . '.Replace'] = 'true';
}
$index++;
}
- }
+ }
- // Exception should get thrown if there's an error
+ // Exception should get thrown if there's an error
$response = $this->_sendRequest($params);
}
/**
* Add many attributes at once
- *
- * @param array $items
- * @param string $domainName
- * @param array $replace
+ *
+ * @param array $items
+ * @param string $domainName
+ * @param array $replace
* @return void
*/
- public function batchPutAttributes($items, $domainName, array $replace = array())
+ public function batchPutAttributes($items, $domainName, array $replace = array())
{
$params = array();
@@ -236,8 +236,8 @@
foreach($attribute->getValues() as $value) {
$params['Item.' . $itemIndex . '.Attribute.' . $attributeIndex . '.Name'] = $attribute->getName();
$params['Item.' . $itemIndex . '.Attribute.' . $attributeIndex . '.Value'] = $value;
- if (isset($replace[$name])
- && isset($replace[$name][$attribute->getName()])
+ if (isset($replace[$name])
+ && isset($replace[$name][$attribute->getName()])
&& $replace[$name][$attribute->getName()]
) {
$params['Item.' . $itemIndex . '.Attribute.' . $attributeIndex . '.Replace'] = 'true';
@@ -253,27 +253,27 @@
/**
* Delete attributes
- *
- * @param string $domainName
- * @param string $itemName
- * @param array $attributes
+ *
+ * @param string $domainName
+ * @param string $itemName
+ * @param array $attributes
* @return void
*/
- public function deleteAttributes($domainName, $itemName, array $attributes = array())
+ public function deleteAttributes($domainName, $itemName, array $attributes = array())
{
$params = array();
- $params['Action'] = 'DeleteAttributes';
- $params['DomainName'] = $domainName;
- $params['ItemName'] = $itemName;
+ $params['Action'] = 'DeleteAttributes';
+ $params['DomainName'] = $domainName;
+ $params['ItemName'] = $itemName;
- $attributeIndex = 0;
- foreach ($attributes as $attribute) {
- foreach ($attribute->getValues() as $value) {
- $params['Attribute.' . $attributeIndex . '.Name'] = $attribute->getName();
- $params['Attribute.' . $attributeIndex . '.Value'] = $value;
+ $attributeIndex = 0;
+ foreach ($attributes as $attribute) {
+ foreach ($attribute->getValues() as $value) {
+ $params['Attribute.' . $attributeIndex . '.Name'] = $attribute->getName();
+ $params['Attribute.' . $attributeIndex . '.Value'] = $value;
$attributeIndex++;
- }
- }
+ }
+ }
$response = $this->_sendRequest($params);
@@ -283,19 +283,19 @@
/**
* List domains
*
- * @param $maxNumberOfDomains int
- * @param $nextToken int
+ * @param int $maxNumberOfDomains
+ * @param int $nextToken
* @return array 0 or more domain names
*/
- public function listDomains($maxNumberOfDomains = 100, $nextToken = null)
+ public function listDomains($maxNumberOfDomains = 100, $nextToken = null)
{
$params = array();
- $params['Action'] = 'ListDomains';
- $params['MaxNumberOfDomains'] = $maxNumberOfDomains;
+ $params['Action'] = 'ListDomains';
+ $params['MaxNumberOfDomains'] = $maxNumberOfDomains;
- if (null !== $nextToken) {
- $params['NextToken'] = $nextToken;
- }
+ if (null !== $nextToken) {
+ $params['NextToken'] = $nextToken;
+ }
$response = $this->_sendRequest($params);
$domainNodes = $response->getSimpleXMLDocument()->ListDomainsResult->DomainName;
@@ -315,14 +315,14 @@
/**
* Retrieve domain metadata
*
- * @param $domainName string Name of the domain for which metadata will be requested
+ * @param string $domainName Name of the domain for which metadata will be requested
* @return array Key/value array of metadatum names and values.
*/
- public function domainMetadata($domainName)
+ public function domainMetadata($domainName)
{
$params = array();
- $params['Action'] = 'DomainMetadata';
- $params['DomainName'] = $domainName;
+ $params['Action'] = 'DomainMetadata';
+ $params['DomainName'] = $domainName;
$response = $this->_sendRequest($params);
$document = $response->getSimpleXMLDocument();
@@ -340,14 +340,14 @@
/**
* Create a new domain
*
- * @param $domainName string Valid domain name of the domain to create
- * @return boolean True if successful, false if not
+ * @param string $domainName Valid domain name of the domain to create
+ * @return boolean True if successful, false if not
*/
- public function createDomain($domainName)
- {
+ public function createDomain($domainName)
+ {
$params = array();
- $params['Action'] = 'CreateDomain';
- $params['DomainName'] = $domainName;
+ $params['Action'] = 'CreateDomain';
+ $params['DomainName'] = $domainName;
$response = $this->_sendRequest($params);
return $response->getHttpResponse()->isSuccessful();
}
@@ -355,14 +355,14 @@
/**
* Delete a domain
*
- * @param $domainName string Valid domain name of the domain to delete
- * @return boolean True if successful, false if not
+ * @param string $domainName Valid domain name of the domain to delete
+ * @return boolean True if successful, false if not
*/
- public function deleteDomain($domainName)
- {
- $params = array();
- $params['Action'] = 'DeleteDomain';
- $params['DomainName'] = $domainName;
+ public function deleteDomain($domainName)
+ {
+ $params = array();
+ $params['Action'] = 'DeleteDomain';
+ $params['DomainName'] = $domainName;
$response = $this->_sendRequest($params);
return $response->getHttpResponse()->isSuccessful();
}
@@ -374,15 +374,15 @@
* @param null|string $nextToken
* @return Zend_Service_Amazon_SimpleDb_Page
*/
- public function select($selectExpression, $nextToken = null)
- {
+ public function select($selectExpression, $nextToken = null)
+ {
$params = array();
- $params['Action'] = 'Select';
- $params['SelectExpression'] = $selectExpression;
+ $params['Action'] = 'Select';
+ $params['SelectExpression'] = $selectExpression;
- if (null !== $nextToken) {
- $params['NextToken'] = $nextToken;
- }
+ if (null !== $nextToken) {
+ $params['NextToken'] = $nextToken;
+ }
$response = $this->_sendRequest($params);
$xml = $response->getSimpleXMLDocument();
@@ -406,36 +406,36 @@
return new Zend_Service_Amazon_SimpleDb_Page($attributes, $nextToken);
}
-
- /**
- * Quote SDB value
- *
- * Wraps it in ''
- *
- * @param string $value
- * @return string
- */
+
+ /**
+ * Quote SDB value
+ *
+ * Wraps it in ''
+ *
+ * @param string $value
+ * @return string
+ */
public function quote($value)
{
- // wrap in single quotes and convert each ' inside to ''
- return "'" . str_replace("'", "''", $value) . "'";
+ // wrap in single quotes and convert each ' inside to ''
+ return "'" . str_replace("'", "''", $value) . "'";
}
-
- /**
- * Quote SDB column or table name
- *
- * Wraps it in ``
- * @param string $name
- * @return string
- */
+
+ /**
+ * Quote SDB column or table name
+ *
+ * Wraps it in ``
+ * @param string $name
+ * @return string
+ */
public function quoteName($name)
{
- if (preg_match('/^[a-z_$][a-z0-9_$-]*$/i', $name) == false) {
- throw new Zend_Service_Amazon_SimpleDb_Exception("Invalid name: can contain only alphanumeric characters, \$ and _");
- }
- return "`$name`";
+ if (preg_match('/^[a-z_$][a-z0-9_$-]*$/i', $name) == false) {
+ throw new Zend_Service_Amazon_SimpleDb_Exception("Invalid name: can contain only alphanumeric characters, \$ and _");
+ }
+ return "`$name`";
}
-
+
/**
* Sends a HTTP request to the SimpleDB service using Zend_Http_Client
*
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/SimpleDb/Attribute.php
--- a/web/lib/Zend/Service/Amazon/SimpleDb/Attribute.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/SimpleDb/Attribute.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Response.php 17539 2009-08-10 22:51:26Z mikaelkael $
*/
@@ -24,7 +24,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_SimpleDb_Attribute
@@ -35,13 +35,13 @@
/**
* Constructor
- *
- * @param string $itemName
- * @param string $name
- * @param array $values
+ *
+ * @param string $itemName
+ * @param string $name
+ * @param array $values
* @return void
*/
- function __construct($itemName, $name, $values)
+ function __construct($itemName, $name, $values)
{
$this->_itemName = $itemName;
$this->_name = $name;
@@ -53,7 +53,7 @@
}
}
- /**
+ /**
* Return the item name to which the attribute belongs
*
* @return string
@@ -63,7 +63,7 @@
return $this->_itemName;
}
- /**
+ /**
* Retrieve attribute values
*
* @return array
@@ -73,7 +73,7 @@
return $this->_values;
}
- /**
+ /**
* Retrieve the attribute name
*
* @return string
@@ -82,17 +82,17 @@
{
return $this->_name;
}
-
+
/**
* Add value
- *
- * @param mixed $value
+ *
+ * @param mixed $value
* @return void
*/
public function addValue($value)
{
if (is_array($value)) {
- $this->_values += $value;
+ $this->_values += $value;
} else {
$this->_values[] = $value;
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/SimpleDb/Exception.php
--- a/web/lib/Zend/Service/Amazon/SimpleDb/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/SimpleDb/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_SimpleDb_Exception extends Zend_Service_Amazon_Exception
@@ -42,10 +42,10 @@
/**
* Constructor
- *
- * @param string $message
- * @param int $code
- * @param string $awsErrorCode
+ *
+ * @param string $message
+ * @param int $code
+ * @param string $awsErrorCode
* @return void
*/
public function __construct($message, $code = 0, $awsErrorCode = '')
@@ -56,7 +56,7 @@
/**
* Get AWS error code
- *
+ *
* @return string
*/
public function getErrorCode()
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/SimpleDb/Page.php
--- a/web/lib/Zend/Service/Amazon/SimpleDb/Page.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/SimpleDb/Page.php Sun Apr 21 21:54:24 2013 +0200
@@ -1,97 +1,97 @@
-_data = $data;
- $this->_token = $token;
- }
-
- /**
- * Retrieve page data
- *
- * @return string
- */
- public function getData()
- {
- return $this->_data;
- }
-
- /**
- * Retrieve token
- *
- * @return string|null
- */
- public function getToken()
- {
- return $this->_token;
- }
-
- /**
- * Determine whether this is the last page of data
- *
- * @return void
- */
- public function isLast()
- {
- return (null === $this->_token);
- }
-
- /**
- * Cast to string
- *
- * @return string
- */
- public function __toString()
- {
- return "Page with token: " . $this->_token
- . "\n and data: " . $this->_data;
- }
-}
+_data = $data;
+ $this->_token = $token;
+ }
+
+ /**
+ * Retrieve page data
+ *
+ * @return string
+ */
+ public function getData()
+ {
+ return $this->_data;
+ }
+
+ /**
+ * Retrieve token
+ *
+ * @return string|null
+ */
+ public function getToken()
+ {
+ return $this->_token;
+ }
+
+ /**
+ * Determine whether this is the last page of data
+ *
+ * @return void
+ */
+ public function isLast()
+ {
+ return (null === $this->_token);
+ }
+
+ /**
+ * Cast to string
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return "Page with token: " . $this->_token
+ . "\n and data: " . $this->_data;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/SimpleDb/Response.php
--- a/web/lib/Zend/Service/Amazon/SimpleDb/Response.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/SimpleDb/Response.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,10 +28,10 @@
* @category Zend
* @package Zend_Service_Amazon
* @subpackage SimpleDb
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-class Zend_Service_Amazon_SimpleDb_Response
+class Zend_Service_Amazon_SimpleDb_Response
{
/**
* XML namespace used for SimpleDB responses.
@@ -120,20 +120,20 @@
$body = false;
}
-
+
return simplexml_load_string($body);
}
-
+
/**
* Get HTTP response object
- *
+ *
* @return Zend_Http_Response
*/
- public function getHttpResponse()
+ public function getHttpResponse()
{
return $this->_httpResponse;
}
-
+
/**
* Gets the document object for this response
*
@@ -156,7 +156,7 @@
if (!$this->_document->loadXML($body)) {
$this->_document = false;
}
-
+
// reset libxml error handling
libxml_clear_errors();
libxml_use_internal_errors($errors);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Sqs.php
--- a/web/lib/Zend/Service/Amazon/Sqs.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Sqs.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_Sqs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Sqs.php 22984 2010-09-21 02:52:48Z matthew $
+ * @version $Id: Sqs.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
@@ -36,7 +36,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_Sqs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @see http://aws.amazon.com/sqs/ Amazon Simple Queue Service
*/
@@ -67,9 +67,17 @@
*/
protected $_sqsSignatureMethod = 'HmacSHA256';
+ protected $_sqsEndpoints = array('us-east-1' => 'sqs.us-east-1.amazonaws.com',
+ 'us-west-1' => 'sqs.us-west-1.amazonaws.com',
+ 'eu-west-1' => 'sqs.eu-west-1.amazonaws.com',
+ 'ap-southeast-1' => 'sqs.ap-southeast-1.amazonaws.com',
+ 'ap-northeast-1' => 'sqs.ap-northeast-1.amazonaws.com');
/**
* Constructor
*
+ * The default region is us-east-1. Use the region to set it to one of the regions that is build-in into ZF.
+ * To add a new AWS region use the setEndpoint() method.
+ *
* @param string $accessKey
* @param string $secretKey
* @param string $region
@@ -77,9 +85,78 @@
public function __construct($accessKey = null, $secretKey = null, $region = null)
{
parent::__construct($accessKey, $secretKey, $region);
+
+ if (null !== $region) {
+ $this->_setEndpoint($region);
+ }
}
/**
+ * Set SQS endpoint
+ *
+ * Checks and sets endpoint if region exists in $_sqsEndpoints. If a new SQS region is added by amazon,
+ * please use the setEndpoint function to set it.
+ *
+ * @param string $region region
+ * @throws Zend_Service_Amazon_Sqs_Exception
+ */
+ protected function _setEndpoint($region)
+ {
+ if (array_key_exists($region, $this->_sqsEndpoints)) {
+ $this->_sqsEndpoint = $this->_sqsEndpoints[$region];
+ } else {
+ throw new Zend_Service_Amazon_Sqs_Exception('Invalid SQS region specified.');
+ }
+ }
+
+ /**
+ * Set SQS endpoint
+ *
+ * You can set SQS to on of the build-in regions. If the region does not exsist it will be added.
+ *
+ * @param string $region region
+ * @throws Zend_Service_Amazon_Sqs_Exception
+ */
+ public function setEndpoint($region)
+ {
+ if (!empty($region)) {
+ if (array_key_exists($region, $this->_sqsEndpoints)) {
+ $this->_sqsEndpoint = $this->_sqsEndpoints[$region];
+ } else {
+ $this->_sqsEndpoints[$region] = "sqs.$region.amazonaws.com";
+ $this->_sqsEndpoint = $this->_sqsEndpoints[$region];
+ }
+ } else {
+ throw new Zend_Service_Amazon_Sqs_Exception('Empty region specified.');
+ }
+ }
+
+ /**
+ * Get the SQS endpoint
+ *
+ * @return string
+ */
+ public function getEndpoint()
+ {
+ return $this->_sqsEndpoint;
+ }
+
+ /**
+ * Get possible SQS endpoints
+ *
+ * Since there is not an SQS webserive to get all possible endpoints, a hardcoded list is available.
+ * For the actual region list please check:
+ * http://docs.amazonwebservices.com/AWSSimpleQueueService/2009-02-01/APIReference/index.html?QueueServiceWsdlArticle.html
+ *
+ * @param string $region region
+ * @return array
+ */
+ public function getEndpoints()
+ {
+ return $this->_sqsEndpoints;
+ }
+
+ /**
* Create a new queue
*
* Visibility timeout is how long a message is left in the queue "invisible"
@@ -288,7 +365,7 @@
$result = $this->_makeRequest($queue_url, 'DeleteMessage', $params);
- if (isset($result->Error->Code)
+ if (isset($result->Error->Code)
&& !empty($result->Error->Code)
) {
return false;
@@ -319,7 +396,7 @@
require_once 'Zend/Service/Amazon/Sqs/Exception.php';
throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code);
}
-
+
if(count($result->GetQueueAttributesResult->Attribute) > 1) {
$attr_result = array();
foreach($result->GetQueueAttributesResult->Attribute as $attribute) {
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Amazon/Sqs/Exception.php
--- a/web/lib/Zend/Service/Amazon/Sqs/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Amazon/Sqs/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_Sqs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Amazon_Sqs
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Amazon_Sqs_Exception extends Zend_Service_Amazon_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Audioscrobbler.php
--- a/web/lib/Zend/Service/Audioscrobbler.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Audioscrobbler.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Audioscrobbler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Audioscrobbler.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Audioscrobbler.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Audioscrobbler
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Audioscrobbler
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Delicious.php
--- a/web/lib/Zend/Service/Delicious.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Delicious.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Delicious.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Delicious.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -54,7 +54,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Delicious
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Delicious/Exception.php
--- a/web/lib/Zend/Service/Delicious/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Delicious/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Delicious_Exception extends Zend_Service_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Delicious/Post.php
--- a/web/lib/Zend/Service/Delicious/Post.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Delicious/Post.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Post.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Post.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Delicious_Post extends Zend_Service_Delicious_SimplePost
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Delicious/PostList.php
--- a/web/lib/Zend/Service/Delicious/PostList.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Delicious/PostList.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: PostList.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: PostList.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Delicious_PostList implements Countable, Iterator, ArrayAccess
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Delicious/SimplePost.php
--- a/web/lib/Zend/Service/Delicious/SimplePost.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Delicious/SimplePost.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SimplePost.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: SimplePost.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Delicious
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Delicious_SimplePost
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/BaseUserService.php
--- a/web/lib/Zend/Service/DeveloperGarden/BaseUserService.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/BaseUserService.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BaseUserService.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: BaseUserService.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -64,7 +64,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/BaseUserService/AccountBalance.php
--- a/web/lib/Zend/Service/DeveloperGarden/BaseUserService/AccountBalance.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/BaseUserService/AccountBalance.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AccountBalance.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: AccountBalance.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Client/ClientAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Client/ClientAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Client/ClientAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ClientAbstract.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: ClientAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -39,7 +39,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Client/Exception.php
--- a/web/lib/Zend/Service/DeveloperGarden/Client/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Client/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Client/Soap.php
--- a/web/lib/Zend/Service/DeveloperGarden/Client/Soap.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Client/Soap.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Soap.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: Soap.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ConferenceCall.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ConferenceCall.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -319,7 +319,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceAccount.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceAccount.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceAccount.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ConferenceAccount.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ConferenceAccount.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceDetail.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceDetail.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceDetail.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ConferenceDetail.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ConferenceDetail.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -90,7 +90,7 @@
/**
* set the description of this conference
*
- * @param $description the $description to set
+ * @param string $description the $description to set
* @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
*/
public function setDescription($description)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceSchedule.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceSchedule.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceSchedule.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ConferenceSchedule.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ConferenceSchedule.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall/Exception.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall/Participant.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/Participant.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/Participant.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Participant.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Participant.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ParticipantDetail.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ParticipantDetail.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ParticipantDetail.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ParticipantDetail.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ParticipantDetail.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @see Zend_Validate_EmailAddress
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ParticipantStatus.php
--- a/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ParticipantStatus.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/ConferenceCall/ParticipantStatus.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ParticipantStatus.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ParticipantStatus.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Credential.php
--- a/web/lib/Zend/Service/DeveloperGarden/Credential.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Credential.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Credential.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Credential.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -134,7 +134,7 @@
* if $withRealm == true we combine username and realm like
* username@realm
*
- * @param $boolean withRealm
+ * @param bool $withRealm
* @return string|null
*/
public function getUsername($withRealm = false)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Exception.php
--- a/web/lib/Zend/Service/DeveloperGarden/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/IpLocation.php
--- a/web/lib/Zend/Service/DeveloperGarden/IpLocation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/IpLocation.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: IpLocation.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: IpLocation.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -64,11 +64,11 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
-class Zend_Service_DeveloperGarden_IpLocation
+class Zend_Service_DeveloperGarden_IpLocation
extends Zend_Service_DeveloperGarden_Client_ClientAbstract
{
/**
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/IpLocation/IpAddress.php
--- a/web/lib/Zend/Service/DeveloperGarden/IpLocation/IpAddress.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/IpLocation/IpAddress.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: IpAddress.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: IpAddress.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/LocalSearch.php
--- a/web/lib/Zend/Service/DeveloperGarden/LocalSearch.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/LocalSearch.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocalSearch.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: LocalSearch.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -49,7 +49,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/LocalSearch/Exception.php
--- a/web/lib/Zend/Service/DeveloperGarden/LocalSearch/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/LocalSearch/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php
--- a/web/lib/Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SearchParameters.php 22662 2010-07-24 17:37:36Z mabe $
+ * @version $Id: SearchParameters.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -294,10 +294,10 @@
* rx = longitude right bottom
* ry = latitude right bottom
*
- * @param $lx
- * @param $ly
- * @param $rx
- * @param $ry
+ * @param float $lx
+ * @param float $ly
+ * @param float $rx
+ * @param float $ry
* @return Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
*/
public function setRectangle($lx, $ly, $rx, $ry)
@@ -416,8 +416,8 @@
* sets a category filter
*
* @see http://www.suchen.de/kategorie-katalog
- * @param $category
- * @return unknown_type
+ * @param string $category
+ * @return Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
*/
public function setCategory($category = null)
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/ChangeQuotaPool.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/ChangeQuotaPool.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/ChangeQuotaPool.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ChangeQuotaPool.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ChangeQuotaPool.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/GetAccountBalance.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/GetAccountBalance.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/GetAccountBalance.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetAccountBalance.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetAccountBalance.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/GetQuotaInformation.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/GetQuotaInformation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/GetQuotaInformation.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetQuotaInformation.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetQuotaInformation.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/AddConferenceTemplateParticipantRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/AddConferenceTemplateParticipantRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/AddConferenceTemplateParticipantRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AddConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: AddConferenceTemplateParticipantRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CommitConferenceRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CommitConferenceRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CommitConferenceRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CommitConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CommitConferenceRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CreateConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CreateConferenceRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -125,7 +125,7 @@
/**
* sets $account
*
- * @param $account
+ * @param int $account
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
*/
public function setAccount($account = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceTemplateRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceTemplateRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceTemplateRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CreateConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CreateConferenceTemplateRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceListRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceListRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceListRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceListRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceListRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -93,7 +93,7 @@
/**
* sets $ownerId
*
- * @param $ownerId
+ * @param int $ownerId
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceListRequest
*/
public function setOwnerId($ownerId)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceStatusRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceStatusRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceStatusRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceStatusRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceStatusRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateListRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateListRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateListRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateListRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateListRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -58,7 +58,7 @@
/**
* sets $ownerId
*
- * @param $ownerId
+ * @param int $ownerId
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateListRequest
*/
public function setOwnerId($ownerId)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateParticipantRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateParticipantRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateParticipantRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateParticipantRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceTemplateRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetParticipantStatusRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetParticipantStatusRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetParticipantStatusRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetParticipantStatusRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetParticipantStatusRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetRunningConferenceRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetRunningConferenceRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetRunningConferenceRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetRunningConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetRunningConferenceRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/NewParticipantRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/NewParticipantRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/NewParticipantRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NewParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: NewParticipantRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveConferenceRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceTemplateParticipantRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceTemplateParticipantRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceTemplateParticipantRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveConferenceTemplateParticipantRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceTemplateRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceTemplateRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveConferenceTemplateRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveConferenceTemplateRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveParticipantRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveParticipantRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/RemoveParticipantRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveParticipantRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateConferenceRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -147,7 +147,7 @@
/**
* sets $account
*
- * @param $account
+ * @param int $account
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
*/
public function setAccount($account = null)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceTemplateParticipantRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceTemplateParticipantRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceTemplateParticipantRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateConferenceTemplateParticipantRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceTemplateRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceTemplateRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateConferenceTemplateRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateConferenceTemplateRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateParticipantRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateParticipantRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateParticipantRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateParticipantRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/Exception.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/IpLocation/LocateIPRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/IpLocation/LocateIPRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/IpLocation/LocateIPRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocateIPRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: LocateIPRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/LocalSearch/LocalSearchRequest.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/LocalSearch/LocalSearchRequest.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/LocalSearch/LocalSearchRequest.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocalSearchRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: LocalSearchRequest.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -65,8 +65,8 @@
* @param integer $account
* @return Zend_Service_DeveloperGarden_Request_RequestAbstract
*/
- public function __construct($environment,
- Zend_Service_DeveloperGarden_LocalSearch_SearchParameters $searchParameters,
+ public function __construct($environment,
+ Zend_Service_DeveloperGarden_LocalSearch_SearchParameters $searchParameters,
$account = null
) {
parent::__construct($environment);
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/RequestAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/RequestAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/RequestAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RequestAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RequestAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendFlashSMS.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendFlashSMS.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendFlashSMS.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendFlashSMS.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendFlashSMS.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendSMS.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendSMS.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendSMS.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendSMS.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendSMS.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendSmsAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendSmsAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/SendSms/SendSmsAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendSmsAbstract.php 20418 2010-01-19 11:43:30Z bate $
+ * @version $Id: SendSmsAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -72,14 +72,14 @@
* @var array
*/
private $_specialChars = array(
- '|',
- '^',
- '{',
- '}',
- '[',
- ']',
- '~',
- '\\',
+ '|',
+ '^',
+ '{',
+ '}',
+ '[',
+ ']',
+ '~',
+ '\\',
"\n",
// '€', removed because its counted in utf8 correctly
);
@@ -207,7 +207,7 @@
/**
* sets a new accounts
*
- * @param $account the $account to set
+ * @param int $account the $account to set
* @return Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
*/
public function setAccount($account)
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/GetValidatedNumbers.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/GetValidatedNumbers.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/GetValidatedNumbers.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetValidatedNumbers.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetValidatedNumbers.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/Invalidate.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/Invalidate.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/Invalidate.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Invalidate.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Invalidate.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/SendValidationKeyword.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/SendValidationKeyword.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/SendValidationKeyword.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendValidationKeyword.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendValidationKeyword.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/Validate.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/Validate.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/SmsValidation/Validate.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Validate.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Validate.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/CallStatus.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/CallStatus.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/CallStatus.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CallStatus.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CallStatus.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/NewCall.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/NewCall.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/NewCall.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NewCall.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: NewCall.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/NewCallSequenced.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/NewCallSequenced.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/NewCallSequenced.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NewCallSequenced.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: NewCallSequenced.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/TearDownCall.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/TearDownCall.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/TearDownCall.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TearDownCall.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: TearDownCall.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/VoiceButlerAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/VoiceButlerAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Request/VoiceButler/VoiceButlerAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VoiceButlerAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: VoiceButlerAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/BaseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/BaseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/BaseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: BaseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: BaseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/ChangeQuotaPoolResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/ChangeQuotaPoolResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/ChangeQuotaPoolResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ChangeQuotaPoolResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ChangeQuotaPoolResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/GetAccountBalanceResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/GetAccountBalanceResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/GetAccountBalanceResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetAccountBalanceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetAccountBalanceResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/GetQuotaInformationResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/GetQuotaInformationResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/GetQuotaInformationResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetQuotaInformationResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetQuotaInformationResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/AddConferenceTemplateParticipantResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/AddConferenceTemplateParticipantResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/AddConferenceTemplateParticipantResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AddConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: AddConferenceTemplateParticipantResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/AddConferenceTemplateParticipantResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/AddConferenceTemplateParticipantResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/AddConferenceTemplateParticipantResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AddConferenceTemplateParticipantResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: AddConferenceTemplateParticipantResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CCSResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CCSResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CCSResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CCSResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CCSResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CommitConferenceResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CommitConferenceResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CommitConferenceResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CommitConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CommitConferenceResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ConferenceCallAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ConferenceCallAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CreateConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CreateConferenceResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CreateConferenceResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CreateConferenceResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceTemplateResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceTemplateResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceTemplateResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CreateConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CreateConferenceTemplateResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceTemplateResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceTemplateResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/CreateConferenceTemplateResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CreateConferenceTemplateResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CreateConferenceTemplateResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceListResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceListResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceListResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceListResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceListResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceListResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceListResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceListResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceListResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceListResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceStatusResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceStatusResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceStatusResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceStatusResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceStatusResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceStatusResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceStatusResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceStatusResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceStatusResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceStatusResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateListResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateListResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateListResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateListResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateListResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateListResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateListResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateListResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateListResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateListResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateParticipantResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateParticipantResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateParticipantResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateParticipantResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateParticipantResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateParticipantResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateParticipantResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateParticipantResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateParticipantResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetConferenceTemplateResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetConferenceTemplateResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetConferenceTemplateResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetParticipantStatusResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetParticipantStatusResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetParticipantStatusResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetParticipantStatusResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetParticipantStatusResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetParticipantStatusResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetParticipantStatusResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetParticipantStatusResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetParticipantStatusResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetParticipantStatusResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetRunningConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetRunningConferenceResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetRunningConferenceResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetRunningConferenceResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/NewParticipantResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/NewParticipantResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/NewParticipantResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NewParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: NewParticipantResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/NewParticipantResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/NewParticipantResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/NewParticipantResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NewParticipantResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: NewParticipantResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveConferenceResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceTemplateParticipantResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceTemplateParticipantResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceTemplateParticipantResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveConferenceTemplateParticipantResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceTemplateResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceTemplateResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveConferenceTemplateResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveConferenceTemplateResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveParticipantResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveParticipantResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/RemoveParticipantResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RemoveParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RemoveParticipantResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateConferenceResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceTemplateParticipantResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceTemplateParticipantResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceTemplateParticipantResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateConferenceTemplateParticipantResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceTemplateResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceTemplateResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateConferenceTemplateResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateConferenceTemplateResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateParticipantResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateParticipantResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/UpdateParticipantResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: UpdateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: UpdateParticipantResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/Exception.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/CityType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/CityType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/CityType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CityType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CityType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/GeoCoordinatesType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/GeoCoordinatesType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/GeoCoordinatesType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GeoCoordinatesType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GeoCoordinatesType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/IPAddressLocationType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/IPAddressLocationType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/IPAddressLocationType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: IPAddressLocationType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: IPAddressLocationType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/LocateIPResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/LocateIPResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/LocateIPResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocateIPResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: LocateIPResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/LocateIPResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/LocateIPResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/LocateIPResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocateIPResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: LocateIPResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/RegionType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/RegionType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/IpLocation/RegionType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: RegionType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: RegionType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocalSearchResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: LocalSearchResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponseType.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponseType.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponseType.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LocalSearchResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: LocalSearchResponseType.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/ResponseAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/ResponseAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/ResponseAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ResponseAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ResponseAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Exception.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/GetTokensResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/GetTokensResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/GetTokensResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetTokensResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetTokensResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Interface.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Interface.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Interface.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,16 +16,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Interface.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/SecurityTokenResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/SecurityTokenResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SecurityTokenServer/SecurityTokenResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SecurityTokenResponse.php 21189 2010-02-24 01:50:33Z stas $
+ * @version $Id: SecurityTokenResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendFlashSMSResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendFlashSMSResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendFlashSMSResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendFlashSMSResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendFlashSMSResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendSMSResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendSMSResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendSMSResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendSMSResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendSMSResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendSmsAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendSmsAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SendSms/SendSmsAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendSmsAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendSmsAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/GetValidatedNumbersResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/GetValidatedNumbersResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/GetValidatedNumbersResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: GetValidatedNumbersResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: GetValidatedNumbersResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/InvalidateResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/InvalidateResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/InvalidateResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: InvalidateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: InvalidateResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/SendValidationKeywordResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/SendValidationKeywordResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/SendValidationKeywordResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendValidationKeywordResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendValidationKeywordResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/ValidateResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/ValidateResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/ValidateResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ValidateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ValidateResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/ValidatedNumber.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/ValidatedNumber.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/SmsValidation/ValidatedNumber.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ValidatedNumber.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: ValidatedNumber.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatus2Response.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatus2Response.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatus2Response.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CallStatus2Response.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CallStatus2Response.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatusResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatusResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatusResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: CallStatusResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: CallStatusResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/NewCallResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/NewCallResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/NewCallResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NewCallResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: NewCallResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/NewCallSequencedResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/NewCallSequencedResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/NewCallSequencedResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: NewCallSequencedResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: NewCallSequencedResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/TearDownCallResponse.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/TearDownCallResponse.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/TearDownCallResponse.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TearDownCallResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: TearDownCallResponse.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/VoiceButlerAbstract.php
--- a/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/VoiceButlerAbstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/VoiceButlerAbstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VoiceButlerAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: VoiceButlerAbstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/SecurityTokenServer.php
--- a/web/lib/Zend/Service/DeveloperGarden/SecurityTokenServer.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/SecurityTokenServer.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SecurityTokenServer.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SecurityTokenServer.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -44,7 +44,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/SecurityTokenServer/Cache.php
--- a/web/lib/Zend/Service/DeveloperGarden/SecurityTokenServer/Cache.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/SecurityTokenServer/Cache.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Cache.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: Cache.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/SendSms.php
--- a/web/lib/Zend/Service/DeveloperGarden/SendSms.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/SendSms.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SendSms.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SendSms.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -49,7 +49,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/SmsValidation.php
--- a/web/lib/Zend/Service/DeveloperGarden/SmsValidation.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/SmsValidation.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SmsValidation.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: SmsValidation.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -74,7 +74,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/DeveloperGarden/VoiceCall.php
--- a/web/lib/Zend/Service/DeveloperGarden/VoiceCall.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/DeveloperGarden/VoiceCall.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: VoiceCall.php 20166 2010-01-09 19:00:17Z bkarwin $
+ * @version $Id: VoiceCall.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -74,7 +74,7 @@
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @author Marco Kaiser
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Abstract.php
--- a/web/lib/Zend/Service/Ebay/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -24,7 +24,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Service_Ebay_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Exception.php
--- a/web/lib/Zend/Service/Ebay/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding.php
--- a/web/lib/Zend/Service/Ebay/Finding.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Finding.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Abstract.php
--- a/web/lib/Zend/Service/Ebay/Finding/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Abstract.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Service_Ebay_Finding_Abstract
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Aspect.php
--- a/web/lib/Zend/Service/Ebay/Finding/Aspect.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Aspect.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Aspect.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Container.php
--- a/web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Container.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Container.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Container.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Value.php
--- a/web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Value.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Value.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Value.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Value/Set.php
--- a/web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Value/Set.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Aspect/Histogram/Value/Set.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Set.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Set_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Aspect/Set.php
--- a/web/lib/Zend/Service/Ebay/Finding/Aspect/Set.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Aspect/Set.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Set.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Set_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Category.php
--- a/web/lib/Zend/Service/Ebay/Finding/Category.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Category.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Category.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Category/Histogram.php
--- a/web/lib/Zend/Service/Ebay/Finding/Category/Histogram.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Category/Histogram.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Histogram.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Category
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Category/Histogram/Container.php
--- a/web/lib/Zend/Service/Ebay/Finding/Category/Histogram/Container.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Category/Histogram/Container.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Container.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Category/Histogram/Set.php
--- a/web/lib/Zend/Service/Ebay/Finding/Category/Histogram/Set.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Category/Histogram/Set.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Set.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Set_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Error/Data.php
--- a/web/lib/Zend/Service/Ebay/Finding/Error/Data.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Error/Data.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Data.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Error/Data/Set.php
--- a/web/lib/Zend/Service/Ebay/Finding/Error/Data/Set.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Error/Data/Set.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Set.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Set_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Error/Message.php
--- a/web/lib/Zend/Service/Ebay/Finding/Error/Message.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Error/Message.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Message.php 22802 2010-08-07 19:27:37Z ramon $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Exception.php
--- a/web/lib/Zend/Service/Ebay/Finding/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Exception
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/ListingInfo.php
--- a/web/lib/Zend/Service/Ebay/Finding/ListingInfo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/ListingInfo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ListingInfo.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/PaginationOutput.php
--- a/web/lib/Zend/Service/Ebay/Finding/PaginationOutput.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/PaginationOutput.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: PaginationOutput.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Response/Abstract.php
--- a/web/lib/Zend/Service/Ebay/Finding/Response/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Response/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Response/Histograms.php
--- a/web/lib/Zend/Service/Ebay/Finding/Response/Histograms.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Response/Histograms.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Histograms.php 22804 2010-08-08 05:08:05Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Response_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Response/Items.php
--- a/web/lib/Zend/Service/Ebay/Finding/Response/Items.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Response/Items.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Items.php 22804 2010-08-08 05:08:05Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Response_Histograms
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Response/Keywords.php
--- a/web/lib/Zend/Service/Ebay/Finding/Response/Keywords.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Response/Keywords.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Keywords.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -34,7 +34,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Response_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Search/Item.php
--- a/web/lib/Zend/Service/Ebay/Finding/Search/Item.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Search/Item.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http:framework.zend.com/license/new-bsd New BSD License
* @version $Id: Item.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http:framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Search/Item/Set.php
--- a/web/lib/Zend/Service/Ebay/Finding/Search/Item/Set.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Search/Item/Set.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Set.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Set_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Search/Result.php
--- a/web/lib/Zend/Service/Ebay/Finding/Search/Result.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Search/Result.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Result.php 22804 2010-08-08 05:08:05Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/SellerInfo.php
--- a/web/lib/Zend/Service/Ebay/Finding/SellerInfo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/SellerInfo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: SellerInfo.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/SellingStatus.php
--- a/web/lib/Zend/Service/Ebay/Finding/SellingStatus.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/SellingStatus.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: SellingStatus.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Set/Abstract.php
--- a/web/lib/Zend/Service/Ebay/Finding/Set/Abstract.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Set/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Abstract.php 20166 2010-01-09 19:00:17Z bkarwin $
*/
@@ -24,7 +24,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Service_Ebay_Finding_Set_Abstract implements SeekableIterator, Countable
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/ShippingInfo.php
--- a/web/lib/Zend/Service/Ebay/Finding/ShippingInfo.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/ShippingInfo.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ShippingInfo.php 22791 2010-08-04 16:11:47Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Ebay/Finding/Storefront.php
--- a/web/lib/Zend/Service/Ebay/Finding/Storefront.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding/Storefront.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Storefront.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Finding_Abstract
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Exception.php
--- a/web/lib/Zend/Service/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Service
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -29,7 +29,7 @@
/**
* @category Zend
* @package Zend_Service
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Exception extends Zend_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Flickr.php
--- a/web/lib/Zend/Service/Flickr.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Flickr.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Flickr.php 22598 2010-07-16 21:24:14Z mikaelkael $
+ * @version $Id: Flickr.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Flickr
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Flickr/Image.php
--- a/web/lib/Zend/Service/Flickr/Image.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Flickr/Image.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Flickr_Image
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Flickr/Result.php
--- a/web/lib/Zend/Service/Flickr/Result.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Flickr/Result.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Result.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Result.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -26,7 +26,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Flickr_Result
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Flickr/ResultSet.php
--- a/web/lib/Zend/Service/Flickr/ResultSet.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Flickr/ResultSet.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ResultSet.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ResultSet.php 24593 2012-01-05 20:35:02Z matthew $
*/
@@ -32,7 +32,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Flickr
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Flickr_ResultSet implements SeekableIterator
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/LiveDocx.php
--- a/web/lib/Zend/Service/LiveDocx.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/LiveDocx.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Service
* @subpackage LiveDocx
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: LiveDocx.php 23022 2010-10-05 15:30:55Z jonathan_maron $
+ * @version $Id: LiveDocx.php 25024 2012-07-30 15:08:15Z rob $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage LiveDocx
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @since LiveDocx 1.0
*/
@@ -42,37 +42,37 @@
* @since LiveDocx 1.0
*/
protected $_soapClient;
-
+
/**
* WSDL of LiveDocx web service
* @var string
* @since LiveDocx 1.0
*/
protected $_wsdl;
-
+
/**
* Array of credentials (username and password) to log into backend server
* @var array
* @since LiveDocx 1.2
*/
protected $_credentials;
-
+
/**
* Set to true, when session is logged into backend server
* @var boolean
* @since LiveDocx 1.2
*/
protected $_loggedIn;
-
+
/**
* Constructor
*
* Optionally, pass an array of options (or Zend_Config object).
- *
- * If an option with the key 'soapClient' is provided, that value will be
+ *
+ * If an option with the key 'soapClient' is provided, that value will be
* used to set the internal SOAP client used to connect to the LiveDocx
* service.
- *
+ *
* Use 'soapClient' in the case that you have a dedicated or (locally
* installed) licensed LiveDocx server. For example:
*
@@ -85,7 +85,7 @@
* )
* );
* {code}
- *
+ *
* Replace the URI of the WSDL in the constructor of Zend_Soap_Client with
* that of your dedicated or licensed LiveDocx server.
*
@@ -100,54 +100,54 @@
* )
* );
* {code}
- *
+ *
* If you prefer to not pass the username and password through the
* constructor, you can also call the following methods:
- *
+ *
* {code}
* $phpLiveDocx = new Zend_Service_LiveDocx_MailMerge();
- *
+ *
* $phpLiveDocx->setUsername('myUsername')
* ->setPassword('myPassword');
* {/code}
- *
+ *
* Or, if you want to specify your own SoapClient:
- *
+ *
* {code}
* $phpLiveDocx = new Zend_Service_LiveDocx_MailMerge();
- *
+ *
* $phpLiveDocx->setUsername('myUsername')
* ->setPassword('myPassword');
- *
+ *
* $phpLiveDocx->setSoapClient(
* new Zend_Soap_Client('https://api.example.com/path/mailmerge.asmx?WSDL')
* );
- * {/code}
+ * {/code}
*
* @param array|Zend_Config $options
* @return void
* @throws Zend_Service_LiveDocx_Exception
* @since LiveDocx 1.0
- */
+ */
public function __construct($options = null)
{
$this->_credentials = array();
$this->_loggedIn = false;
-
+
if ($options instanceof Zend_Config) {
$options = $options->toArray();
}
-
+
if (is_array($options)) {
$this->setOptions($options);
}
}
-
+
/**
* Set options
* One or more of username, password, soapClient
- *
- * @param $options
+ *
+ * @param array $options
* @return Zend_Service_LiveDocx
* @since LiveDocx 1.2
*/
@@ -159,10 +159,10 @@
$this->$method($value);
}
}
-
+
return $this;
}
-
+
/**
* Clean up and log out of LiveDocx service
*
@@ -173,7 +173,7 @@
{
return $this->logOut();
}
-
+
/**
* Init Soap client - connect to SOAP service
*
@@ -187,13 +187,13 @@
try {
require_once 'Zend/Soap/Client.php';
$this->_soapClient = new Zend_Soap_Client();
- $this->_soapClient->setWsdl($endpoint);
+ $this->_soapClient->setWsdl($endpoint);
} catch (Zend_Soap_Client_Exception $e) {
require_once 'Zend/Service/LiveDocx/Exception.php';
throw new Zend_Service_LiveDocx_Exception('Cannot connect to LiveDocx service at ' . $endpoint, 0, $e);
- }
+ }
}
-
+
/**
* Get SOAP client
*
@@ -204,7 +204,7 @@
{
return $this->_soapClient;
}
-
+
/**
* Set SOAP client
*
@@ -237,18 +237,18 @@
'Username has not been set. To set username specify the options array in the constructor or call setUsername($username) after instantiation'
);
}
-
+
if (null === $this->getPassword()) {
require_once 'Zend/Service/LiveDocx/Exception.php';
throw new Zend_Service_LiveDocx_Exception(
'Password has not been set. To set password specify the options array in the constructor or call setPassword($password) after instantiation'
);
}
-
+
if (null === $this->getSoapClient()) {
$this->_initSoapClient($this->_wsdl);
- }
-
+ }
+
try {
$this->getSoapClient()->LogIn(array(
'username' => $this->getUsername(),
@@ -260,9 +260,9 @@
throw new Zend_Service_LiveDocx_Exception(
'Cannot login into LiveDocx service - username and/or password are invalid', 0, $e
);
- }
+ }
}
-
+
return $this->_loggedIn;
}
@@ -284,15 +284,15 @@
throw new Zend_Service_LiveDocx_Exception(
'Cannot log out of LiveDocx service', 0, $e
);
- }
+ }
}
-
+
return $this->_loggedIn;
}
-
+
/**
* Return true, if session is currently logged into the backend server
- *
+ *
* @return boolean
* @since LiveDocx 1.2
*/
@@ -300,10 +300,10 @@
{
return $this->_loggedIn;
}
-
+
/**
* Set username
- *
+ *
* @return Zend_Service_LiveDocx
* @since LiveDocx 1.0
*/
@@ -312,13 +312,13 @@
$this->_credentials['username'] = $username;
return $this;
}
-
+
/**
* Set password
- *
+ *
* @return Zend_Service_LiveDocx
* @since LiveDocx 1.0
- */
+ */
public function setPassword($password)
{
$this->_credentials['password'] = $password;
@@ -327,19 +327,19 @@
/**
* Set WSDL of LiveDocx web service
- *
+ *
* @return Zend_Service_LiveDocx
* @since LiveDocx 1.0
- */
- public function setWsdl($wsdl)
+ */
+ public function setWsdl($wsdl)
{
$this->_wsdl = $wsdl;
return $this;
}
-
+
/**
* Return current username
- *
+ *
* @return string|null
* @since LiveDocx 1.0
*/
@@ -348,35 +348,35 @@
if (isset($this->_credentials['username'])) {
return $this->_credentials['username'];
}
-
+
return null;
}
-
+
/**
* Return current password
- *
+ *
* @return string|null
* @since LiveDocx 1.0
- */
+ */
public function getPassword()
{
if (isset($this->_credentials['password'])) {
return $this->_credentials['password'];
}
-
- return null;
+
+ return null;
}
-
+
/**
* Return WSDL of LiveDocx web service
- *
+ *
* @return Zend_Service_LiveDocx
* @since LiveDocx 1.0
- */
- public function getWsdl()
+ */
+ public function getWsdl()
{
return $this->_wsdl;
- }
+ }
/**
* Return the document format (extension) of a filename
@@ -389,7 +389,7 @@
{
return strtolower(substr(strrchr($filename, '.'), 1));
}
-
+
/**
* Return the current API version
*
@@ -400,7 +400,7 @@
{
return self::VERSION;
}
-
+
/**
* Compare the current API version with another version
*
@@ -412,4 +412,4 @@
{
return version_compare($version, $this->getVersion());
}
-}
\ No newline at end of file
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/LiveDocx/Exception.php
--- a/web/lib/Zend/Service/LiveDocx/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/LiveDocx/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Service
* @subpackage LiveDocx
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20785 2010-01-31 09:43:03Z mikaelkael $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -30,7 +30,7 @@
* @category Zend
* @package Zend_Service
* @subpackage LiveDocx
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @since LiveDocx 1.0
*/
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/LiveDocx/MailMerge.php
--- a/web/lib/Zend/Service/LiveDocx/MailMerge.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/LiveDocx/MailMerge.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage LiveDocx
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: MailMerge.php 23022 2010-10-05 15:30:55Z jonathan_maron $
+ * @version $Id: MailMerge.php 24593 2012-01-05 20:35:02Z matthew $
*/
/** Zend_Date **/
@@ -30,15 +30,15 @@
* @category Zend
* @package Zend_Service
* @subpackage LiveDocx
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @since LiveDocx 1.0
+ * @since LiveDocx 1.0
*/
class Zend_Service_LiveDocx_MailMerge extends Zend_Service_LiveDocx
{
/**
* URI of LiveDocx.MailMerge WSDL
- * @since LiveDocx 1.0
+ * @since LiveDocx 1.0
*/
//const WSDL = 'https://api.livedocx.com/1.2/mailmerge.asmx?WSDL';
const WSDL = 'https://api.livedocx.com/2.0/mailmerge.asmx?WSDL';
@@ -71,7 +71,7 @@
$this->_wsdl = self::WSDL;
$this->_fieldValues = array();
$this->_blockFieldValues = array();
-
+
parent::__construct($options);
}
@@ -93,7 +93,7 @@
}
$this->logIn();
-
+
try {
$this->getSoapClient()->SetLocalTemplate(array(
'template' => base64_encode(file_get_contents($filename)),
@@ -121,7 +121,7 @@
public function setRemoteTemplate($filename)
{
$this->logIn();
-
+
try {
$this->getSoapClient()->SetRemoteTemplate(array(
'filename' => $filename,
@@ -147,7 +147,7 @@
public function setFieldValues($values)
{
$this->logIn();
-
+
foreach ($values as $value) {
if (is_array($value)) {
$method = 'multiAssocArrayToArrayOfArrayOfString';
@@ -156,7 +156,7 @@
}
break;
}
-
+
try {
$this->getSoapClient()->SetFieldValues(array(
'fieldValues' => self::$method($values),
@@ -184,7 +184,7 @@
public function setFieldValue($field, $value)
{
$this->_fieldValues[$field] = $value;
-
+
return $this;
}
@@ -201,7 +201,7 @@
public function setBlockFieldValues($blockName, $blockFieldValues)
{
$this->logIn();
-
+
try {
$this->getSoapClient()->SetBlockFieldValues(array(
'blockName' => $blockName,
@@ -250,9 +250,9 @@
/**
* Set a password to open to document
- *
+ *
* This method can only be used for PDF documents
- *
+ *
* @param string $password
* @return Zend_Service_LiveDocx_MailMerge
* @throws Zend_Service_LiveDocx_Exception
@@ -261,7 +261,7 @@
public function setDocumentPassword($password)
{
$this->logIn();
-
+
try {
$this->getSoapClient()->SetDocumentPassword(array(
'password' => $password
@@ -272,18 +272,18 @@
'Cannot set document password. This method can be used on PDF files only.', 0, $e
);
}
-
- return $this;
+
+ return $this;
}
-
+
/**
* Set a master password for document and determine which security features
* are accessible without using the master password.
- *
+ *
* As default, nothing is allowed. To allow a security setting,
* explicatively set it using one of he DOCUMENT_ACCESS_PERMISSION_* class
- * constants.
- *
+ * constants.
+ *
* {code}
* $phpLiveDocx->setDocumentAccessPermissions(
* array (
@@ -293,10 +293,10 @@
* 'myDocumentAccessPassword'
* );
* {code}
- *
+ *
* This method can only be used for PDF documents
- *
- * @param array $permissions
+ *
+ * @param array $permissions
* @param string $password
* @return Zend_Service_LiveDocx_MailMerge
* @throws Zend_Service_LiveDocx_Exception
@@ -305,7 +305,7 @@
public function setDocumentAccessPermissions($permissions, $password)
{
$this->logIn();
-
+
try {
$this->getSoapClient()->SetDocumentAccessPermissions(array(
'permissions' => $permissions,
@@ -317,10 +317,10 @@
'Cannot set document access permissions', 0, $e
);
}
-
- return $this;
- }
-
+
+ return $this;
+ }
+
/**
* Merge assigned data with template to generate document
*
@@ -331,7 +331,7 @@
public function createDocument()
{
$this->logIn();
-
+
if (count($this->_fieldValues) > 0) {
$this->setFieldValues($this->_fieldValues);
}
@@ -361,9 +361,9 @@
public function retrieveDocument($format)
{
$this->logIn();
-
+
$format = strtolower($format);
-
+
try {
$result = $this->getSoapClient()->RetrieveDocument(array(
'format' => $format,
@@ -390,7 +390,7 @@
public function getMetafiles($fromPage, $toPage)
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetMetafiles(array(
'fromPage' => (integer) $fromPage,
@@ -422,7 +422,7 @@
public function getAllMetafiles()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetAllMetafiles();
@@ -439,8 +439,8 @@
}
return $ret;
- }
-
+ }
+
/**
* Return graphical bitmap data for specified page range of created document
* Return array contains bitmap data (binary) - array key is page number
@@ -451,13 +451,13 @@
* @param string $format
* @return array
* @since LiveDocx 1.2
- */
+ */
public function getBitmaps($fromPage, $toPage, $zoomFactor, $format)
{
$this->logIn();
-
+
$ret = array();
-
+
$result = $this->getSoapClient()->GetBitmaps(array(
'fromPage' => (integer) $fromPage,
'toPage' => (integer) $toPage,
@@ -477,9 +477,9 @@
}
}
- return $ret;
+ return $ret;
}
-
+
/**
* Return graphical bitmap data for all pages of created document
* Return array contains bitmap data (binary) - array key is page number
@@ -488,11 +488,11 @@
* @param string $format
* @return array
* @since LiveDocx 1.2
- */
+ */
public function getAllBitmaps($zoomFactor, $format)
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetAllBitmaps(array(
'zoomFactor' => (integer) $zoomFactor,
@@ -511,8 +511,8 @@
}
}
- return $ret;
- }
+ return $ret;
+ }
/**
* Return all the fields in the template
@@ -523,7 +523,7 @@
public function getFieldNames()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetFieldNames();
@@ -548,7 +548,7 @@
public function getBlockFieldNames($blockName)
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetBlockFieldNames(array(
'blockName' => $blockName
@@ -574,7 +574,7 @@
public function getBlockNames()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetBlockNames();
@@ -600,7 +600,7 @@
public function uploadTemplate($filename)
{
$this->logIn();
-
+
try {
$this->getSoapClient()->UploadTemplate(array(
'template' => base64_encode(file_get_contents($filename)),
@@ -625,7 +625,7 @@
public function downloadTemplate($filename)
{
$this->logIn();
-
+
try {
$result = $this->getSoapClient()->DownloadTemplate(array(
'filename' => basename($filename),
@@ -651,7 +651,7 @@
public function deleteTemplate($filename)
{
$this->logIn();
-
+
$this->getSoapClient()->DeleteTemplate(array(
'filename' => basename($filename),
));
@@ -661,12 +661,12 @@
* List all templates stored on LiveDocx service
*
* @return array
- * @since LiveDocx 1.0
+ * @since LiveDocx 1.0
*/
public function listTemplates()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->ListTemplates();
@@ -687,7 +687,7 @@
public function templateExists($filename)
{
$this->logIn();
-
+
$result = $this->getSoapClient()->TemplateExists(array(
'filename' => basename($filename),
));
@@ -704,7 +704,7 @@
public function shareDocument()
{
$this->logIn();
-
+
$ret = null;
$result = $this->getSoapClient()->ShareDocument();
@@ -724,7 +724,7 @@
public function listSharedDocuments()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->ListSharedDocuments();
@@ -747,7 +747,7 @@
public function deleteSharedDocument($filename)
{
$this->logIn();
-
+
$this->getSoapClient()->DeleteSharedDocument(array(
'filename' => basename($filename),
));
@@ -764,7 +764,7 @@
public function downloadSharedDocument($filename)
{
$this->logIn();
-
+
try {
$result = $this->getSoapClient()->DownloadSharedDocument(array(
'filename' => basename($filename),
@@ -789,11 +789,11 @@
public function sharedDocumentExists($filename)
{
$this->logIn();
-
+
$ret = false;
$sharedDocuments = $this->listSharedDocuments();
foreach ($sharedDocuments as $shareDocument) {
- if (isset($shareDocument['filename'])
+ if (isset($shareDocument['filename'])
&& (basename($filename) === $shareDocument['filename'])
) {
$ret = true;
@@ -813,7 +813,7 @@
public function getTemplateFormats()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetTemplateFormats();
@@ -834,7 +834,7 @@
public function getDocumentFormats()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetDocumentFormats();
@@ -845,7 +845,7 @@
return $ret;
}
-
+
/**
* Return the names of all fonts that are installed on backend server
*
@@ -855,7 +855,7 @@
public function getFontNames()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetFontNames();
@@ -864,8 +864,8 @@
}
return $ret;
- }
-
+ }
+
/**
* Return supported document access options
*
@@ -875,7 +875,7 @@
public function getDocumentAccessOptions()
{
$this->logIn();
-
+
$ret = array();
$result = $this->getSoapClient()->GetDocumentAccessOptions();
@@ -947,7 +947,7 @@
trigger_error($errorMessage, E_USER_NOTICE);
*/
-
+
return $this->$replacement();
}
@@ -1062,12 +1062,12 @@
*
* @param array $list
* @return array
- * @since LiveDocx 1.0
+ * @since LiveDocx 1.0
*/
protected function _backendListArrayToMultiAssocArray($list)
{
$this->logIn();
-
+
$ret = array();
if (isset($list->ArrayOfString)) {
foreach ($list->ArrayOfString as $a) {
@@ -1108,7 +1108,7 @@
{
$arrayKeys = array_keys($assoc);
$arrayValues = array_values($assoc);
-
+
return array($arrayKeys, $arrayValues);
}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Nirvanix.php
--- a/web/lib/Zend/Service/Nirvanix.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Nirvanix.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Nirvanix.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Nirvanix.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Nirvanix
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Nirvanix/Exception.php
--- a/web/lib/Zend/Service/Nirvanix/Exception.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Nirvanix/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -29,7 +29,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Nirvanix_Exception extends Zend_Service_Exception
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Nirvanix/Namespace/Base.php
--- a/web/lib/Zend/Service/Nirvanix/Namespace/Base.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Nirvanix/Namespace/Base.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Base.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Base.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -38,7 +38,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Nirvanix_Namespace_Base
@@ -76,7 +76,7 @@
/**
* Class constructor.
*
- * @param $options array Options and dependency injection
+ * @param array $options Options and dependency injection
*/
public function __construct($options = array())
{
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Nirvanix/Namespace/Imfs.php
--- a/web/lib/Zend/Service/Nirvanix/Namespace/Imfs.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Nirvanix/Namespace/Imfs.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Imfs.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Imfs.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -31,7 +31,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Nirvanix_Namespace_Imfs extends Zend_Service_Nirvanix_Namespace_Base
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Nirvanix/Response.php
--- a/web/lib/Zend/Service/Nirvanix/Response.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/Nirvanix/Response.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Response.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Response.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Nirvanix
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Nirvanix_Response
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Abstract.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Abstract.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,387 @@
+setUser($user);
+ $this->setKey($key);
+ $this->setAuthUrl($authUrl);
+ }
+ /**
+ * Get User account
+ *
+ * @return string
+ */
+ public function getUser()
+ {
+ return $this->user;
+ }
+ /**
+ * Get user key
+ *
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->key;
+ }
+ /**
+ * Get authentication URL
+ *
+ * @return string
+ */
+ public function getAuthUrl()
+ {
+ return $this->authUrl;
+ }
+ /**
+ * Get the storage URL
+ *
+ * @return string|boolean
+ */
+ public function getStorageUrl()
+ {
+ if (empty($this->storageUrl)) {
+ if (!$this->authenticate()) {
+ return false;
+ }
+ }
+ return $this->storageUrl;
+ }
+ /**
+ * Get the CDN URL
+ *
+ * @return string|boolean
+ */
+ public function getCdnUrl()
+ {
+ if (empty($this->cdnUrl)) {
+ if (!$this->authenticate()) {
+ return false;
+ }
+ }
+ return $this->cdnUrl;
+ }
+ /**
+ * Get the management server URL
+ *
+ * @return string|boolean
+ */
+ public function getManagementUrl()
+ {
+ if (empty($this->managementUrl)) {
+ if (!$this->authenticate()) {
+ return false;
+ }
+ }
+ return $this->managementUrl;
+ }
+ /**
+ * Set the user account
+ *
+ * @param string $user
+ * @return void
+ */
+ public function setUser($user)
+ {
+ if (!empty($user)) {
+ $this->user = $user;
+ }
+ }
+ /**
+ * Set the authentication key
+ *
+ * @param string $key
+ * @return void
+ */
+ public function setKey($key)
+ {
+ if (!empty($key)) {
+ $this->key = $key;
+ }
+ }
+ /**
+ * Set the Authentication URL
+ *
+ * @param string $url
+ * @return void
+ */
+ public function setAuthUrl($url)
+ {
+ if (!empty($url) && in_array($url, array(self::US_AUTH_URL, self::UK_AUTH_URL))) {
+ $this->authUrl = $url;
+ } else {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception("The authentication URL is not valid");
+ }
+ }
+
+ /**
+ * Sets whether to use ServiceNet
+ *
+ * ServiceNet is Rackspace's internal network. Bandwidth on ServiceNet is
+ * not charged.
+ *
+ * @param boolean $useServiceNet
+ */
+ public function setServiceNet($useServiceNet = true)
+ {
+ $this->useServiceNet = $useServiceNet;
+ return $this;
+ }
+
+ /**
+ * Get whether we're using ServiceNet
+ *
+ * @return boolean
+ */
+ public function getServiceNet()
+ {
+ return $this->useServiceNet;
+ }
+
+ /**
+ * Get the authentication token
+ *
+ * @return string
+ */
+ public function getToken()
+ {
+ if (empty($this->token)) {
+ if (!$this->authenticate()) {
+ return false;
+ }
+ }
+ return $this->token;
+ }
+ /**
+ * Get the error msg of the last HTTP call
+ *
+ * @return string
+ */
+ public function getErrorMsg()
+ {
+ return $this->errorMsg;
+ }
+ /**
+ * Get the error code of the last HTTP call
+ *
+ * @return strig
+ */
+ public function getErrorCode()
+ {
+ return $this->errorCode;
+ }
+ /**
+ * get the HttpClient instance
+ *
+ * @return Zend_Http_Client
+ */
+ public function getHttpClient()
+ {
+ if (empty($this->httpClient)) {
+ $this->httpClient = new Zend_Http_Client();
+ }
+ return $this->httpClient;
+ }
+ /**
+ * Return true is the last call was successful
+ *
+ * @return boolean
+ */
+ public function isSuccessful()
+ {
+ return ($this->errorMsg=='');
+ }
+ /**
+ * HTTP call
+ *
+ * @param string $url
+ * @param string $method
+ * @param array $headers
+ * @param array $get
+ * @param string $body
+ * @return Zend_Http_Response
+ */
+ protected function httpCall($url,$method,$headers=array(),$data=array(),$body=null)
+ {
+ $client = $this->getHttpClient();
+ $client->resetParameters(true);
+ if (empty($headers[self::AUTHUSER_HEADER])) {
+ $headers[self::AUTHTOKEN]= $this->getToken();
+ }
+ $client->setMethod($method);
+ if (empty($data['format'])) {
+ $data['format']= self::API_FORMAT;
+ }
+ $client->setParameterGet($data);
+ if (!empty($body)) {
+ $client->setRawData($body);
+ if (!isset($headers['Content-Type'])) {
+ $headers['Content-Type']= 'application/json';
+ }
+ }
+ $client->setHeaders($headers);
+ $client->setUri($url);
+ $this->errorMsg='';
+ $this->errorCode='';
+ return $client->request();
+ }
+ /**
+ * Authentication
+ *
+ * @return boolean
+ */
+ public function authenticate()
+ {
+ if (empty($this->user)) {
+ /**
+ * @see Zend_Service_Rackspace_Exception
+ */
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception("User has not been set");
+ }
+
+ $headers = array (
+ self::AUTHUSER_HEADER => $this->user,
+ self::AUTHKEY_HEADER => $this->key
+ );
+ $result = $this->httpCall($this->authUrl.'/'.self::VERSION,'GET', $headers);
+ if ($result->getStatus()==204) {
+ $this->token = $result->getHeader(self::AUTHTOKEN);
+ $this->cdnUrl = $result->getHeader(self::CDNM_URL);
+ $this->managementUrl = $result->getHeader(self::MANAGEMENT_URL);
+ $storageUrl = $result->getHeader(self::STORAGE_URL);
+ if ($this->useServiceNet) {
+ $storageUrl = preg_replace('|(.*)://([^/]*)(.*)|', '$1://snet-$2$3', $storageUrl);
+ }
+ $this->storageUrl = $storageUrl;
+ return true;
+ }
+ $this->errorMsg = $result->getBody();
+ $this->errorCode = $result->getStatus();
+ return false;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,36 @@
+getInfoAccount();
+ return $data['tot_containers'];
+ }
+ /**
+ * Return the size in bytes of all the containers
+ *
+ * @return integer
+ */
+ public function getSizeContainers()
+ {
+ $data= $this->getInfoAccount();
+ return $data['size_containers'];
+ }
+ /**
+ * Return the count of objects contained in all the containers
+ *
+ * @return integer
+ */
+ public function getCountObjects()
+ {
+ $data= $this->getInfoAccount();
+ return $data['tot_objects'];
+ }
+ /**
+ * Get all the containers
+ *
+ * @param array $options
+ * @return Zend_Service_Rackspace_Files_ContainerList|boolean
+ */
+ public function getContainers($options=array())
+ {
+ $result= $this->httpCall($this->getStorageUrl(),'GET',null,$options);
+ if ($result->isSuccessful()) {
+ return new Zend_Service_Rackspace_Files_ContainerList($this,json_decode($result->getBody(),true));
+ }
+ return false;
+ }
+ /**
+ * Get all the CDN containers
+ *
+ * @param array $options
+ * @return array|boolean
+ */
+ public function getCdnContainers($options=array())
+ {
+ $options['enabled_only']= true;
+ $result= $this->httpCall($this->getCdnUrl(),'GET',null,$options);
+ if ($result->isSuccessful()) {
+ return new Zend_Service_Rackspace_Files_ContainerList($this,json_decode($result->getBody(),true));
+ }
+ return false;
+ }
+ /**
+ * Get the metadata information of the accounts:
+ * - total count containers
+ * - size in bytes of all the containers
+ * - total objects in all the containers
+ *
+ * @return array|boolean
+ */
+ public function getInfoAccount()
+ {
+ $result= $this->httpCall($this->getStorageUrl(),'HEAD');
+ if ($result->isSuccessful()) {
+ $output= array(
+ 'tot_containers' => $result->getHeader(self::ACCOUNT_CONTAINER_COUNT),
+ 'size_containers' => $result->getHeader(self::ACCOUNT_BYTES_USED),
+ 'tot_objects' => $result->getHeader(self::ACCOUNT_OBJ_COUNT)
+ );
+ return $output;
+ }
+ return false;
+ }
+ /**
+ * Get all the objects of a container
+ *
+ * @param string $container
+ * @param array $options
+ * @return Zend_Service_Rackspace_Files_ObjectList|boolean
+ */
+ public function getObjects($container,$options=array())
+ {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container),'GET',null,$options);
+ if ($result->isSuccessful()) {
+ return new Zend_Service_Rackspace_Files_ObjectList($this,json_decode($result->getBody(),true),$container);
+ }
+ return false;
+ }
+ /**
+ * Create a container
+ *
+ * @param string $container
+ * @param array $metadata
+ * @return Zend_Service_Rackspace_Files_Container|boolean
+ */
+ public function createContainer($container,$metadata=array())
+ {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ $headers=array();
+ if (!empty($metadata)) {
+ foreach ($metadata as $key => $value) {
+ $headers[self::METADATA_CONTAINER_HEADER.rawurlencode(strtolower($key))]= rawurlencode($value);
+ }
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container),'PUT',$headers);
+ $status= $result->getStatus();
+ switch ($status) {
+ case '201': // break intentionally omitted
+ $data= array(
+ 'name' => $container
+ );
+ return new Zend_Service_Rackspace_Files_Container($this,$data);
+ case '202':
+ $this->errorMsg= self::ERROR_CONTAINER_EXIST;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Delete a container (only if it's empty)
+ *
+ * @param sting $container
+ * @return boolean
+ */
+ public function deleteContainer($container)
+ {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container),'DELETE');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '204': // break intentionally omitted
+ return true;
+ case '409':
+ $this->errorMsg= self::ERROR_CONTAINER_NOT_EMPTY;
+ break;
+ case '404':
+ $this->errorMsg= self::ERROR_CONTAINER_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the metadata of a container
+ *
+ * @param string $container
+ * @return array|boolean
+ */
+ public function getMetadataContainer($container)
+ {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container),'HEAD');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '204': // break intentionally omitted
+ $headers= $result->getHeaders();
+ $count= strlen(self::METADATA_CONTAINER_HEADER);
+ // Zend_Http_Response alters header name in array key, so match our header to what will be in the headers array
+ $headerName = ucwords(strtolower(self::METADATA_CONTAINER_HEADER));
+ $metadata= array();
+ foreach ($headers as $type => $value) {
+ if (strpos($type,$headerName)!==false) {
+ $metadata[strtolower(substr($type, $count))]= $value;
+ }
+ }
+ $data= array (
+ 'name' => $container,
+ 'count' => $result->getHeader(self::CONTAINER_OBJ_COUNT),
+ 'bytes' => $result->getHeader(self::CONTAINER_BYTES_USE),
+ 'metadata' => $metadata
+ );
+ return $data;
+ case '404':
+ $this->errorMsg= self::ERROR_CONTAINER_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get a container
+ *
+ * @param string $container
+ * @return Container|boolean
+ */
+ public function getContainer($container) {
+ $result= $this->getMetadataContainer($container);
+ if (!empty($result)) {
+ return new Zend_Service_Rackspace_Files_Container($this,$result);
+ }
+ return false;
+ }
+ /**
+ * Get an object in a container
+ *
+ * @param string $container
+ * @param string $object
+ * @param array $headers
+ * @return Zend_Service_Rackspace_Files_Object|boolean
+ */
+ public function getObject($container,$object,$headers=array())
+ {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ if (empty($object)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_OBJECT);
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container).'/'.rawurlencode($object),'GET',$headers);
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200': // break intentionally omitted
+ $data= array(
+ 'name' => $object,
+ 'container' => $container,
+ 'hash' => $result->getHeader(self::HEADER_HASH),
+ 'bytes' => $result->getHeader(self::HEADER_CONTENT_LENGTH),
+ 'last_modified' => $result->getHeader(self::HEADER_LAST_MODIFIED),
+ 'content_type' => $result->getHeader(self::HEADER_CONTENT_TYPE),
+ 'content' => $result->getBody()
+ );
+ return new Zend_Service_Rackspace_Files_Object($this,$data);
+ case '404':
+ $this->errorMsg= self::ERROR_OBJECT_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Store a file in a container
+ *
+ * @param string $container
+ * @param string $object
+ * @param string $content
+ * @param array $metadata
+ * @param string $content_type
+ *
+ * @return boolean
+ */
+ public function storeObject($container,$object,$content,$metadata=array(),$content_type=null) {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ if (empty($object)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_OBJECT);
+ }
+ if (empty($content)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_CONTENT);
+ }
+ if (!empty($content_type)) {
+ $headers[self::HEADER_CONTENT_TYPE]= $content_type;
+ }
+ if (!empty($metadata) && is_array($metadata)) {
+ foreach ($metadata as $key => $value) {
+ $headers[self::METADATA_OBJECT_HEADER.$key]= $value;
+ }
+ }
+ $headers[self::HEADER_HASH]= md5($content);
+ $headers[self::HEADER_CONTENT_LENGTH]= strlen($content);
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container).'/'.rawurlencode($object),'PUT',$headers,null,$content);
+ $status= $result->getStatus();
+ switch ($status) {
+ case '201': // break intentionally omitted
+ return true;
+ case '412':
+ $this->errorMsg= self::ERROR_OBJECT_MISSING_PARAM;
+ break;
+ case '422':
+ $this->errorMsg= self::ERROR_OBJECT_CHECKSUM;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Delete an object in a container
+ *
+ * @param string $container
+ * @param string $object
+ * @return boolean
+ */
+ public function deleteObject($container,$object) {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ if (empty($object)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_OBJECT);
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container).'/'.rawurlencode($object),'DELETE');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '204': // break intentionally omitted
+ return true;
+ case '404':
+ $this->errorMsg= self::ERROR_OBJECT_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Copy an object from a container to another
+ *
+ * @param string $container_source
+ * @param string $obj_source
+ * @param string $container_dest
+ * @param string $obj_dest
+ * @param array $metadata
+ * @param string $content_type
+ * @return boolean
+ */
+ public function copyObject($container_source,$obj_source,$container_dest,$obj_dest,$metadata=array(),$content_type=null) {
+ if (empty($container_source)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_SOURCE_CONTAINER);
+ }
+ if (empty($obj_source)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_SOURCE_OBJECT);
+ }
+ if (empty($container_dest)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_DEST_CONTAINER);
+ }
+ if (empty($obj_dest)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_DEST_OBJECT);
+ }
+ $headers= array(
+ self::HEADER_COPY_FROM => '/'.rawurlencode($container_source).'/'.rawurlencode($obj_source),
+ self::HEADER_CONTENT_LENGTH => 0
+ );
+ if (!empty($content_type)) {
+ $headers[self::HEADER_CONTENT_TYPE]= $content_type;
+ }
+ if (!empty($metadata) && is_array($metadata)) {
+ foreach ($metadata as $key => $value) {
+ $headers[self::METADATA_OBJECT_HEADER.$key]= $value;
+ }
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container_dest).'/'.rawurlencode($obj_dest),'PUT',$headers);
+ $status= $result->getStatus();
+ switch ($status) {
+ case '201': // break intentionally omitted
+ return true;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the metadata of an object
+ *
+ * @param string $container
+ * @param string $object
+ * @return array|boolean
+ */
+ public function getMetadataObject($container,$object) {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ if (empty($object)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_OBJECT);
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container).'/'.rawurlencode($object),'HEAD');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200': // break intentionally omitted
+ $headers= $result->getHeaders();
+ $count= strlen(self::METADATA_OBJECT_HEADER);
+ // Zend_Http_Response alters header name in array key, so match our header to what will be in the headers array
+ $headerName = ucwords(strtolower(self::METADATA_OBJECT_HEADER));
+ $metadata= array();
+ foreach ($headers as $type => $value) {
+ if (strpos($type,$headerName)!==false) {
+ $metadata[strtolower(substr($type, $count))]= $value;
+ }
+ }
+ $data= array (
+ 'name' => $object,
+ 'container' => $container,
+ 'hash' => $result->getHeader(self::HEADER_HASH),
+ 'bytes' => $result->getHeader(self::HEADER_CONTENT_LENGTH),
+ 'content_type' => $result->getHeader(self::HEADER_CONTENT_TYPE),
+ 'last_modified' => $result->getHeader(self::HEADER_LAST_MODIFIED),
+ 'metadata' => $metadata
+ );
+ return $data;
+ case '404':
+ $this->errorMsg= self::ERROR_OBJECT_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Set the metadata of a object in a container
+ * The old metadata values are replaced with the new one
+ *
+ * @param string $container
+ * @param string $object
+ * @param array $metadata
+ * @return boolean
+ */
+ public function setMetadataObject($container,$object,$metadata)
+ {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ if (empty($object)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_OBJECT);
+ }
+ if (empty($metadata) || !is_array($metadata)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_OBJECT);
+ }
+ $headers=array();
+ foreach ($metadata as $key => $value) {
+ $headers[self::METADATA_OBJECT_HEADER.$key]= $value;
+ }
+ $result= $this->httpCall($this->getStorageUrl().'/'.rawurlencode($container).'/'.rawurlencode($object),'POST',$headers);
+ $status= $result->getStatus();
+ switch ($status) {
+ case '202': // break intentionally omitted
+ return true;
+ case '404':
+ $this->errorMsg= self::ERROR_OBJECT_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Enable the CDN for a container
+ *
+ * @param string $container
+ * @param integer $ttl
+ * @return array|boolean
+ */
+ public function enableCdnContainer ($container,$ttl=self::CDN_TTL_MIN) {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ $headers=array();
+ if (is_numeric($ttl) && ($ttl>=self::CDN_TTL_MIN) && ($ttl<=self::CDN_TTL_MAX)) {
+ $headers[self::CDN_TTL]= $ttl;
+ } else {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_CDN_TTL_OUT_OF_RANGE);
+ }
+ $result= $this->httpCall($this->getCdnUrl().'/'.rawurlencode($container),'PUT',$headers);
+ $status= $result->getStatus();
+ switch ($status) {
+ case '201':
+ case '202': // break intentionally omitted
+ $data= array (
+ 'cdn_uri' => $result->getHeader(self::CDN_URI),
+ 'cdn_uri_ssl' => $result->getHeader(self::CDN_SSL_URI)
+ );
+ return $data;
+ case '404':
+ $this->errorMsg= self::ERROR_CONTAINER_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Update the attribute of a CDN container
+ *
+ * @param string $container
+ * @param integer $ttl
+ * @param boolean $cdn_enabled
+ * @param boolean $log
+ * @return boolean
+ */
+ public function updateCdnContainer($container,$ttl=null,$cdn_enabled=null,$log=null)
+ {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ if (empty($ttl) && (!isset($cdn_enabled)) && (!isset($log))) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_UPDATE_CDN);
+ }
+ $headers=array();
+ if (isset($ttl)) {
+ if (is_numeric($ttl) && ($ttl>=self::CDN_TTL_MIN) && ($ttl<=self::CDN_TTL_MAX)) {
+ $headers[self::CDN_TTL]= $ttl;
+ } else {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_CDN_TTL_OUT_OF_RANGE);
+ }
+ }
+ if (isset($cdn_enabled)) {
+ if ($cdn_enabled===true) {
+ $headers[self::CDN_ENABLED]= 'true';
+ } else {
+ $headers[self::CDN_ENABLED]= 'false';
+ }
+ }
+ if (isset($log)) {
+ if ($log===true) {
+ $headers[self::CDN_LOG_RETENTION]= 'true';
+ } else {
+ $headers[self::CDN_LOG_RETENTION]= 'false';
+ }
+ }
+ $result= $this->httpCall($this->getCdnUrl().'/'.rawurlencode($container),'POST',$headers);
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200':
+ case '202': // break intentionally omitted
+ return true;
+ case '404':
+ $this->errorMsg= self::ERROR_CONTAINER_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the information of a Cdn container
+ *
+ * @param string $container
+ * @return array|boolean
+ */
+ public function getInfoCdnContainer($container) {
+ if (empty($container)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME_CONTAINER);
+ }
+ $result= $this->httpCall($this->getCdnUrl().'/'.rawurlencode($container),'HEAD');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '204': // break intentionally omitted
+ $data= array (
+ 'ttl' => $result->getHeader(self::CDN_TTL),
+ 'cdn_uri' => $result->getHeader(self::CDN_URI),
+ 'cdn_uri_ssl' => $result->getHeader(self::CDN_SSL_URI)
+ );
+ $data['cdn_enabled']= (strtolower($result->getHeader(self::CDN_ENABLED))!=='false');
+ $data['log_retention']= (strtolower($result->getHeader(self::CDN_LOG_RETENTION))!=='false');
+ return $data;
+ case '404':
+ $this->errorMsg= self::ERROR_CONTAINER_NOT_FOUND;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Files/Container.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Files/Container.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,329 @@
+service = $service;
+ $this->name = $data['name'];
+ }
+ /**
+ * Get the name of the container
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+ /**
+ * Get the size in bytes of the container
+ *
+ * @return integer|boolean
+ */
+ public function getSize()
+ {
+ $data = $this->getInfo();
+ if (isset($data['bytes'])) {
+ return $data['bytes'];
+ }
+ return false;
+ }
+ /**
+ * Get the total count of objects in the container
+ *
+ * @return integer|boolean
+ */
+ public function getObjectCount()
+ {
+ $data = $this->getInfo();
+ if (isset($data['count'])) {
+ return $data['count'];
+ }
+ return false;
+ }
+ /**
+ * Return true if the container is CDN enabled
+ *
+ * @return boolean
+ */
+ public function isCdnEnabled()
+ {
+ $data = $this->getCdnInfo();
+ if (isset($data['cdn_enabled'])) {
+ return $data['cdn_enabled'];
+ }
+ return false;
+ }
+ /**
+ * Get the TTL of the CDN
+ *
+ * @return integer|boolean
+ */
+ public function getCdnTtl()
+ {
+ $data = $this->getCdnInfo();
+ if (!isset($data['ttl'])) {
+ return $data['ttl'];
+ }
+ return false;
+ }
+ /**
+ * Return true if the log retention is enabled for the CDN
+ *
+ * @return boolean
+ */
+ public function isCdnLogEnabled()
+ {
+ $data = $this->getCdnInfo();
+ if (!isset($data['log_retention'])) {
+ return $data['log_retention'];
+ }
+ return false;
+ }
+ /**
+ * Get the CDN URI
+ *
+ * @return string|boolean
+ */
+ public function getCdnUri()
+ {
+ $data = $this->getCdnInfo();
+ if (!isset($data['cdn_uri'])) {
+ return $data['cdn_uri'];
+ }
+ return false;
+ }
+ /**
+ * Get the CDN URI SSL
+ *
+ * @return string|boolean
+ */
+ public function getCdnUriSsl()
+ {
+ $data = $this->getCdnInfo();
+ if (!isset($data['cdn_uri_ssl'])) {
+ return $data['cdn_uri_ssl'];
+ }
+ return false;
+ }
+ /**
+ * Get the metadata of the container
+ *
+ * If $key is empty return the array of metadata
+ *
+ * @param string $key
+ * @return array|string|boolean
+ */
+ public function getMetadata($key=null)
+ {
+ $result = $this->service->getMetadataContainer($this->getName());
+ if (!empty($result) && is_array($result)) {
+ if (empty($key)) {
+ return $result['metadata'];
+ } else {
+ if (isset ($result['metadata'][$key])) {
+ return $result['metadata'][$key];
+ }
+ }
+ }
+ return false;
+ }
+ /**
+ * Get the information of the container (total of objects, total size)
+ *
+ * @return array|boolean
+ */
+ public function getInfo()
+ {
+ $result = $this->service->getMetadataContainer($this->getName());
+ if (!empty($result) && is_array($result)) {
+ return $result;
+ }
+ return false;
+ }
+ /**
+ * Get all the object of the container
+ *
+ * @return Zend_Service_Rackspace_Files_ObjectList
+ */
+ public function getObjects()
+ {
+ return $this->service->getObjects($this->getName());
+ }
+ /**
+ * Get an object of the container
+ *
+ * @param string $name
+ * @param array $headers
+ * @return Zend_Service_Rackspace_Files_Object|boolean
+ */
+ public function getObject($name, $headers=array())
+ {
+ return $this->service->getObject($this->getName(), $name, $headers);
+ }
+ /**
+ * Add an object in the container
+ *
+ * @param string $name
+ * @param string $file the content of the object
+ * @param array $metadata
+ * @return boolen
+ */
+ public function addObject($name, $file, $metadata=array())
+ {
+ return $this->service->storeObject($this->getName(), $name, $file, $metadata);
+ }
+ /**
+ * Delete an object in the container
+ *
+ * @param string $obj
+ * @return boolean
+ */
+ public function deleteObject($obj)
+ {
+ return $this->service->deleteObject($this->getName(), $obj);
+ }
+ /**
+ * Copy an object to another container
+ *
+ * @param string $obj_source
+ * @param string $container_dest
+ * @param string $obj_dest
+ * @param array $metadata
+ * @param string $content_type
+ * @return boolean
+ */
+ public function copyObject($obj_source, $container_dest, $obj_dest, $metadata=array(), $content_type=null)
+ {
+ return $this->service->copyObject($this->getName(), $obj_source, $container_dest, $obj_dest, $metadata, $content_type);
+ }
+ /**
+ * Get the metadata of an object in the container
+ *
+ * @param string $object
+ * @return array
+ */
+ public function getMetadataObject($object)
+ {
+ return $this->service->getMetadataObject($this->getName(),$object);
+ }
+ /**
+ * Set the metadata of an object in the container
+ *
+ * @param string $object
+ * @param array $metadata
+ * @return boolean
+ */
+ public function setMetadataObject($object,$metadata=array())
+ {
+ return $this->service->setMetadataObject($this->getName(),$object,$metadata);
+ }
+ /**
+ * Enable the CDN for the container
+ *
+ * @param integer $ttl
+ * @return array|boolean
+ */
+ public function enableCdn($ttl=Zend_Service_Rackspace_Files::CDN_TTL_MIN)
+ {
+ return $this->service->enableCdnContainer($this->getName(),$ttl);
+ }
+ /**
+ * Disable the CDN for the container
+ *
+ * @return boolean
+ */
+ public function disableCdn()
+ {
+ $result = $this->service->updateCdnContainer($this->getName(),null,false);
+ return ($result!==false);
+ }
+ /**
+ * Change the TTL for the CDN container
+ *
+ * @param integer $ttl
+ * @return boolean
+ */
+ public function changeTtlCdn($ttl)
+ {
+ $result = $this->service->updateCdnContainer($this->getName(),$ttl);
+ return ($result!==false);
+ }
+ /**
+ * Enable the log retention for the CDN
+ *
+ * @return boolean
+ */
+ public function enableLogCdn()
+ {
+ $result = $this->service->updateCdnContainer($this->getName(),null,null,true);
+ return ($result!==false);
+ }
+ /**
+ * Disable the log retention for the CDN
+ *
+ * @return boolean
+ */
+ public function disableLogCdn()
+ {
+ $result = $this->service->updateCdnContainer($this->getName(),null,null,false);
+ return ($result!==false);
+ }
+ /**
+ * Get the CDN information
+ *
+ * @return array|boolean
+ */
+ public function getCdnInfo()
+ {
+ return $this->service->getInfoCdnContainer($this->getName());
+ }
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Files/ContainerList.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Files/ContainerList.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,221 @@
+service= $service;
+ $this->_constructFromArray($list);
+ }
+ /**
+ * Transforms the Array to array of container
+ *
+ * @param array $list
+ * @return void
+ */
+ private function _constructFromArray(array $list)
+ {
+ foreach ($list as $container) {
+ $this->_addObject(new Zend_Service_Rackspace_Files_Container($this->service,$container));
+ }
+ }
+ /**
+ * Add an object
+ *
+ * @param Zend_Service_Rackspace_Files_Container $obj
+ * @return Zend_Service_Rackspace_Files_ContainerList
+ */
+ protected function _addObject (Zend_Service_Rackspace_Files_Container $obj)
+ {
+ $this->objects[] = $obj;
+ return $this;
+ }
+ /**
+ * Return number of servers
+ *
+ * Implement Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->objects);
+ }
+ /**
+ * Return the current element
+ *
+ * Implement Iterator::current()
+ *
+ * @return Zend_Service_Rackspace_Files_Container
+ */
+ public function current()
+ {
+ return $this->objects[$this->iteratorKey];
+ }
+ /**
+ * Return the key of the current element
+ *
+ * Implement Iterator::key()
+ *
+ * @return int
+ */
+ public function key()
+ {
+ return $this->iteratorKey;
+ }
+ /**
+ * Move forward to next element
+ *
+ * Implement Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ $this->iteratorKey += 1;
+ }
+ /**
+ * Rewind the Iterator to the first element
+ *
+ * Implement Iterator::rewind()
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->iteratorKey = 0;
+ }
+ /**
+ * Check if there is a current element after calls to rewind() or next()
+ *
+ * Implement Iterator::valid()
+ *
+ * @return bool
+ */
+ public function valid()
+ {
+ $numItems = $this->count();
+ if ($numItems > 0 && $this->iteratorKey < $numItems) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ /**
+ * Whether the offset exists
+ *
+ * Implement ArrayAccess::offsetExists()
+ *
+ * @param int $offset
+ * @return bool
+ */
+ public function offsetExists($offset)
+ {
+ return ($offset < $this->count());
+ }
+ /**
+ * Return value at given offset
+ *
+ * Implement ArrayAccess::offsetGet()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Files_Exception
+ * @return Zend_Service_Rackspace_Files_Container
+ */
+ public function offsetGet($offset)
+ {
+ if ($this->offsetExists($offset)) {
+ return $this->objects[$offset];
+ } else {
+ require_once 'Zend/Service/Rackspace/Files/Exception.php';
+ throw new Zend_Service_Rackspace_Files_Exception('Illegal index');
+ }
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetSet()
+ *
+ * @param int $offset
+ * @param string $value
+ * @throws Zend_Service_Rackspace_Files_Exception
+ */
+ public function offsetSet($offset, $value)
+ {
+ require_once 'Zend/Service/Rackspace/Files/Exception.php';
+ throw new Zend_Service_Rackspace_Files_Exception('You are trying to set read-only property');
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetUnset()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Files_Exception
+ */
+ public function offsetUnset($offset)
+ {
+ require_once 'Zend/Service/Rackspace/Files/Exception.php';
+ throw new Zend_Service_Rackspace_Files_Exception('You are trying to unset read-only property');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Files/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Files/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,36 @@
+name= $data['name'];
+ $this->container= $data['container'];
+ $this->hash= $data['hash'];
+ $this->size= $data['bytes'];
+ $this->contentType= $data['content_type'];
+ $this->lastModified= $data['last_modified'];
+ if (!empty($data['content'])) {
+ $this->content= $data['content'];
+ }
+ $this->service= $service;
+ }
+ /**
+ * Get name
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+ /**
+ * Get the name of the container
+ *
+ * @return string
+ */
+ public function getContainer()
+ {
+ return $this->container;
+ }
+ /**
+ * Get the MD5 of the object's content
+ *
+ * @return string|boolean
+ */
+ public function getHash()
+ {
+ return $this->hash;
+ }
+ /**
+ * Get the size (in bytes) of the object's content
+ *
+ * @return integer|boolean
+ */
+ public function getSize()
+ {
+ return $this->size;
+ }
+ /**
+ * Get the content type of the object's content
+ *
+ * @return string
+ */
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ /**
+ * Get the data of the last modified of the object
+ *
+ * @return string
+ */
+ public function getLastModified()
+ {
+ return $this->lastModified;
+ }
+ /**
+ * Get the content of the object
+ *
+ * @return string
+ */
+ public function getContent()
+ {
+ return $this->content;
+ }
+ /**
+ * Get the metadata of the object
+ * If you don't pass the $key it returns the entire array of metadata value
+ *
+ * @param string $key
+ * @return string|array|boolean
+ */
+ public function getMetadata($key=null)
+ {
+ $result= $this->service->getMetadataObject($this->container,$this->name);
+ if (!empty($result)) {
+ if (empty($key)) {
+ return $result['metadata'];
+ }
+ if (isset($result['metadata'][$key])) {
+ return $result['metadata'][$key];
+ }
+ }
+ return false;
+ }
+ /**
+ * Set the metadata value
+ * The old metadata values are replaced with the new one
+ *
+ * @param array $metadata
+ * @return boolean
+ */
+ public function setMetadata($metadata)
+ {
+ return $this->service->setMetadataObject($this->container,$this->name,$metadata);
+ }
+ /**
+ * Copy the object to another container
+ * You can add metadata information to the destination object, change the
+ * content_type and the name of the object
+ *
+ * @param string $container_dest
+ * @param string $name_dest
+ * @param array $metadata
+ * @param string $content_type
+ * @return boolean
+ */
+ public function copyTo($container_dest,$name_dest,$metadata=array(),$content_type=null)
+ {
+ return $this->service->copyObject($this->container,$this->name,$container_dest,$name_dest,$metadata,$content_type);
+ }
+ /**
+ * Get the CDN URL of the object
+ *
+ * @return string
+ */
+ public function getCdnUrl()
+ {
+ $result= $this->service->getInfoCdnContainer($this->container);
+ if ($result!==false) {
+ if ($result['cdn_enabled']) {
+ return $result['cdn_uri'].'/'.$this->name;
+ }
+ }
+ return false;
+ }
+ /**
+ * Get the CDN SSL URL of the object
+ *
+ * @return string
+ */
+ public function getCdnUrlSsl()
+ {
+ $result= $this->service->getInfoCdnContainer($this->container);
+ if ($result!==false) {
+ if ($result['cdn_enabled']) {
+ return $result['cdn_uri_ssl'].'/'.$this->name;
+ }
+ }
+ return false;
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Files/ObjectList.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Files/ObjectList.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,237 @@
+service= $service;
+ $this->container= $container;
+ $this->_constructFromArray($list);
+ }
+ /**
+ * Transforms the Array to array of container
+ *
+ * @param array $list
+ * @return void
+ */
+ private function _constructFromArray(array $list)
+ {
+ foreach ($list as $obj) {
+ $obj['container']= $this->container;
+ $this->_addObject(new Zend_Service_Rackspace_Files_Object($this->service,$obj));
+ }
+ }
+ /**
+ * Add an object
+ *
+ * @param Zend_Service_Rackspace_Files_Object $obj
+ * @return Zend_Service_Rackspace_Files_ObjectList
+ */
+ protected function _addObject (Zend_Service_Rackspace_Files_Object $obj)
+ {
+ $this->objects[] = $obj;
+ return $this;
+ }
+ /**
+ * Return number of servers
+ *
+ * Implement Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->objects);
+ }
+ /**
+ * Return the current element
+ *
+ * Implement Iterator::current()
+ *
+ * @return Zend_Service_Rackspace_Files_Object
+ */
+ public function current()
+ {
+ return $this->objects[$this->iteratorKey];
+ }
+ /**
+ * Return the key of the current element
+ *
+ * Implement Iterator::key()
+ *
+ * @return int
+ */
+ public function key()
+ {
+ return $this->iteratorKey;
+ }
+ /**
+ * Move forward to next element
+ *
+ * Implement Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ $this->iteratorKey += 1;
+ }
+ /**
+ * Rewind the Iterator to the first element
+ *
+ * Implement Iterator::rewind()
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->iteratorKey = 0;
+ }
+ /**
+ * Check if there is a current element after calls to rewind() or next()
+ *
+ * Implement Iterator::valid()
+ *
+ * @return bool
+ */
+ public function valid()
+ {
+ $numItems = $this->count();
+ if ($numItems > 0 && $this->iteratorKey < $numItems) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ /**
+ * Whether the offset exists
+ *
+ * Implement ArrayAccess::offsetExists()
+ *
+ * @param int $offset
+ * @return bool
+ */
+ public function offsetExists($offset)
+ {
+ return ($offset < $this->count());
+ }
+ /**
+ * Return value at given offset
+ *
+ * Implement ArrayAccess::offsetGet()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Files_Exception
+ * @return Zend_Service_Rackspace_Files_Object
+ */
+ public function offsetGet($offset)
+ {
+ if ($this->offsetExists($offset)) {
+ return $this->objects[$offset];
+ } else {
+ require_once 'Zend/Service/Rackspace/Files/Exception.php';
+ throw new Zend_Service_Rackspace_Files_Exception('Illegal index');
+ }
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetSet()
+ *
+ * @param int $offset
+ * @param string $value
+ * @throws Zend_Service_Rackspace_Files_Exception
+ */
+ public function offsetSet($offset, $value)
+ {
+ require_once 'Zend/Service/Rackspace/Files/Exception.php';
+ throw new Zend_Service_Rackspace_Files_Exception('You are trying to set read-only property');
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetUnset()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Files_Exception
+ */
+ public function offsetUnset($offset)
+ {
+ require_once 'Zend/Service/Rackspace/Files/Exception.php';
+ throw new Zend_Service_Rackspace_Files_Exception('You are trying to unset read-only property');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Servers.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Servers.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,1281 @@
+httpCall($this->getManagementUrl().$url,'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $servers= json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_ServerList($this,$servers['servers']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the specified server
+ *
+ * @param string $id
+ * @return Zend_Service_Rackspace_Servers_Server
+ */
+ public function getServer($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ $result= $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id),'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $server = json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_Server($this,$server['server']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Create a new server
+ *
+ * The required parameters are specified in $data (name, imageId, falvorId)
+ * The $files is an associative array with 'serverPath' => 'localPath'
+ *
+ * @param array $data
+ * @param array $metadata
+ * @param array $files
+ * @return Zend_Service_Rackspace_Servers_Server|boolean
+ */
+ public function createServer(array $data, $metadata=array(),$files=array())
+ {
+ if (empty($data) || !is_array($data) || !is_array($metadata) || !is_array($files)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ARRAY);
+ }
+ if (!isset($data['name'])) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME);
+ }
+ if (!isset($data['flavorId'])) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_FLAVORID);
+ }
+ if (!isset($data['imageId'])) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_IMAGEID);
+ }
+ if (count($files)>self::LIMIT_NUM_FILE) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You can attach '.self::LIMIT_NUM_FILE.' files maximum');
+ }
+ if (!empty($metadata)) {
+ $data['metadata']= $metadata;
+ }
+ $data['flavorId']= (integer) $data['flavorId'];
+ $data['imageId']= (integer) $data['imageId'];
+ if (!empty($files)) {
+ foreach ($files as $serverPath => $filePath) {
+ if (!file_exists($filePath)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(
+ sprintf("The file %s doesn't exist",$filePath));
+ }
+ $content= file_get_contents($filePath);
+ if (strlen($content) > self::LIMIT_FILE_SIZE) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(
+ sprintf("The size of the file %s is greater than the max size of %d bytes",
+ $filePath,self::LIMIT_FILE_SIZE));
+ }
+ $data['personality'][] = array (
+ 'path' => $serverPath,
+ 'contents' => base64_encode(file_get_contents($filePath))
+ );
+ }
+ }
+ $result = $this->httpCall($this->getManagementUrl().'/servers','POST',
+ null,null,json_encode(array ('server' => $data)));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '202' : // break intentionally omitted
+ $server = json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_Server($this,$server['server']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Change the name or the admin password for a server
+ *
+ * @param string $id
+ * @param string $name
+ * @param string $password
+ * @return boolean
+ */
+ protected function updateServer($id,$name=null,$password=null)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You must specify the ID of the server');
+ }
+ if (empty($name) && empty($password)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception("You must specify the new name or password of server");
+ }
+ $data= array();
+ if (!empty($name)) {
+ $data['name']= $name;
+ }
+ if (!empty($password)) {
+ $data['adminPass']= $password;
+ }
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id),'PUT',
+ null,null,json_encode(array('server' => $data)));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '204' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Change the server's name
+ *
+ * @param string $id
+ * @param string $name
+ * @return boolean
+ */
+ public function changeServerName($id,$name)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You must specify the ID of the server');
+ }
+ if (empty($name)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception("You must specify the new name of the server");
+ }
+ return $this->updateServer($id, $name);
+ }
+ /**
+ * Change the admin password of the server
+ *
+ * @param string $id
+ * @param string $password
+ * @return boolean
+ */
+ public function changeServerPassword($id,$password)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You must specify the ID of the server');
+ }
+ if (empty($password)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception("You must specify the new password of the server");
+ }
+ return $this->updateServer($id, null,$password);
+ }
+ /**
+ * Delete a server
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function deleteServer($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You must specify the ID of the server');
+ }
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id),'DELETE');
+ $status = $result->getStatus();
+ switch ($status) {
+ case '202' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the server's IPs (public and private)
+ *
+ * @param string $id
+ * @return array|boolean
+ */
+ public function getServerIp($id)
+ {
+ $result= $this->getServer($id);
+ if ($result===false) {
+ return false;
+ }
+ $result= $result->toArray();
+ return $result['addresses'];
+ }
+ /**
+ * Get the Public IPs of a server
+ *
+ * @param string $id
+ * @return array|boolean
+ */
+ public function getServerPublicIp($id)
+ {
+ $addresses= $this->getServerIp($id);
+ if ($addresses===false) {
+ return false;
+ }
+ return $addresses['public'];
+ }
+ /**
+ * Get the Private IPs of a server
+ *
+ * @param string $id
+ * @return array|boolean
+ */
+ public function getServerPrivateIp($id)
+ {
+ $addresses= $this->getServerIp($id);
+ if ($addresses===false) {
+ return false;
+ }
+ return $addresses['private'];
+ }
+ /**
+ * Share an ip address for a server (id)
+ *
+ * @param string $id server
+ * @param string $ip
+ * @param string $groupId
+ * @return boolean
+ */
+ public function shareIpAddress($id,$ip,$groupId,$configure=true)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the ID of the server');
+ }
+ if (empty($ip)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the IP address to share');
+ }
+ $validator = new Zend_Validate_Ip();
+ if (!$validator->isValid($ip)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception("The parameter $ip specified is not a valid IP address");
+ }
+ if (empty($groupId)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the group id to use');
+ }
+ $data= array (
+ 'sharedIpGroupId' => (integer) $groupId,
+ 'configureServer' => $configure
+ );
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/ips/public/'.rawurlencode($ip),'PUT',
+ null,null,json_encode(array('shareIp' => $data)));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '202' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Unshare IP address for a server ($id)
+ *
+ * @param string $id
+ * @param string $ip
+ * @return boolean
+ */
+ public function unshareIpAddress($id,$ip)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the ID of the server');
+ }
+ if (empty($ip)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the IP address to share');
+ }
+ $validator = new Zend_Validate_Ip();
+ if (!$validator->isValid($ip)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception("The parameter $ip specified is not a valid IP address");
+ }
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/ips/public/'.rawurlencode($ip),
+ 'DELETE');
+ $status = $result->getStatus();
+ switch ($status) {
+ case '202' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Reboot a server
+ *
+ * $hard true is the equivalent of power cycling the server
+ * $hard false is a graceful shutdown
+ *
+ * @param string $id
+ * @param boolean $hard
+ * @return boolean
+ */
+ public function rebootServer($id,$hard=false)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the ID of the server');
+ }
+ if (!$hard) {
+ $type= 'SOFT';
+ } else {
+ $type= 'HARD';
+ }
+ $data= array (
+ 'reboot' => array (
+ 'type' => $type
+ )
+ );
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/action',
+ 'POST', null, null, json_encode($data));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '202' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Rebuild a server
+ *
+ * The rebuild function removes all data on the server and replaces it with the specified image,
+ * serverId and IP addresses will remain the same.
+ *
+ * @param string $id
+ * @param string $imageId
+ * @return boolean
+ */
+ public function rebuildServer($id,$imageId)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the ID of the server');
+ }
+ if (empty($imageId)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the new imageId of the server');
+ }
+ $data= array (
+ 'rebuild' => array (
+ 'imageId' => (integer) $imageId
+ )
+ );
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/action',
+ 'POST', null, null, json_encode($data));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '202' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Resize a server
+ *
+ * The resize function converts an existing server to a different flavor, in essence, scaling the
+ * server up or down. The original server is saved for a period of time to allow rollback if there
+ * is a problem. All resizes should be tested and explicitly confirmed, at which time the original
+ * server is removed. All resizes are automatically confirmed after 24 hours if they are not
+ * explicitly confirmed or reverted.
+ *
+ * @param string $id
+ * @param string $flavorId
+ * @return boolean
+ */
+ public function resizeServer($id,$flavorId)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the ID of the server');
+ }
+ if (empty($flavorId)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the new flavorId of the server');
+ }
+ $data= array (
+ 'resize' => array (
+ 'flavorId' => (integer) $flavorId
+ )
+ );
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/action',
+ 'POST', null, null, json_encode($data));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '202' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '403' :
+ $this->errorMsg= self::ERROR_RESIZE_NOT_ALLOWED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Confirm resize of a server
+ *
+ * During a resize operation, the original server is saved for a period of time to allow roll
+ * back if there is a problem. Once the newly resized server is tested and has been confirmed
+ * to be functioning properly, use this operation to confirm the resize. After confirmation,
+ * the original server is removed and cannot be rolled back to. All resizes are automatically
+ * confirmed after 24 hours if they are not explicitly confirmed or reverted.
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function confirmResizeServer($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the ID of the server');
+ }
+ $data= array (
+ 'confirmResize' => null
+ );
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/action',
+ 'POST', null, null, json_encode($data));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '204' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '403' :
+ $this->errorMsg= self::ERROR_RESIZE_NOT_ALLOWED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Revert resize of a server
+ *
+ * During a resize operation, the original server is saved for a period of time to allow for roll
+ * back if there is a problem. If you determine there is a problem with a newly resized server,
+ * use this operation to revert the resize and roll back to the original server. All resizes are
+ * automatically confirmed after 24 hours if they have not already been confirmed explicitly or
+ * reverted.
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function revertResizeServer($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the ID of the server');
+ }
+ $data= array (
+ 'revertResize' => null
+ );
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/action',
+ 'POST', null, null, json_encode($data));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '202' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '403' :
+ $this->errorMsg= self::ERROR_RESIZE_NOT_ALLOWED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the list of the flavors
+ *
+ * If $details is true returns detail info
+ *
+ * @param boolean $details
+ * @return array|boolean
+ */
+ public function listFlavors($details=false)
+ {
+ $url= '/flavors';
+ if ($details) {
+ $url.= '/detail';
+ }
+ $result= $this->httpCall($this->getManagementUrl().$url,'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $flavors= json_decode($result->getBody(),true);
+ return $flavors['flavors'];
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the detail of a flavor
+ *
+ * @param string $flavorId
+ * @return array|boolean
+ */
+ public function getFlavor($flavorId)
+ {
+ if (empty($flavorId)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception('You didn\'t specified the new flavorId of the server');
+ }
+ $result= $this->httpCall($this->getManagementUrl().'/flavors/'.rawurlencode($flavorId),'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $flavor= json_decode($result->getBody(),true);
+ return $flavor['flavor'];
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the list of the images
+ *
+ * @param boolean $details
+ * @return Zend_Service_Rackspace_Servers_ImageList|boolean
+ */
+ public function listImages($details=false)
+ {
+ $url= '/images';
+ if ($details) {
+ $url.= '/detail';
+ }
+ $result= $this->httpCall($this->getManagementUrl().$url,'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $images= json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_ImageList($this,$images['images']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get detail about an image
+ *
+ * @param string $id
+ * @return Zend_Service_Rackspace_Servers_Image|boolean
+ */
+ public function getImage($id)
+ {
+ $result= $this->httpCall($this->getManagementUrl().'/images/'.rawurlencode($id),'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $image= json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_Image($this,$image['image']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Create an image for a serverId
+ *
+ * @param string $serverId
+ * @param string $name
+ * @return Zend_Service_Rackspace_Servers_Image
+ */
+ public function createImage($serverId,$name)
+ {
+ if (empty($serverId)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_SERVERID);
+ }
+ if (empty($name)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME);
+ }
+ $data = array(
+ 'image' => array (
+ 'serverId' => (integer) $serverId,
+ 'name' => $name
+ )
+ );
+ $result = $this->httpCall($this->getManagementUrl().'/images', 'POST',
+ null, null, json_encode($data));
+ $status = $result->getStatus();
+ switch ($status) {
+ case '202' : // break intentionally omitted
+ $image= json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_Image($this,$image['image']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '403' :
+ $this->errorMsg= self::ERROR_RESIZE_NOT_ALLOWED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Delete an image
+ *
+ * @param string $id
+ * @return boolean
+ */
+ public function deleteImage($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ $result = $this->httpCall($this->getManagementUrl().'/images/'.rawurlencode($id),'DELETE');
+ $status = $result->getStatus();
+ switch ($status) {
+ case '204' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the backup schedule of a server
+ *
+ * @param string $id server's Id
+ * @return array|boolean
+ */
+ public function getBackupSchedule($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ $result= $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/backup_schedule',
+ 'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $backup = json_decode($result->getBody(),true);
+ return $backup['backupSchedule'];
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Change the backup schedule of a server
+ *
+ * @param string $id server's Id
+ * @param string $weekly
+ * @param string $daily
+ * @return boolean
+ */
+ public function changeBackupSchedule($id,$weekly,$daily)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ if (empty($weekly)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_WEEKLY);
+ }
+ if (empty($daily)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_DAILY);
+ }
+ $data = array (
+ 'backupSchedule' => array (
+ 'enabled' => true,
+ 'weekly' => $weekly,
+ 'daily' => $daily
+ )
+ );
+ $result= $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/backup_schedule',
+ 'POST',null,null,json_encode($data));
+ $status= $result->getStatus();
+ switch ($status) {
+ case '204' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Disable the backup schedule for a server
+ *
+ * @param string $id server's Id
+ * @return boolean
+ */
+ public function disableBackupSchedule($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ $result = $this->httpCall($this->getManagementUrl().'/servers/'.rawurlencode($id).'/backup_schedule',
+ 'DELETE');
+ $status = $result->getStatus();
+ switch ($status) {
+ case '204' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '409' :
+ $this->errorMsg= self::ERROR_BUILD_IN_PROGRESS;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the list of shared IP groups
+ *
+ * @param boolean $details
+ * @return Zend_Service_Rackspace_Servers_SharedIpGroupList|boolean
+ */
+ public function listSharedIpGroups($details=false)
+ {
+ $url= '/shared_ip_groups';
+ if ($details) {
+ $url.= '/detail';
+ }
+ $result= $this->httpCall($this->getManagementUrl().$url,'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $groups= json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_SharedIpGroupList($this,$groups['sharedIpGroups']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Get the shared IP group
+ *
+ * @param integer $id
+ * @return Zend_Service_Rackspace_Servers_SharedIpGroup|boolean
+ */
+ public function getSharedIpGroup($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ $result= $this->httpCall($this->getManagementUrl().'/shared_ip_groups/'.rawurlencode($id),'GET');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '200' :
+ case '203' : // break intentionally omitted
+ $group= json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_SharedIpGroup($this,$group['sharedIpGroup']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Create a shared Ip group
+ *
+ * @param string $name
+ * @param string $serverId
+ * @return array|boolean
+ */
+ public function createSharedIpGroup($name,$serverId)
+ {
+ if (empty($name)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_NAME);
+ }
+ if (empty($serverId)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ $data = array (
+ 'sharedIpGroup' => array (
+ 'name' => $name,
+ 'server' => (integer) $serverId
+ )
+ );
+ $result= $this->httpCall($this->getManagementUrl().'/shared_ip_groups',
+ 'POST',null,null,json_encode($data));
+ $status= $result->getStatus();
+ switch ($status) {
+ case '201' : // break intentionally omitted
+ $group = json_decode($result->getBody(),true);
+ return new Zend_Service_Rackspace_Servers_SharedIpGroup($this,$group['sharedIpGroup']);
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+ /**
+ * Delete a Shared Ip Group
+ *
+ * @param integer $id
+ * @return boolean
+ */
+ public function deleteSharedIpGroup($id)
+ {
+ if (empty($id)) {
+ require_once 'Zend/Service/Rackspace/Exception.php';
+ throw new Zend_Service_Rackspace_Exception(self::ERROR_PARAM_NO_ID);
+ }
+ $result= $this->httpCall($this->getManagementUrl().'/shared_ip_groups/'.rawurlencode($id),'DELETE');
+ $status= $result->getStatus();
+ switch ($status) {
+ case '204' : // break intentionally omitted
+ return true;
+ case '503' :
+ $this->errorMsg= self::ERROR_SERVICE_UNAVAILABLE;
+ break;
+ case '401' :
+ $this->errorMsg= self::ERROR_UNAUTHORIZED;
+ break;
+ case '404' :
+ $this->errorMsg= self::ERROR_ITEM_NOT_FOUND;
+ break;
+ case '413' :
+ $this->errorMsg= self::ERROR_OVERLIMIT;
+ break;
+ default:
+ $this->errorMsg= $result->getBody();
+ break;
+ }
+ $this->errorCode= $status;
+ return false;
+ }
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Servers/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Servers/Exception.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,36 @@
+service= $service;
+ $this->name = $data['name'];
+ $this->id = $data['id'];
+ if (isset($data['serverId'])) {
+ $this->serverId= $data['serverId'];
+ }
+ if (isset($data['updated'])) {
+ $this->updated= $data['updated'];
+ }
+ if (isset($data['created'])) {
+ $this->created= $data['created'];
+ }
+ if (isset($data['status'])) {
+ $this->status= $data['status'];
+ }
+ if (isset($data['progress'])) {
+ $this->progress= $data['progress'];
+ }
+ }
+ /**
+ * Get the name of the image
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+ /**
+ * Get the image's id
+ *
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+ /**
+ * Get the server's id of the image
+ *
+ * @return string
+ */
+ public function getServerId()
+ {
+ return $this->serverId;
+ }
+ /**
+ * Get the updated data
+ *
+ * @return string
+ */
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ /**
+ * Get the created data
+ *
+ * @return string
+ */
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ /**
+ * Get the image's status
+ *
+ * @return string|boolean
+ */
+ public function getStatus()
+ {
+ $data= $this->service->getImage($this->id);
+ if ($data!==false) {
+ $data= $data->toArray();
+ $this->status= $data['status'];
+ return $this->status;
+ }
+ return false;
+ }
+ /**
+ * Get the progress's status
+ *
+ * @return integer|boolean
+ */
+ public function getProgress()
+ {
+ $data= $this->service->getImage($this->id);
+ if ($data!==false) {
+ $data= $data->toArray();
+ $this->progress= $data['progress'];
+ return $this->progress;
+ }
+ return false;
+ }
+ /**
+ * To Array
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return array (
+ 'name' => $this->name,
+ 'id' => $this->id,
+ 'serverId' => $this->serverId,
+ 'updated' => $this->updated,
+ 'created' => $this->created,
+ 'status' => $this->status,
+ 'progress' => $this->progress
+ );
+ }
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Servers/ImageList.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Servers/ImageList.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,234 @@
+service= $service;
+ $this->constructFromArray($list);
+ }
+ /**
+ * Transforms the array to array of Server
+ *
+ * @param array $list
+ * @return void
+ */
+ private function constructFromArray(array $list)
+ {
+ foreach ($list as $image) {
+ $this->addImage(new Zend_Service_Rackspace_Servers_Image($this->service,$image));
+ }
+ }
+ /**
+ * Add an image
+ *
+ * @param Zend_Service_Rackspace_Servers_Image $image
+ * @return Zend_Service_Rackspace_Servers_ImageList
+ */
+ protected function addImage (Zend_Service_Rackspace_Servers_Image $image)
+ {
+ $this->images[] = $image;
+ return $this;
+ }
+ /**
+ * To Array
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ $array= array();
+ foreach ($this->images as $image) {
+ $array[]= $image->toArray();
+ }
+ return $array;
+ }
+ /**
+ * Return number of images
+ *
+ * Implement Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->images);
+ }
+ /**
+ * Return the current element
+ *
+ * Implement Iterator::current()
+ *
+ * @return Zend_Service_Rackspace_Servers_Image
+ */
+ public function current()
+ {
+ return $this->images[$this->iteratorKey];
+ }
+ /**
+ * Return the key of the current element
+ *
+ * Implement Iterator::key()
+ *
+ * @return int
+ */
+ public function key()
+ {
+ return $this->iteratorKey;
+ }
+ /**
+ * Move forward to next element
+ *
+ * Implement Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ $this->iteratorKey += 1;
+ }
+ /**
+ * Rewind the Iterator to the first element
+ *
+ * Implement Iterator::rewind()
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->iteratorKey = 0;
+ }
+ /**
+ * Check if there is a current element after calls to rewind() or next()
+ *
+ * Implement Iterator::valid()
+ *
+ * @return bool
+ */
+ public function valid()
+ {
+ $numItems = $this->count();
+ if ($numItems > 0 && $this->iteratorKey < $numItems) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ /**
+ * Whether the offset exists
+ *
+ * Implement ArrayAccess::offsetExists()
+ *
+ * @param int $offset
+ * @return bool
+ */
+ public function offsetExists($offset)
+ {
+ return ($offset < $this->count());
+ }
+ /**
+ * Return value at given offset
+ *
+ * Implement ArrayAccess::offsetGet()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ * @return Zend_Service_Rackspace_Servers_Image
+ */
+ public function offsetGet($offset)
+ {
+ if ($this->offsetExists($offset)) {
+ return $this->images[$offset];
+ } else {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('Illegal index');
+ }
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetSet()
+ *
+ * @param int $offset
+ * @param string $value
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ */
+ public function offsetSet($offset, $value)
+ {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('You are trying to set read-only property');
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetUnset()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ */
+ public function offsetUnset($offset)
+ {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('You are trying to unset read-only property');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Servers/Server.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Servers/Server.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,325 @@
+service = $service;
+ $this->name = $data['name'];
+ $this->id = $data['id'];
+ if (isset($data['imageId'])) {
+ $this->imageId= $data['imageId'];
+ }
+ if (isset($data['flavorId'])) {
+ $this->flavorId= $data['flavorId'];
+ }
+ if (isset($data['hostId'])) {
+ $this->hostId= $data['hostId'];
+ }
+ if (isset($data['status'])) {
+ $this->status= $data['status'];
+ }
+ if (isset($data['progress'])) {
+ $this->progress= $data['progress'];
+ }
+ if (isset($data['adminPass'])) {
+ $this->adminPass= $data['adminPass'];
+ }
+ if (isset($data['addresses']) && is_array($data['addresses'])) {
+ $this->addresses= $data['addresses'];
+ }
+ if (isset($data['metadata']) && is_array($data['metadata'])) {
+ $this->metadata= $data['metadata'];
+ }
+ }
+ /**
+ * Get the name of the server
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+ /**
+ * Get the server's id
+ *
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+ /**
+ * Get the server's image Id
+ *
+ * @return string
+ */
+ public function getImageId()
+ {
+ return $this->imageId;
+ }
+ /**
+ * Get the server's flavor Id
+ *
+ * @return string
+ */
+ public function getFlavorId()
+ {
+ return $this->flavorId;
+ }
+ /**
+ * Get the server's host Id
+ *
+ * @return string
+ */
+ public function getHostId()
+ {
+ return $this->hostId;
+ }
+ /**
+ * Ge the server's admin password
+ *
+ * @return string
+ */
+ public function getAdminPass()
+ {
+ return $this->adminPass;
+ }
+ /**
+ * Get the server's status
+ *
+ * @return string|boolean
+ */
+ public function getStatus()
+ {
+ $data= $this->service->getServer($this->id);
+ if ($data!==false) {
+ $data= $data->toArray();
+ $this->status= $data['status'];
+ return $this->status;
+ }
+ return false;
+ }
+ /**
+ * Get the progress's status
+ *
+ * @return integer|boolean
+ */
+ public function getProgress()
+ {
+ $data= $this->service->getServer($this->id);
+ if ($data!==false) {
+ $data= $data->toArray();
+ $this->progress= $data['progress'];
+ return $this->progress;
+ }
+ return false;
+ }
+ /**
+ * Get the private IPs
+ *
+ * @return array|boolean
+ */
+ public function getPrivateIp()
+ {
+ if (isset($this->addresses['private'])) {
+ return $this->addresses['private'];
+ }
+ return false;
+ }
+ /**
+ * Get the public IPs
+ *
+ * @return array|boolean
+ */
+ public function getPublicIp()
+ {
+ if (isset($this->addresses['public'])) {
+ return $this->addresses['public'];
+ }
+ return false;
+ }
+ /**
+ * Get the metadata of the container
+ *
+ * If $key is empty return the array of metadata
+ *
+ * @param string $key
+ * @return array|string
+ */
+ public function getMetadata($key=null)
+ {
+ if (!empty($key) && isset($this->metadata[$key])) {
+ return $this->metadata[$key];
+ }
+ return $this->metadata;
+ }
+ /**
+ * Change the name of the server
+ *
+ * @param string $name
+ * @return boolean
+ */
+ public function changeName($name)
+ {
+ $result= $this->service->changeServerName($this->id, $name);
+ if ($result!==false) {
+ $this->name= $name;
+ return true;
+ }
+ return false;
+ }
+ /**
+ * Change the admin password of the server
+ *
+ * @param string $password
+ * @return boolean
+ */
+ public function changePassword($password)
+ {
+ $result= $this->service->changeServerPassword($this->id, $password);
+ if ($result!==false) {
+ $this->adminPass= $password;
+ return true;
+ }
+ return false;
+ }
+ /**
+ * Reboot the server
+ *
+ * @return boolean
+ */
+ public function reboot($hard=false)
+ {
+ return $this->service->rebootServer($this->id,$hard);
+ }
+ /**
+ * To Array
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return array (
+ 'name' => $this->name,
+ 'id' => $this->id,
+ 'imageId' => $this->imageId,
+ 'flavorId' => $this->flavorId,
+ 'hostId' => $this->hostId,
+ 'status' => $this->status,
+ 'progress' => $this->progress,
+ 'adminPass' => $this->adminPass,
+ 'addresses' => $this->addresses,
+ 'metadata' => $this->metadata
+ );
+ }
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Servers/ServerList.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Servers/ServerList.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,235 @@
+service= $service;
+ $this->constructFromArray($list);
+ }
+ /**
+ * Transforms the array to array of Server
+ *
+ * @param array $list
+ * @return void
+ */
+ private function constructFromArray(array $list)
+ {
+ foreach ($list as $server) {
+ $this->addServer(new Zend_Service_Rackspace_Servers_Server($this->service,$server));
+ }
+ }
+ /**
+ * Add a server
+ *
+ * @param Zend_Service_Rackspace_Servers_Server $server
+ * @return Zend_Service_Rackspace_Servers_ServerList
+ */
+ protected function addServer (Zend_Service_Rackspace_Servers_Server $server)
+ {
+ $this->servers[] = $server;
+ return $this;
+ }
+ /**
+ * To Array
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ $array= array();
+ foreach ($this->servers as $server) {
+ $array[]= $server->toArray();
+ }
+ return $array;
+ }
+ /**
+ * Return number of servers
+ *
+ * Implement Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->servers);
+ }
+ /**
+ * Return the current element
+ *
+ * Implement Iterator::current()
+ *
+ * @return Zend_Service_Rackspace_Servers_Server
+ */
+ public function current()
+ {
+ return $this->servers[$this->iteratorKey];
+ }
+ /**
+ * Return the key of the current element
+ *
+ * Implement Iterator::key()
+ *
+ * @return int
+ */
+ public function key()
+ {
+ return $this->iteratorKey;
+ }
+ /**
+ * Move forward to next element
+ *
+ * Implement Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ $this->iteratorKey += 1;
+ }
+ /**
+ * Rewind the Iterator to the first element
+ *
+ * Implement Iterator::rewind()
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->iteratorKey = 0;
+ }
+ /**
+ * Check if there is a current element after calls to rewind() or next()
+ *
+ * Implement Iterator::valid()
+ *
+ * @return bool
+ */
+ public function valid()
+ {
+ $numItems = $this->count();
+ if ($numItems > 0 && $this->iteratorKey < $numItems) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ /**
+ * Whether the offset exists
+ *
+ * Implement ArrayAccess::offsetExists()
+ *
+ * @param int $offset
+ * @return bool
+ */
+ public function offsetExists($offset)
+ {
+ return ($offset < $this->count());
+ }
+ /**
+ * Return value at given offset
+ *
+ * Implement ArrayAccess::offsetGet()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ * @return Zend_Service_Rackspace_Servers_Server
+ */
+ public function offsetGet($offset)
+ {
+ if ($this->offsetExists($offset)) {
+ return $this->servers[$offset];
+ } else {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('Illegal index');
+ }
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetSet()
+ *
+ * @param int $offset
+ * @param string $value
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ */
+ public function offsetSet($offset, $value)
+ {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('You are trying to set read-only property');
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetUnset()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ */
+ public function offsetUnset($offset)
+ {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('You are trying to unset read-only property');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Servers/SharedIpGroup.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Servers/SharedIpGroup.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,165 @@
+service= $service;
+ $this->name = $data['name'];
+ $this->id = $data['id'];
+ if (isset($data['servers'])) {
+ $this->serversId= $data['servers'];
+ }
+ }
+ /**
+ * Get the name of the shared IP group
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+ /**
+ * Get the id of the shared IP group
+ *
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+ /**
+ * Get the server's array of the shared IP group
+ *
+ * @return string
+ */
+ public function getServersId()
+ {
+ if (empty($this->serversId)) {
+ $info= $this->service->getSharedIpGroup($this->id);
+ if (($info!==false)) {
+ $info= $info->toArray();
+ if (isset($info['servers'])) {
+ $this->serversId= $info['servers'];
+ }
+ }
+ }
+ return $this->serversId;
+ }
+ /**
+ * Get the server
+ *
+ * @param integer $id
+ * @return Zend_Service_Rackspace_Servers_Server|boolean
+ */
+ public function getServer($id)
+ {
+ if (empty($this->serversId)) {
+ $this->getServersId();
+ }
+ if (in_array($id,$this->serversId)) {
+ return $this->service->getServer($id);
+ }
+ return false;
+ }
+ /**
+ * Create a server in the shared Ip Group
+ *
+ * @param array $data
+ * @param array $metadata
+ * @param array $files
+ * @return Zend_Service_Rackspace_Servers_Server|boolean
+ */
+ public function createServer(array $data, $metadata=array(),$files=array())
+ {
+ $data['sharedIpGroupId']= (integer) $this->id;
+ return $this->service->createServer($data,$metadata,$files);
+ }
+ /**
+ * To Array
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return array (
+ 'name' => $this->name,
+ 'id' => $this->id,
+ 'servers' => $this->serversId
+ );
+ }
+}
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/Rackspace/Servers/SharedIpGroupList.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/Rackspace/Servers/SharedIpGroupList.php Sun Apr 21 21:54:24 2013 +0200
@@ -0,0 +1,234 @@
+service= $service;
+ $this->constructFromArray($list);
+ }
+ /**
+ * Transforms the array to array of Shared Ip Group
+ *
+ * @param array $list
+ * @return void
+ */
+ private function constructFromArray(array $list)
+ {
+ foreach ($list as $share) {
+ $this->addSharedIpGroup(new Zend_Service_Rackspace_Servers_SharedIpGroup($this->service,$share));
+ }
+ }
+ /**
+ * Add a shared Ip group
+ *
+ * @param Zend_Service_Rackspace_Servers_SharedIpGroup $shared
+ * @return Zend_Service_Rackspace_Servers_SharedIpGroupList
+ */
+ protected function addSharedIpGroup (Zend_Service_Rackspace_Servers_SharedIpGroup $share)
+ {
+ $this->shared[] = $share;
+ return $this;
+ }
+ /**
+ * To Array
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ $array= array();
+ foreach ($this->shared as $share) {
+ $array[]= $share->toArray();
+ }
+ return $array;
+ }
+ /**
+ * Return number of shared Ip Groups
+ *
+ * Implement Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return count($this->shared);
+ }
+ /**
+ * Return the current element
+ *
+ * Implement Iterator::current()
+ *
+ * @return Zend_Service_Rackspace_Servers_SharedIpGroup
+ */
+ public function current()
+ {
+ return $this->shared[$this->iteratorKey];
+ }
+ /**
+ * Return the key of the current element
+ *
+ * Implement Iterator::key()
+ *
+ * @return int
+ */
+ public function key()
+ {
+ return $this->iteratorKey;
+ }
+ /**
+ * Move forward to next element
+ *
+ * Implement Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ $this->iteratorKey += 1;
+ }
+ /**
+ * Rewind the Iterator to the first element
+ *
+ * Implement Iterator::rewind()
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->iteratorKey = 0;
+ }
+ /**
+ * Check if there is a current element after calls to rewind() or next()
+ *
+ * Implement Iterator::valid()
+ *
+ * @return boolean
+ */
+ public function valid()
+ {
+ $numItems = $this->count();
+ if ($numItems > 0 && $this->iteratorKey < $numItems) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ /**
+ * Whether the offset exists
+ *
+ * Implement ArrayAccess::offsetExists()
+ *
+ * @param int $offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return ($offset < $this->count());
+ }
+ /**
+ * Return value at given offset
+ *
+ * Implement ArrayAccess::offsetGet()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ * @return Zend_Service_Rackspace_Servers_SharedIpGroup
+ */
+ public function offsetGet($offset)
+ {
+ if ($this->offsetExists($offset)) {
+ return $this->shared[$offset];
+ } else {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('Illegal index');
+ }
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetSet()
+ *
+ * @param int $offset
+ * @param string $value
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ */
+ public function offsetSet($offset, $value)
+ {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('You are trying to set read-only property');
+ }
+
+ /**
+ * Throws exception because all values are read-only
+ *
+ * Implement ArrayAccess::offsetUnset()
+ *
+ * @param int $offset
+ * @throws Zend_Service_Rackspace_Servers_Exception
+ */
+ public function offsetUnset($offset)
+ {
+ require_once 'Zend/Service/Rackspace/Servers/Exception.php';
+ throw new Zend_Service_Rackspace_Servers_Exception('You are trying to unset read-only property');
+ }
+}
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/ReCaptcha.php
--- a/web/lib/Zend/Service/ReCaptcha.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Service/ReCaptcha.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage ReCaptcha
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -34,9 +34,9 @@
* @category Zend
* @package Zend_Service
* @subpackage ReCaptcha
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: ReCaptcha.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ReCaptcha.php 25153 2012-11-28 11:56:23Z cogo $
*/
class Zend_Service_ReCaptcha extends Zend_Service_Abstract
{
@@ -45,21 +45,21 @@
*
* @var string
*/
- const API_SERVER = 'http://api.recaptcha.net';
+ const API_SERVER = 'http://www.google.com/recaptcha/api';
/**
* URI to the secure API
*
* @var string
*/
- const API_SECURE_SERVER = 'https://api-secure.recaptcha.net';
+ const API_SECURE_SERVER = 'https://www.google.com/recaptcha/api';
/**
* URI to the verify server
*
* @var string
*/
- const VERIFY_SERVER = 'http://api-verify.recaptcha.net/verify';
+ const VERIFY_SERVER = 'http://www.google.com/recaptcha/api/verify';
/**
* Public key used when displaying the captcha
@@ -373,10 +373,11 @@
*
* This method uses the public key to fetch a recaptcha form.
*
+ * @param null|string $name Base name for recaptcha form elements
* @return string
* @throws Zend_Service_ReCaptcha_Exception
*/
- public function getHtml()
+ public function getHtml($name = null)
{
if ($this->_publicKey === null) {
/** @see Zend_Service_ReCaptcha_Exception */
@@ -415,6 +416,12 @@
SCRIPT;
}
+ $challengeField = 'recaptcha_challenge_field';
+ $responseField = 'recaptcha_response_field';
+ if (!empty($name)) {
+ $challengeField = $name . '[' . $challengeField . ']';
+ $responseField = $name . '[' . $responseField . ']';
+ }
$return = $reCaptchaOptions;
$return .= <<
{$htmlBreak}
- ');/sw|se|ne|nw/.test(f)&&g.css({zIndex:++a.zIndex});"se"==f&&g.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor==
-String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),k=0;k=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,k);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(".ui-resizable-handle",this.element).disableSelection();
-this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){if(!a.disabled){e(this).removeClass("ui-resizable-autohide");b._handles.show()}},function(){if(!a.disabled)if(!b.resizing){e(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();
-var b=function(c){e(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=
-false;for(var c in this.handles)if(e(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position")))d.css({position:"absolute",top:c.top,left:c.left});e.browser.opera&&/relative/.test(d.css("position"))&&d.css({position:"relative",top:"auto",left:"auto"});
-this._renderProxy();c=m(this.helper.css("left"));var f=m(this.helper.css("top"));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff=
-{width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio:this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];
-if(!d)return false;c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate("resize",b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},_mouseStop:function(b){this.resizing=
-false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName);d=f&&e.ui.hasScroll(d[0],"left")?0:c.sizeDiff.height;f=f?0:c.sizeDiff.width;f={width:c.helper.width()-f,height:c.helper.height()-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,{top:g,left:d}));c.helper.height(c.size.height);
-c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(l(b.left))this.position.left=b.left;if(l(b.top))this.position.top=b.top;if(l(b.height))this.size.height=b.height;if(l(b.width))this.size.width=b.width},_updateRatio:function(b){var a=this.position,c=this.size,
-d=this.axis;if(b.height)b.width=c.height*this.aspectRatio;else if(b.width)b.height=c.width/this.aspectRatio;if(d=="sw"){b.left=a.left+(c.width-b.width);b.top=null}if(d=="nw"){b.top=a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,d=l(b.width)&&a.maxWidth&&a.maxWidthb.width,h=l(b.height)&&a.minHeight&&a.minHeight>b.height;if(g)b.width=
-a.minWidth;if(h)b.height=a.minHeight;if(d)b.width=a.maxWidth;if(f)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height,k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k)b.left=i-a.minWidth;if(d&&k)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(f&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b.left=null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=
-this.helper||this.element,a=0;a');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-
-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,
-arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,
-element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:"1.8.13"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};
-if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data("resizable-alsoresize"),
-p={},r=j&&j.length?j:k.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(r,function(n,o){if((n=(q[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(e.browser.opera&&/relative/.test(k.css("position"))){c._revertToRelativePosition=true;k.css({position:"absolute",top:"auto",left:"auto"})}k.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,
-c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})};if(b._revertToRelativePosition){b._revertToRelativePosition=false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),
-g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),
-10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};d&&d.length&&e(d[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate("resize",b)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var b=e(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,
-top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d=e(a),f=[];e(["Top","Right","Left","Bottom"]).each(function(i,j){f[i]=m(d.css("padding"+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,"left")?a.scrollWidth:h;
-g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data("resizable"),c=a.options,d=a.containerOffset,f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position")))g=d;if(f.left<(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:a.position.left-g.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?d.left:
-0}if(f.top<(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper?d.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css("position"));
-if(f&&g)c-=a.parentData.left;if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height=a.size.width/a.aspectRatio}if(d+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-d;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=e(this).data("resizable"),a=b.options,c=b.containerOffset,d=b.containerPosition,f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&&
-!a.animate&&/relative/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&&!a.animate&&/static/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add("resizable","ghost",{start:function(){var b=e(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost==
-"string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data("resizable");b.ghost&&b.ghost.css({position:"relative",height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;
-var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,
-10)||0},l=function(b){return!isNaN(parseInt(b,10))}})(jQuery);
-;/*
- * jQuery UI Selectable 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Selectables
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.mouse.js
- * jquery.ui.widget.js
- */
-(function(e){e.widget("ui.selectable",e.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,"selectable-item",{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass("ui-selected"),
-selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})})};this.refresh();this.selectees=f.addClass("ui-selectee");this._mouseInit();this.helper=e("
")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX,
-c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting");b.unselecting=true;f._trigger("unselecting",
-c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f=this;this.dragged=true;if(!this.options.disabled){var d=
-this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.righti||a.bottomb&&a.rightg&&a.bottom *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){var a=this.options;this.containerCache={};this.element.addClass("ui-sortable");
-this.refresh();this.floating=this.items.length?a.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a===
-"disabled"){this.options[a]=b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&
-!b){var f=false;d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem=c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,
-left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};
-this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment();if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=
-document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);
-return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],
-e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a,c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();
-c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):
-this.currentItem.show();for(var b=this.containers.length-1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,
-dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},
-toArray:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+jg&&b+la[this.floating?"width":"height"]?j:g0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();
-if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h=d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),
-this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)});return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b=0;f--)for(var g=d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h=0;b--){var c=this.items[b];if(!(c.instance!=this.currentContainer&&this.currentContainer&&c.item[0]!=this.currentItem[0])){var e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=
-this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top=e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=
-d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!e)f.style.visibility="hidden";return f},update:function(f,g){if(!(e&&!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||
-0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e>=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&&d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",
-a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length===1){this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?"left":"top"];if(Math.abs(h-
-f)this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-
-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.topthis.containment[3])?g:!(g-this.offset.click.topthis.containment[2])?f:!(f-this.offset.click.left=0;e--)if(d.ui.contains(this.containers[e].element[0],this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e>=0;e--){b||c.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,
-this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger("out",g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger("beforeStop",
-a,this._uiHash());for(e=0;e li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");
-a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
-if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion",
-function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=
-this.options;if(a.icons){c(" ").addClass("ui-icon "+a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");
-this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons();
-b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target);
-a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+
-c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options;
-if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);
-if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(),
-e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight||
-e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false",
-"aria-selected":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.13",
-animations:{slide:function(a,b){a=c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);
-f[i]={value:j[1],unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",
-paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery);
-;/*
- * jQuery UI Autocomplete 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Autocomplete
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- * jquery.ui.position.js
- */
-(function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){g=
-false;var f=d.ui.keyCode;switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=
-a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};
-this.menu=d("").addClass("ui-autocomplete").appendTo(d(this.options.appendTo||"body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&
-a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"),i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");
-d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&
-b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source==="string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=
-this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length").data("item.autocomplete",b).append(d(" ").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
-"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
-(function(d){d.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(a){if(d(a.target).closest(".ui-menu-item a").length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
--1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.scrollTop(),c=this.element.height();if(b<0)this.element.scrollTop(g+b);else b>=c&&this.element.scrollTop(g+b-c+a.height())}this.active=a.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:a})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
-this._trigger("blur");this.active=null}},next:function(e){this.move("next",".ui-menu-item:first",e)},previous:function(e){this.move("prev",".ui-menu-item:last",e)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,a,b){if(this.active){e=this.active[e+"All"](".ui-menu-item").eq(0);e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.activate(b,
-this.element.children(a))},nextPage:function(e){if(this.hasScroll())if(!this.active||this.last())this.activate(e,this.element.children(".ui-menu-item:first"));else{var a=this.active.offset().top,b=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-a-b+d(this).height();return c<10&&c>-10});g.length||(g=this.element.children(".ui-menu-item:last"));this.activate(e,g)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
-this.last()?":first":":last"))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(".ui-menu-item:last"));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g<10&&g>-10});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(e,result)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
-this.first()?":last":":first"))},hasScroll:function(){return this.element.height()").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,f=d.primary&&d.secondary,e=[];if(d.primary||d.secondary){if(this.options.text)e.push("ui-button-text-icon"+(f?"s":d.primary?"-primary":"-secondary"));d.primary&&b.prepend(" ");d.secondary&&b.append(" ");if(!this.options.text){e.push(f?"ui-button-icons-only":
-"ui-button-icon-only");this.hasTitle||b.attr("title",c)}}else e.push("ui-button-text-only");b.addClass(e.join(" "))}}});a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()},
-destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");a.Widget.prototype.destroy.call(this)}})})(jQuery);
-;/*
- * jQuery UI Dialog 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Dialog
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- * jquery.ui.button.js
- * jquery.ui.draggable.js
- * jquery.ui.mouse.js
- * jquery.ui.position.js
- * jquery.ui.resizable.js
- */
-(function(c,l){var m={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},n={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},o=c.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,
-position:{my:"center",at:"center",collision:"fit",using:function(a){var b=c(this).css(a).offset().top;b<0&&c(this).css("top",a.top-b)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var a=this,b=a.options,d=b.title||" ",e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("
")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+
-b.dialogClass).css({zIndex:b.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var f=(a.uiDialogTitlebar=c("
")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),
-h=c(' ').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c(" ")).addClass("ui-icon ui-icon-closethick").text(b.closeText).appendTo(h);c(" ").addClass("ui-dialog-title").attr("id",
-e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&&!c.isFunction(b.beforeClose))b.beforeClose=b.beforeclose;f.find("*").add(f).disableSelection();b.draggable&&c.fn.draggable&&a._makeDraggable();b.resizable&&c.fn.resizable&&a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy();a.uiDialog.hide();a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");
-a.uiDialog.remove();a.originalTitle&&a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d,e;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==
-b.uiDialog[0]){e=c(this).css("z-index");isNaN(e)||(d=Math.max(d,e))}});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&&!a||!e.stack&&!e.modal)return d._trigger("focus",b);if(e.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=
-1;d.uiDialog.css("z-index",c.ui.dialog.maxZ);d.element.attr(a);d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),f=g.filter(":first");g=g.filter(":last");if(e.target===g[0]&&!e.shiftKey){f.focus(1);return false}else if(e.target===
-f[0]&&e.shiftKey){g.focus(1);return false}}});c(a.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus();a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("
").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("
").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,
-function(){return!(d=true)});if(d){c.each(a,function(f,h){h=c.isFunction(h)?{click:h,text:f}:h;var i=c(' ').click(function(){h.click.apply(b.element[0],arguments)}).appendTo(g);c.each(h,function(j,k){if(j!=="click")j in o?i[j](k):i.attr(j,k)});c.fn.button&&i.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",
-handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){g=d.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(g);b._trigger("dragStop",f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,
-originalSize:f.originalSize,position:f.position,size:f.size}}a=a===l?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css("position");a=typeof a==="string"?a:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass("ui-dialog-resizing");d._trigger("resizeStart",f,b(h))},resize:function(f,h){d._trigger("resize",
-f,b(h))},stop:function(f,h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c(this).width();d._trigger("resizeStop",f,b(h));c.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):
-[a[0],a[1]];if(b.length===1)b[1]=b[0];c.each(["left","top"],function(g,f){if(+b[g]===b[g]){d[g]=b[g];b[g]=f}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.dialog.prototype.options.position,a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(c.extend({of:window},a));e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);
-if(g in m)e=true;if(g in n)d[g]=f});e&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):
-e.removeClass("ui-dialog-disabled");break;case "draggable":var g=e.is(":data(draggable)");g&&!b&&e.draggable("destroy");!g&&b&&d._makeDraggable();break;case "position":d._position(b);break;case "resizable":(g=e.is(":data(resizable)"))&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title",d.uiDialogTitlebar).html(""+(b||" "));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=
-this.options,b,d,e=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(a.minWidth>a.width)a.width=a.minWidth;b=this.uiDialog.css({height:"auto",width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height==="auto")if(c.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();a=this.element.css("height","auto").height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-
-b,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.13",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),
-create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),
-height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
-b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(a.range==="min"||a.range==="max"?" ui-slider-range-"+a.range:""))}for(var j=c.length;j");
-this.handles=c.add(d(e.join("")).appendTo(b.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(g){g.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(g){d(this).data("index.ui-slider-handle",
-g)});this.handles.keydown(function(g){var k=true,l=d(this).data("index.ui-slider-handle"),i,h,m;if(!b.options.disabled){switch(g.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:k=false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");i=b._start(g,l);if(i===false)return}break}m=b.options.step;i=b.options.values&&b.options.values.length?
-(h=b.values(l)):(h=b.value());switch(g.keyCode){case d.ui.keyCode.HOME:h=b._valueMin();break;case d.ui.keyCode.END:h=b._valueMax();break;case d.ui.keyCode.PAGE_UP:h=b._trimAlignValue(i+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:h=b._trimAlignValue(i-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(i===b._valueMax())return;h=b._trimAlignValue(i+m);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(i===b._valueMin())return;h=b._trimAlignValue(i-
-m);break}b._slide(g,l,h);return k}}).keyup(function(g){var k=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(g,k);b._change(g,k);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();
-return this},_mouseCapture:function(b){var a=this.options,c,f,e,j,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});f=this._valueMax()-this._valueMin()+1;j=this;this.handles.each(function(k){var l=Math.abs(c-j.values(k));if(f>l){f=l;e=d(this);g=k}});if(a.range===true&&this.values(1)===a.min){g+=1;e=d(this.handles[g])}if(this._start(b,g)===false)return false;
-this._mouseSliding=true;j._handleIndex=g;e.addClass("ui-state-active").focus();a=e.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-e.width()/2,top:b.pageY-a.top-e.height()/2-(parseInt(e.css("borderTopWidth"),10)||0)-(parseInt(e.css("borderBottomWidth"),10)||0)+(parseInt(e.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(b){var a=
-this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;if(this.orientation==="horizontal"){a=
-this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);
-c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var f;if(this.options.values&&this.options.values.length){f=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>f||a===1&&c1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}else if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;f=arguments[0];for(e=0;e=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
-_refreshValue:function(){var b=this.options.range,a=this.options,c=this,f=!this._animateOff?a.animate:false,e,j={},g,k,l,i;if(this.options.values&&this.options.values.length)this.handles.each(function(h){e=(c.values(h)-c._valueMin())/(c._valueMax()-c._valueMin())*100;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";d(this).stop(1,1)[f?"animate":"css"](j,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(h===0)c.range.stop(1,1)[f?"animate":"css"]({left:e+"%"},a.animate);
-if(h===1)c.range[f?"animate":"css"]({width:e-g+"%"},{queue:false,duration:a.animate})}else{if(h===0)c.range.stop(1,1)[f?"animate":"css"]({bottom:e+"%"},a.animate);if(h===1)c.range[f?"animate":"css"]({height:e-g+"%"},{queue:false,duration:a.animate})}g=e});else{k=this.value();l=this._valueMin();i=this._valueMax();e=i!==l?(k-l)/(i-l)*100:0;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";this.handle.stop(1,1)[f?"animate":"css"](j,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
-1)[f?"animate":"css"]({width:e+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[f?"animate":"css"]({width:100-e+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[f?"animate":"css"]({height:e+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[f?"animate":"css"]({height:100-e+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.13"})})(jQuery);
-;/*
- * jQuery UI Tabs 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- */
-(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"
",remove:null,select:null,show:null,spinner:"Loading… ",tabTemplate:"#{label} "},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&&
-e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=
-d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]||
-(q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
-this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected=
-this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
-if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));
-this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+
-g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",
-function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")};
-this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected=
--1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";
-d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e=
-d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b,
-e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);
-j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();
-if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null,
-this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this},
-load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c,
-"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
-url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.13"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k'))}function N(a){return a.delegate("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",
-"mouseout",function(){d(this).removeClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).delegate("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a","mouseover",function(){if(!d.datepicker._isDisabledDatepicker(J.inline?a.parent()[0]:J.input[0])){d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
-d(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).addClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover")}})}function H(a,b){d.extend(a,b);for(var c in b)if(b[c]==null||b[c]==B)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.13"}});var z=(new Date).getTime(),J;d.extend(M.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},
-_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){H(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase();f=e=="div"||e=="span";if(!a.id){this.uuid+=1;a.id="dp"+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e=="input")this._connectDatepicker(a,i);else f&&this._inlineDatepicker(a,i)},_newInst:function(a,
-b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:N(d('
'))}},_connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",
-function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,"datepicker",b)}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");b.append&&b.append.remove();if(c){b.append=d(''+c+" ");a[e?"before":"after"](b.append)}a.unbind("focus",this._showDatepicker);b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if(c=="focus"||c=="both")a.focus(this._showDatepicker);
-if(c=="button"||c=="both"){c=this._get(b,"buttonText");var f=this._get(b,"buttonImage");b.trigger=d(this._get(b,"buttonImageOnly")?d(" ").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d(' ').addClass(this._triggerClass).html(f==""?c:d(" ").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);
-return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;gh){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a,c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);
-if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});d.data(a,"datepicker",b);this._setDate(b,this._getDefaultDate(b),true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d(' ');
-this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}H(a.settings,e||{});b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/
-2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,
-"datepicker");if(e=="input"){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=
-false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span"){b=b.children("."+this._inlineClass);b.children().removeClass("ui-state-disabled");b.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=
-true;c.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(e=="div"||e=="span"){b=b.children("."+this._inlineClass);b.children().addClass("ui-state-disabled");b.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;
-for(var b=0;b-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);
-d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true},_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);d.datepicker._curInst&&d.datepicker._curInst!=b&&d.datepicker._curInst.dpDiv.stop(true,true);var c=d.datepicker._get(b,"beforeShow");H(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=
-null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos=d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=
-null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b,c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");var f=d.datepicker._get(b,"duration"),h=function(){var i=b.dpDiv.find("iframe.ui-datepicker-cover");if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],
-top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.datepicker._datepickerShowing=true;d.effects&&d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=d.datepicker._getBorders(a.dpDiv);J=a;a.dpDiv.empty().append(this._generateHTML(a));var c=a.dpDiv.find("iframe.ui-datepicker-cover");
-c.length&&c.css({left:-b[0],top:-b[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("."+this._dayOverClass+" a").mouseover();b=this._getNumberOfMonths(a);c=b[1];a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");c>1&&a.dpDiv.addClass("ui-datepicker-multi-"+c).css("width",17*c+"em");a.dpDiv[(b[0]!=1||b[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");
-a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var e=a.yearshtml;setTimeout(function(){e===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);e=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},
-_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left,b.left+e>g&&g>e?Math.abs(b.left+e-
-g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1||d.expr.filters.hidden(a));)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);this._curInst=
-null};d.effects&&d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);a||e();if(a=this._get(b,"onClose"))a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},
-_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):
-0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear=
-false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=
-d("a",e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a);
-else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b=
-a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,
-g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=A+1-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l<=e)break;j++;l-=e}while(1)}v=this._daylightSavingAdjust(new Date(c,j-1,l));if(v.getFullYear()!=
-c||v.getMonth()+1!=j||v.getDate()!=l)throw"Invalid date";return v},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return"";var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,
-h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:null)||this._defaults.monthNames;var i=function(o){(o=k+112?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();if((f!=a.selectedMonth||h!=a.selectedYear)&&!c)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(e?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||
-a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),f=this._get(a,"hideIfNoPrevNext"),h=this._get(a,"navigationAsDateFormat"),i=this._getNumberOfMonths(a),g=this._get(a,"showCurrentAtPos"),j=this._get(a,"stepMonths"),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?
-new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max");g=a.drawMonth-g;var m=a.drawYear;if(g<0){g+=12;m--}if(o){var n=this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));for(n=k&&nn;){g--;if(g<0){g=11;m--}}}a.drawMonth=g;a.drawYear=m;n=this._get(a,"prevText");n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));
-n=this._canAdjustMonth(a,-1,m,g)?''+n+" ":f?"":''+n+" ";var r=this._get(a,"nextText");r=!h?r:this.formatDate(r,this._daylightSavingAdjust(new Date(m,
-g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?''+r+" ":f?"":''+r+" ";j=this._get(a,"currentText");r=this._get(a,"gotoCurrent")&&
-a.currentDay?u:b;j=!h?j:this.formatDate(j,r,this._getFormatConfig(a));h=!a.inline?''+this._get(a,"closeText")+" ":"";e=e?''+(c?h:"")+(this._isInRange(a,r)?'"+j+" ":"")+(c?"":h)+"
":"";h=parseInt(this._get(a,"firstDay"),10);h=isNaN(h)?0:h;j=this._get(a,"showWeek");r=this._get(a,"dayNames");this._get(a,"dayNamesShort");var s=this._get(a,"dayNamesMin"),A=this._get(a,"monthNames"),v=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),C=this._get(a,"showOtherMonths"),K=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var E=this._getDefaultDate(a),w="",x=0;x'}y+='';var D=j?''+this._get(a,"weekHeader")+" ":"";for(t=0;t<7;t++){var q=(t+h)%7;D+="=5?' class="ui-datepicker-week-end"':"")+'>'+s[q]+" "}y+=D+" ";D=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,
-D);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;D=l?6:Math.ceil((t+D)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var Q=0;Q";var R=!j?"":''+this._get(a,"calculateWeek")(q)+" ";for(t=0;t<7;t++){var I=p?p.apply(a.input?a.input[0]:null,[q]):[true,""],F=q.getMonth()!=g,L=F&&!K||!I[0]||k&&qo;R+='"+(F&&!C?" ":L?''+q.getDate()+
-" ":''+q.getDate()+" ")+" ";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}y+=R+""}g++;if(g>11){g=0;m++}y+="
"+(l?""+(i[0]>0&&G==i[1]-1?'
':""):"");O+=y}w+=O}w+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'':
-"");a._keyEvent=false;return w},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='',o="";if(h||!j)o+=''+i[b]+" ";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='";for(var n=0;n<12;n++)if((!i||n>=e.getMonth())&&(!m||n<=f.getMonth()))o+='"+g[n]+" ";o+=" "}u||(k+=o+(h||!(j&&l)?" ":""));if(!a.yearshtml){a.yearshtml="";if(h||!l)k+=''+c+" ";else{g=this._get(a,"yearRange").split(":");var r=(new Date).getFullYear();i=function(s){s=s.match(/c[+-].*/)?c+parseInt(s.substring(1),10):s.match(/[+-].*/)?r+parseInt(s,10):parseInt(s,10);return isNaN(s)?
-r:s};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='";b<=g;b++)a.yearshtml+='"+b+" ";a.yearshtml+=" ";k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=
-(h||!(j&&l)?" ":"")+o;k+="
";return k},_adjustInstDate:function(a,b,c){var e=a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c=="M"||c=="Y")this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,
-"max");b=c&&ba?a:b},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");if(b)b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,
-b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a);c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!=
-"string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));
-return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker=function(a){if(!this.length)return this;if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&
-arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new M;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.13";window["DP_jQuery_"+z]=d})(jQuery);
-;/*
- * jQuery UI Progressbar 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Progressbar
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- */
-(function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
-this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*
-this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.13"})})(jQuery);
-;/*
- * jQuery UI Effects 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/
- */
-jQuery.effects||function(f,j){function m(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1],
-16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return n.transparent;return n[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return m(b)}function o(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
-a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function p(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d=
-a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function l(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor",
-"borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=m(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
-0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,
-211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},q=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b,
-d){if(f.isFunction(b)){d=b;b=null}return this.queue(function(){var e=f(this),g=e.attr("style")||" ",h=p(o.call(this)),r,v=e.attr("class");f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});r=p(o.call(this));e.attr("class",v);e.animate(u(h,r),{queue:false,duration:a,easding:b,complete:function(){f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments);f.dequeue(this)}})})};
-f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,
-[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.13",save:function(c,a){for(var b=0;b").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});
-c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,
-a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(l(c))return this._show.apply(this,arguments);else{var a=k.apply(this,arguments);
-a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(l(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(l(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%",
-"pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*
-((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=
-e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a==e)return b+d;if((a/=
-e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+
-e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery);
-;/*
- * jQuery UI Effects Fade 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Fade
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
-;/*
- * jQuery UI Effects Fold 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Fold
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1],
-10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
-;/*
- * jQuery UI Effects Highlight 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Highlight
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&&
-this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
-;/*
- * jQuery UI Effects Pulsate 1.8.13
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Pulsate
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments);
-b.dequeue()})})}})(jQuery);
-;
\ No newline at end of file
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){function i(e,i){var n,o,a,r=e.nodeName.toLowerCase();return"area"===r?(n=e.parentNode,o=n.name,e.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap=#"+o+"]")[0],!!a&&s(a)):!1):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r?e.href||i:i)&&s(e)}function s(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return"hidden"===t.css(this,"visibility")}).length}var n=0,o=/^ui-id-\d+$/;t.ui=t.ui||{},t.extend(t.ui,{version:"1.10.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({focus:function(e){return function(i,s){return"number"==typeof i?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),s&&s.call(e)},i)}):e.apply(this,arguments)}}(t.fn.focus),scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css("zIndex",i);if(this.length)for(var s,n,o=t(this[0]);o.length&&o[0]!==document;){if(s=o.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(n=parseInt(o.css("zIndex"),10),!isNaN(n)&&0!==n))return n;o=o.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])},focusable:function(e){return i(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var s=t.attr(e,"tabindex"),n=isNaN(s);return(n||s>=0)&&i(e,!n)}}),t("").outerWidth(1).jquery||t.each(["Width","Height"],function(i,s){function n(e,i,s,n){return t.each(o,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),n&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var o="Width"===s?["Left","Right"]:["Top","Bottom"],a=s.toLowerCase(),r={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+s]=function(i){return i===e?r["inner"+s].call(this):this.each(function(){t(this).css(a,n(this,i)+"px")})},t.fn["outer"+s]=function(e,i){return"number"!=typeof e?r["outer"+s].call(this,e):this.each(function(){t(this).css(a,n(this,e,!0,i)+"px")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t(" ").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),t.support.selectstart="onselectstart"in document.createElement("div"),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i){var s,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;n.length>s;s++)t.options[n[s][0]]&&n[s][1].apply(t.element,i)}},hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)}})})(jQuery),function(t,e){var i=0,s=Array.prototype.slice,n=t.cleanData;t.cleanData=function(e){for(var i,s=0;null!=(i=e[s]);s++)try{t(i).triggerHandler("remove")}catch(o){}n(e)},t.widget=function(i,s,n){var o,a,r,h,l={},c=i.split(".")[0];i=i.split(".")[1],o=c+"-"+i,n||(n=s,s=t.Widget),t.expr[":"][o.toLowerCase()]=function(e){return!!t.data(e,o)},t[c]=t[c]||{},a=t[c][i],r=t[c][i]=function(t,i){return this._createWidget?(arguments.length&&this._createWidget(t,i),e):new r(t,i)},t.extend(r,a,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),h=new s,h.options=t.widget.extend({},h.options),t.each(n,function(i,n){return t.isFunction(n)?(l[i]=function(){var t=function(){return s.prototype[i].apply(this,arguments)},e=function(t){return s.prototype[i].apply(this,t)};return function(){var i,s=this._super,o=this._superApply;return this._super=t,this._superApply=e,i=n.apply(this,arguments),this._super=s,this._superApply=o,i}}(),e):(l[i]=n,e)}),r.prototype=t.widget.extend(h,{widgetEventPrefix:a?h.widgetEventPrefix:i},l,{constructor:r,namespace:c,widgetName:i,widgetFullName:o}),a?(t.each(a._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,r,i._proto)}),delete a._childConstructors):s._childConstructors.push(r),t.widget.bridge(i,r)},t.widget.extend=function(i){for(var n,o,a=s.call(arguments,1),r=0,h=a.length;h>r;r++)for(n in a[r])o=a[r][n],a[r].hasOwnProperty(n)&&o!==e&&(i[n]=t.isPlainObject(o)?t.isPlainObject(i[n])?t.widget.extend({},i[n],o):t.widget.extend({},o):o);return i},t.widget.bridge=function(i,n){var o=n.prototype.widgetFullName||i;t.fn[i]=function(a){var r="string"==typeof a,h=s.call(arguments,1),l=this;return a=!r&&h.length?t.widget.extend.apply(null,[a].concat(h)):a,r?this.each(function(){var s,n=t.data(this,o);return n?t.isFunction(n[a])&&"_"!==a.charAt(0)?(s=n[a].apply(n,h),s!==n&&s!==e?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):e):t.error("no such method '"+a+"' for "+i+" widget instance"):t.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+a+"'")}):this.each(function(){var e=t.data(this,o);e?e.option(a||{})._init():t.data(this,o,new n(a,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,o,a,r=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof i)if(r={},n=i.split("."),i=n.shift(),n.length){for(o=r[i]=t.widget.extend({},this.options[i]),a=0;n.length-1>a;a++)o[n[a]]=o[n[a]]||{},o=o[n[a]];if(i=n.pop(),s===e)return o[i]===e?null:o[i];o[i]=s}else{if(s===e)return this.options[i]===e?null:this.options[i];r[i]=s}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var o,a=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=o=t(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,o=this.widget()),t.each(n,function(n,r){function h(){return i||a.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):e}"string"!=typeof r&&(h.guid=r.guid=r.guid||h.guid||t.guid++);var l=n.match(/^(\w+)\s*(.*)$/),c=l[1]+a.eventNamespace,u=l[2];u?o.delegate(u,c,h):s.bind(c,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}})}(jQuery),function(t){var e=!1;t(document).mouseup(function(){e=!1}),t.widget("ui.mouse",{version:"1.10.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,o="string"==typeof this.options.cancel&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:!1;return n&&!o&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return s._mouseMove(t)},this._mouseUpDelegate=function(t){return s._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(t){t.widget("ui.draggable",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){t("
").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),i.containment&&this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i,s=this,n=!1,o=!1;for(t.ui.ddmanager&&!this.options.dropBehaviour&&(o=t.ui.ddmanager.drop(this,e)),this.dropped&&(o=this.dropped,this.dropped=!1),i=this.element[0];i&&(i=i.parentNode);)i===document&&(n=!0);return n||"original"!==this.options.helper?("invalid"===this.options.revert&&!o||"valid"===this.options.revert&&o||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,o)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",e)!==!1&&s._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;if("parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=["document"===n.containment?0:t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"===n.containment?0:t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"===n.containment?0:t(window).scrollLeft())+t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"===n.containment?0:t(window).scrollTop())+(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||n.containment.constructor===Array)n.containment.constructor===Array&&(this.containment=n.containment);else{if(i=t(n.containment),s=i[0],!s)return;e="hidden"!==t(s).css("overflow"),this.containment=[(parseInt(t(s).css("borderLeftWidth"),10)||0)+(parseInt(t(s).css("paddingLeft"),10)||0),(parseInt(t(s).css("borderTopWidth"),10)||0)+(parseInt(t(s).css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(t(s).css("borderRightWidth"),10)||0)-(parseInt(t(s).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(t(s).css("borderBottomWidth"),10)||0)-(parseInt(t(s).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i}},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n,o,a=this.options,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName),l=e.pageX,c=e.pageY;return this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,e.pageX-this.offset.click.left
i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(c=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,c=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s]),"drag"===e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i){var s=t(this).data("ui-draggable"),n=s.options,o=t.extend({},i,{item:s.element});s.sortables=[],t(n.connectToSortable).each(function(){var i=t.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",e,o))})},stop:function(e,i){var s=t(this).data("ui-draggable"),n=t.extend({},i,{item:s.element});t.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,n))})},drag:function(e,i){var s=t(this).data("ui-draggable"),n=this;t.each(s.sortables,function(){var o=!1,a=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(o=!0,t.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==a&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(a.instance.element[0],this.instance.element[0])&&(o=!1),o})),o?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",e),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",e),s.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),i=t(this).data("ui-draggable").options;e.css("cursor")&&(i._cursor=e.css("cursor")),e.css("cursor",i.cursor)},stop:function(){var e=t(this).data("ui-draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("ui-draggable");e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data("ui-draggable"),s=i.options,n=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY=0;u--)r=p.snapElements[u].left,h=r+p.snapElements[u].width,l=p.snapElements[u].top,c=l+p.snapElements[u].height,m>r-g&&h+g>m&&_>l-g&&c+g>_||m>r-g&&h+g>m&&b>l-g&&c+g>b||v>r-g&&h+g>v&&_>l-g&&c+g>_||v>r-g&&h+g>v&&b>l-g&&c+g>b?("inner"!==f.snapMode&&(s=g>=Math.abs(l-b),n=g>=Math.abs(c-_),o=g>=Math.abs(r-v),a=g>=Math.abs(h-m),s&&(i.position.top=p._convertPositionTo("relative",{top:l-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r-p.helperProportions.width}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h}).left-p.margins.left)),d=s||n||o||a,"outer"!==f.snapMode&&(s=g>=Math.abs(l-_),n=g>=Math.abs(c-b),o=g>=Math.abs(r-m),a=g>=Math.abs(h-v),s&&(i.position.top=p._convertPositionTo("relative",{top:l,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c-p.helperProportions.height,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[u].snapping&&(s||n||o||a||d)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=s||n||o||a||d):(p.snapElements[u].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=!1)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,i=this.data("ui-draggable").options,s=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});s.length&&(e=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(i){t(this).css("zIndex",e+i)}),this.css("zIndex",e+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}t.widget("ui.droppable",{version:"1.10.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},t.ui.ddmanager.droppables[e.scope]=t.ui.ddmanager.droppables[e.scope]||[],t.ui.ddmanager.droppables[e.scope].push(this),e.addClasses&&this.element.addClass("ui-droppable")
+},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];i.length>e;e++)i[e]===this&&i.splice(e,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,i){"accept"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=t.data(this,"ui-droppable");return e.options.greedy&&!e.options.disabled&&e.options.scope===s.options.scope&&e.accept.call(e.element[0],s.currentItem||s.element)&&t.ui.intersect(s,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(n=!0,!1):undefined}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,i,s){if(!i.offset)return!1;var n,o,a=(t.positionAbs||t.position.absolute).left,r=a+t.helperProportions.width,h=(t.positionAbs||t.position.absolute).top,l=h+t.helperProportions.height,c=i.offset.left,u=c+i.proportions.width,d=i.offset.top,p=d+i.proportions.height;switch(s){case"fit":return a>=c&&u>=r&&h>=d&&p>=l;case"intersect":return a+t.helperProportions.width/2>c&&u>r-t.helperProportions.width/2&&h+t.helperProportions.height/2>d&&p>l-t.helperProportions.height/2;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,o=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,e(o,d,i.proportions.height)&&e(n,c,i.proportions.width);case"touch":return(h>=d&&p>=h||l>=d&&p>=l||d>h&&l>p)&&(a>=c&&u>=a||r>=c&&u>=r||c>a&&r>u);default:return!1}},t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;o.length>s;s++)if(!(o[s].options.disabled||e&&!o[s].accept.call(o[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===o[s].element[0]){o[s].proportions.height=0;continue t}o[s].visible="none"!==o[s].element.css("display"),o[s].visible&&("mousedown"===a&&o[s]._activate.call(o[s],i),o[s].offset=o[s].element.offset(),o[s].proportions={width:o[s].element[0].offsetWidth,height:o[s].element[0].offsetHeight})}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,o,a=t.ui.intersect(e,this,this.options.tolerance),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return t.data(this,"ui-droppable").options.scope===n}),o.length&&(s=t.data(o[0],"ui-droppable"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}}(jQuery),function(t){function e(t){return parseInt(t,10)||0}function i(t){return!isNaN(parseInt(t,10))}t.widget("ui.resizable",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,i,s,n,o,a=this,r=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=r.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},i=0;e.length>i;i++)s=t.trim(e[i]),o="ui-resizable-"+s,n=t("
"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),t(this.handles[i]).length},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){a.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(t(this).removeClass("ui-resizable-autohide"),a._handles.show())}).mouseleave(function(){r.disabled||a.resizing||(t(this).addClass("ui-resizable-autohide"),a._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(i){var s,n,o,a=this.options,r=this.element.position(),h=this.element;return this.resizing=!0,/absolute/.test(h.css("position"))?h.css({position:"absolute",top:h.css("top"),left:h.css("left")}):h.is(".ui-draggable")&&h.css({position:"absolute",top:r.top,left:r.left}),this._renderProxy(),s=e(this.helper.css("left")),n=e(this.helper.css("top")),a.containment&&(s+=t(a.containment).scrollLeft()||0,n+=t(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:n},this.size=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalPosition={left:s,top:n},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),h.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(e){var i,s=this.helper,n={},o=this.originalMousePosition,a=this.axis,r=this.position.top,h=this.position.left,l=this.size.width,c=this.size.height,u=e.pageX-o.left||0,d=e.pageY-o.top||0,p=this._change[a];return p?(i=p.apply(this,[e,u,d]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),this.position.top!==r&&(n.top=this.position.top+"px"),this.position.left!==h&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==c&&(n.height=this.size.height+"px"),s.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||this._trigger("resize",e,this.ui()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&t.ui.hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null,h=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,s,n,o,a,r=this.options;a={minWidth:i(r.minWidth)?r.minWidth:0,maxWidth:i(r.maxWidth)?r.maxWidth:1/0,minHeight:i(r.minHeight)?r.minHeight:0,maxHeight:i(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,n=a.minWidth/this.aspectRatio,s=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),n>a.minHeight&&(a.minHeight=n),a.maxWidth>s&&(a.maxWidth=s),a.maxHeight>o&&(a.maxHeight=o)),this._vBoundaries=a},_updateCache:function(t){this.offset=this.helper.offset(),i(t.left)&&(this.position.left=t.left),i(t.top)&&(this.position.top=t.top),i(t.height)&&(this.size.height=t.height),i(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,s=this.size,n=this.axis;return i(t.height)?t.width=t.height*this.aspectRatio:i(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(s.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(s.height-t.height),t.left=e.left+(s.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,s=this.axis,n=i(t.width)&&e.maxWidth&&e.maxWidtht.width,r=i(t.height)&&e.minHeight&&e.minHeight>t.height,h=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,c=/sw|nw|w/.test(s),u=/nw|ne|n/.test(s);return a&&(t.width=e.minWidth),r&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),a&&c&&(t.left=h-e.minWidth),n&&c&&(t.left=h-e.maxWidth),r&&u&&(t.top=l-e.minHeight),o&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,s,n,o=this.helper||this.element;for(t=0;this._proportionallyResizeElements.length>t;t++){if(n=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],e=0;i.length>e;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(s[e],10)||0);n.css({height:o.height()-this.borderDif[0]-this.borderDif[2]||0,width:o.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).data("ui-resizable"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&t.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,c=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var i,s,n,o,a,r,h,l=t(this).data("ui-resizable"),c=l.options,u=l.element,d=c.containment,p=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(l.containerElement=t(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(i=t(p),s=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){s[t]=e(i.css("padding"+n))}),l.containerOffset=i.offset(),l.containerPosition=i.position(),l.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},n=l.containerOffset,o=l.containerSize.height,a=l.containerSize.width,r=t.ui.hasScroll(p,"left")?p.scrollWidth:a,h=t.ui.hasScroll(p)?p.scrollHeight:o,l.parentData={element:p,left:n.left,top:n.top,width:r,height:h}))},resize:function(e){var i,s,n,o,a=t(this).data("ui-resizable"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio),a.position.top=a._helper?h.top:0),a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top,i=Math.abs((a._helper?a.offset.left-u.left:a.offset.left-u.left)+a.sizeDiff.width),s=Math.abs((a._helper?a.offset.top-u.top:a.offset.top-h.top)+a.sizeDiff.height),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o&&(i-=a.parentData.left),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio))},stop:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=function(e){t(e).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):t.each(i.alsoResize,function(t){s(t)})},resize:function(e,i){var s=t(this).data("ui-resizable"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0},h=function(e,s){t(e).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),o={},a=s&&s.length?s:e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(a,function(t,e){var i=(n[e]||0)+(r[e]||0);i&&i>=0&&(o[e]=i||null)}),e.css(o)})};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?h(n.alsoResize):t.each(n.alsoResize,function(t,e){h(t,e)})},stop:function(){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("ui-resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("ui-resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,a=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,c=Math.round((s.width-n.width)/h)*h,u=Math.round((s.height-n.height)/l)*l,d=n.width+c,p=n.height+u,f=i.maxWidth&&d>i.maxWidth,g=i.maxHeight&&p>i.maxHeight,m=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=r,m&&(d+=h),v&&(p+=l),f&&(d-=h),g&&(p-=l),/^(se|s|e)$/.test(a)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.top=o.top-u):/^(sw)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.left=o.left-c):(e.size.width=d,e.size.height=p,e.position.top=o.top-u,e.position.left=o.left-c)}})}(jQuery),function(t){t.widget("ui.selectable",t.ui.mouse,{version:"1.10.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e=t(i.options.filter,i.element[0]),e.addClass("ui-selectee"),e.each(function(){var e=t(this),i=e.offset();t.data(this,"selectable-item",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=t("
")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):undefined}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,o=this.opos[0],a=this.opos[1],r=e.pageX,h=e.pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i),this.helper.css({left:o,top:a,width:r-o,height:h-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left>r||o>i.right||i.top>h||a>i.bottom):"fit"===n.tolerance&&(l=i.left>o&&r>i.right&&i.top>a&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}function i(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}t.widget("ui.sortable",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===t.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,i){"disabled"===e?(this.options[e]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var s=null,n=!1,o=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,o.widgetName+"-item")===o?(s=t(this),!1):undefined}),t.data(e.target,o.widgetName+"-item")===o&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY=0;i--)if(s=this.items[i],n=s.item[0],o=this._intersectsWithPointer(s),o&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;
+this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u=s+l>r&&h>s+l&&e+c>o&&a>e+c;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?u:e+this.helperProportions.width/2>o&&a>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var i="x"===this.options.axis||e(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||e(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=i&&s,o=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return n?this.floating?a&&"right"===a||"down"===o?2:1:o&&("down"===o?2:1):!1},_intersectsWithSides:function(t){var i=e(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=e(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return this.floating&&o?"right"===o&&s||"left"===o&&!s:n&&("down"===n&&i||"up"===n&&!i)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,s,n,o,a=[],r=[],h=this._connectWith();if(h&&e)for(i=h.length-1;i>=0;i--)for(n=t(h[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&r.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(r.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=r.length-1;i>=0;i--)r[i][0].each(function(){a.push(this)});return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,o,a,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&(u.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=u.length-1;i>=0;i--)for(a=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",a),c.push({item:h,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,o;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),o=n.offset(),s.left=o.left,s.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t(e.document[0].createElement(s)).addClass(i||e.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?n.append(" "):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_contactContainers:function(s){var n,o,a,r,h,l,c,u,d,p,f=null,g=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],g=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",s,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(a=1e4,r=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",c=this.positionAbs[h]+this.offset.click[h],o=this.items.length-1;o>=0;o--)t.contains(this.containers[g].element[0],this.items[o].item[0])&&this.items[o].item[0]!==this.currentItem[0]&&(!p||e(this.positionAbs.top+this.offset.click.top,this.items[o].top,this.items[o].height))&&(u=this.items[o].item.offset()[h],d=!1,Math.abs(u-c)>Math.abs(u+this.items[o][l]-c)&&(d=!0,u+=this.items[o][l]),a>Math.abs(u-c)&&(a=Math.abs(u-c),r=this.items[o],this.direction=d?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;r?this._rearrange(s,r,null,!0):this._rearrange(s,null,this.containers[g].element,!0),this._trigger("change",s,this._uiHash()),this.containers[g]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.leftthis.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||s.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}(jQuery),function(t,e){var i="ui-effects-";t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(t,o){var a,r=o.re.exec(i),h=r&&o.parse(r),l=o.space||"rgba";return h?(a=s[l](h),s[c[l].cache]=a[c[l].cache],n=s._rgba=a._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,o.transparent),s):o[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inArray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(s,n,o),h=Math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[Math.round(255*n(r,a,e+1/3)),Math.round(255*n(r,a,e)),Math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parseFloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t}),e}},o=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function s(e,i){var s,n,a={};for(s in i)n=i[s],e[s]!==n&&(o[s]||(t.fx.step[s]||!isNaN(parseFloat(n)))&&(a[s]=n));return a}var n=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addBack():a;l=l.map(function(){var e=t(this);return{el:e,start:i(this)}}),o=function(){t.each(n,function(t,i){e[i]&&a[i+"Class"](e[i])})},o(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=s(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.Deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addClass:function(e){return function(i,s,n,o){return s?t.effects.animateClass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(s,n,o,a,r){return"boolean"==typeof n||n===e?o?t.effects.animateClass.call(this,n?{add:s}:{remove:s},o,a,r):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:s},n,o,a)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,o){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function s(e,i,s,n){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isFunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function n(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.2",save:function(t,e){for(var s=0;e.length>s;s++)null!==e[s]&&t.data(i+e[s],t[0].style[e[s]])},restore:function(t,s){var n,o;for(o=0;s.length>o;o++)null!==s[o]&&(n=t.data(i+s[o]),n===e&&(n=""),t.css(s[o],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},s=t("
").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).focus(),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function e(e){function s(){t.isFunction(o)&&o.call(n[0]),t.isFunction(e)&&e()}var n=t(this),o=i.complete,r=i.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),s()):a.call(n[0],i,s)}var i=s.apply(this,arguments),n=i.mode,o=i.queue,a=t.effects.effect[i.effect];return t.fx.off||!a?n?this[n](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):o===!1?this.each(e):this.queue(o||"fx",e)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=[parseFloat(i),e])}),s}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;((e=Math.pow(2,--i))-1)/11>t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()}(jQuery),function(t){var e=0,i={},s={};i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="hide",s.height=s.paddingTop=s.paddingBottom=s.borderTopWidth=s.borderBottomWidth="show",t.widget("ui.accordion",{version:"1.10.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t("").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()
+},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?(this._activate(e),undefined):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e),undefined)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:o=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[s-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),o.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),(e.active===!1&&e.collapsible===!0||!this.headers.length)&&(e.active=!1,this.active=t()),e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,s=this.options,n=s.heightStyle,o=this.element.parent(),a=this.accordionId="ui-accordion-"+(this.element.attr("id")||++e);this.active=this._findActive(s.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(e){var i=t(this),s=i.attr("id"),n=i.next(),o=n.attr("id");s||(s=a+"-header-"+e,i.attr("id",s)),o||(o=a+"-panel-"+e,n.attr("id",o)),i.attr("aria-controls",o),n.attr("aria-labelledby",s)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(s.event),"fill"===n?(i=o.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(i=0,this.headers.next().each(function(){i=Math.max(i,t(this).css("height","").height())}).height(i))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n[0]===s[0],a=o&&i.collapsible,r=a?t():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:a?t():n,newPanel:r};e.preventDefault(),o&&!i.collapsible||this._trigger("beforeActivate",e,l)===!1||(i.active=a?!1:this.headers.index(n),this.active=o?t():n,this._toggle(l),s.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),o||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._toggleComplete(e)),s.attr({"aria-expanded":"false","aria-hidden":"true"}),s.prev().attr("aria-selected","false"),i.length&&s.length?s.prev().attr("tabIndex",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,e,n){var o,a,r,h=this,l=0,c=t.length&&(!e.length||t.index()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;this.isMultiLine=o?!0:a?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,undefined;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:case o.NUMPAD_ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,s.preventDefault(),undefined;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),undefined):(this._searchTimeout(t),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(t),this._change(t),undefined)}}),this._initSource(),this.menu=t("").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({input:t(),role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(s){s.target===e.element[0]||s.target===i||t.contains(i,s.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",e,{item:s})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t("",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(t("").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[t](e),undefined):(this.search(null,e),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(jQuery),function(t){var e,i,s,n,o="ui-button ui-widget ui-state-default ui-corner-all",a="ui-state-hover ui-state-active ",r="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",h=function(){var e=t(this).find(":ui-button");setTimeout(function(){e.button("refresh")},1)},l=function(e){var i=e.name,s=e.form,n=t([]);return i&&(i=i.replace(/'/g,"\\'"),n=s?t(s).find("[name='"+i+"']"):t("[name='"+i+"']",e.ownerDocument).filter(function(){return!this.form})),n};t.widget("ui.button",{version:"1.10.2",defaultElement:"",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,h),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var a=this,r=this.options,c="checkbox"===this.type||"radio"===this.type,u=c?"":"ui-state-active",d="ui-state-focus";null===r.label&&(r.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(o).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){r.disabled||this===e&&t(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){r.disabled||t(this).removeClass(u)}).bind("click"+this.eventNamespace,function(t){r.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){a.buttonElement.addClass(d)}).bind("blur"+this.eventNamespace,function(){a.buttonElement.removeClass(d)}),c&&(this.element.bind("change"+this.eventNamespace,function(){n||a.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(t){r.disabled||(n=!1,i=t.pageX,s=t.pageY)}).bind("mouseup"+this.eventNamespace,function(t){r.disabled||(i!==t.pageX||s!==t.pageY)&&(n=!0)})),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return r.disabled||n?!1:undefined}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(r.disabled||n)return!1;t(this).addClass("ui-state-active"),a.buttonElement.attr("aria-pressed","true");var e=a.element[0];l(e).not(e).map(function(){return t(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return r.disabled?!1:(t(this).addClass("ui-state-active"),e=this,a.document.one("mouseup",function(){e=null}),undefined)}).bind("mouseup"+this.eventNamespace,function(){return r.disabled?!1:(t(this).removeClass("ui-state-active"),undefined)}).bind("keydown"+this.eventNamespace,function(e){return r.disabled?!1:((e.keyCode===t.ui.keyCode.SPACE||e.keyCode===t.ui.keyCode.ENTER)&&t(this).addClass("ui-state-active"),undefined)}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){t(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===t.ui.keyCode.SPACE&&t(this).click()})),this._setOption("disabled",r.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(t=this.element.parents().last(),e="label[for='"+this.element.attr("id")+"']",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass("ui-helper-hidden-accessible"),i=this.element.is(":checked"),i&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(o+" "+a+" "+r).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){return this._super(t,e),"disabled"===t?(e?this.element.prop("disabled",!0):this.element.prop("disabled",!1),undefined):(this._resetButton(),undefined)},refresh:function(){var e=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?l(this.element[0]).each(function(){t(this).is(":checked")?t(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):t(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"===this.type)return this.options.label&&this.element.val(this.options.label),undefined;var e=this.buttonElement.removeClass(r),i=t(" ",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),s=this.options.icons,n=s.primary&&s.secondary,o=[];s.primary||s.secondary?(this.options.text&&o.push("ui-button-text-icon"+(n?"s":s.primary?"-primary":"-secondary")),s.primary&&e.prepend(" "),s.secondary&&e.append(" "),this.options.text||(o.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||e.attr("title",t.trim(i)))):o.push("ui-button-text-only"),e.addClass(o.join(" "))}}),t.widget("ui.buttonset",{version:"1.10.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var e="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(e?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})}(jQuery),function(t,e){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.dpDiv=s(t("
"))}function s(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(i,"mouseout",function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){t.datepicker._isDisabledDatepicker(o.inline?e.parent()[0]:o.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))})}function n(e,i){t.extend(e,i);for(var s in i)null==i[s]&&(e[s]=i[s]);return e}t.extend(t.ui,{datepicker:{version:"1.10.2"}});var o,a="datepicker",r=(new Date).getTime();t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return n(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var s,n,o;s=e.nodeName.toLowerCase(),n="div"===s||"span"===s,e.id||(this.uuid+=1,e.id="dp"+this.uuid),o=this._newInst(t(e),n),o.settings=t.extend({},i||{}),"input"===s?this._connectDatepicker(e,o):n&&this._inlineDatepicker(e,o)},_newInst:function(e,i){var n=e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(t("
")):this.dpDiv}},_connectDatepicker:function(e,i){var s=t(e);i.append=t([]),i.trigger=t([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),t.data(e,a,i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var s,n,o,a=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t(""+a+" "),e[r?"before":"after"](i.append)),e.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&e.focus(this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),o=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t(" ").addClass(this._triggerClass).attr({src:o,alt:n,title:n}):t(" ").addClass(this._triggerClass).html(o?t(" ").attr({src:o,alt:n,title:n}):n)),e[r?"before":"after"](i.trigger),i.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,s,n,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,s=0,n=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),t.data(e,a,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,s,o,r){var h,l,c,u,d,p=this._dialogInst;return p||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=t(" "),this._dialogInput.keydown(this._doKeyDown),t("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},t.data(this._dialogInput[0],a,p)),n(p.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(p,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(l=document.documentElement.clientWidth,c=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+u,c/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],a,p),this},_destroyDatepicker:function(e){var i,s=t(e),n=t.data(e,a);s.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,a),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,a)}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(i,s,o){var a,r,h,l,c=this._getInst(i);return 2===arguments.length&&"string"==typeof s?"defaults"===s?t.extend({},t.datepicker._defaults):c?"all"===s?t.extend({},c.settings):this._get(c,s):null:(a=s||{},"string"==typeof s&&(a={},a[s]=o),c&&(this._curInst===c&&this._hideDatepicker(),r=this._getDateDatepicker(i,!0),h=this._getMinMaxDate(c,"min"),l=this._getMinMaxDate(c,"max"),n(c.settings,a),null!==h&&a.dateFormat!==e&&a.minDate===e&&(c.settings.minDate=this._formatDate(c,h)),null!==l&&a.dateFormat!==e&&a.maxDate===e&&(c.settings.maxDate=this._formatDate(c,l)),"disabled"in a&&(a.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(t(i),c),this._autoSize(c),this._setDate(c,r),this._updateAlternate(c),this._updateDatepicker(c)),e)},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,s,n,o=t.datepicker._getInst(e.target),a=!0,r=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return n=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",o.dpDiv),n[0]&&t.datepicker._selectDay(e.target,o.selectedMonth,o.selectedYear,n[0]),i=t.datepicker._get(o,"onSelect"),i?(s=t.datepicker._formatDate(o),i.apply(o.input?o.input[0]:null,[s,o])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");
+break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(i){var s,n,o=t.datepicker._getInst(i.target);return t.datepicker._get(o,"constrainInput")?(s=t.datepicker._possibleChars(t.datepicker._get(o,"dateFormat")),n=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">n||!s||s.indexOf(n)>-1):e},_doKeyUp:function(e){var i,s=t.datepicker._getInst(e.target);if(s.input.val()!==s.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,t.datepicker._getFormatConfig(s)),i&&(t.datepicker._setDateFromField(s),t.datepicker._updateAlternate(s),t.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(e){if(e=e.target||e,"input"!==e.nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var i,s,o,a,r,h,l;i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),s=t.datepicker._get(i,"beforeShow"),o=s?s.apply(e,[e,i]):{},o!==!1&&(n(i.settings,o),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),a=!1,t(e).parents().each(function(){return a|="fixed"===t(this).css("position"),!a}),r={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),r=t.datepicker._checkOffset(i,r,a),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":a?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),i.inline||(h=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.zIndex(t(e).zIndex()+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[h]?i.dpDiv.show(h,t.datepicker._get(i,"showOptions"),l):i.dpDiv[h||"show"](h?l:null),i.input.is(":visible")&&!i.input.is(":disabled")&&i.input.focus(),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,o=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,s=this._getNumberOfMonths(e),n=s[1],a=17;e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),e.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&e.input[0]!==document.activeElement&&e.input.focus(),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_getBorders:function(t){var e=function(t){return{thin:1,medium:2,thick:3}[t]||t};return[parseFloat(e(t.css("border-left-width"))),parseFloat(e(t.css("border-top-width")))]},_checkOffset:function(e,i,s){var n=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?n-a:0,i.left-=s&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=s&&i.top===e.input.offset().top+r?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+o>l&&l>o?Math.abs(o+r):0),i},_findPos:function(e){for(var i,s=this._getInst(e),n=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,s,n,o,r=this._curInst;!r||e&&r!==t.data(e,a)||this._datepickerShowing&&(i=this._get(r,"showAnim"),s=this._get(r,"duration"),n=function(){t.datepicker._tidyDialog(r)},t.effects&&(t.effects.effect[i]||t.effects[i])?r.dpDiv.hide(i,t.datepicker._get(r,"showOptions"),s,n):r.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,o=this._get(r,"onClose"),o&&o.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),s=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents("#"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,s){var n=t(e),o=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(o,i+("M"===s?this._get(o,"showCurrentAtPos"):0),s),this._updateDatepicker(o))},_gotoToday:function(e){var i,s=t(e),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(e,i,s){var n=t(e),o=this._getInst(n[0]);o["selected"+("M"===s?"Month":"Year")]=o["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(n)},_selectDay:function(e,i,s,n){var o,a=t(e);t(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||(o=this._getInst(a[0]),o.selectedDay=o.currentDay=t("a",n).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=s,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var s,n=t(e),o=this._getInst(n[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),s=this._get(o,"onSelect"),s?s.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var i,s,n,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),n=this.formatDate(i,s,this._getFormatConfig(e)),t(o).each(function(){t(this).val(n)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,s,n){if(null==i||null==s)throw"Invalid arguments";if(s="object"==typeof s?""+s:s+"",""===s)return null;var o,a,r,h,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),d=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,p=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,g=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,v=-1,_=-1,b=-1,y=!1,w=function(t){var e=i.length>o+1&&i.charAt(o+1)===t;return e&&o++,e},k=function(t){var e=w(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n=RegExp("^\\d{1,"+i+"}"),o=s.substring(l).match(n);if(!o)throw"Missing number at position "+l;return l+=o[0].length,parseInt(o[0],10)},x=function(i,n,o){var a=-1,r=t.map(w(i)?o:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(r,function(t,i){var n=i[1];return s.substr(l,n.length).toLowerCase()===n.toLowerCase()?(a=i[0],l+=n.length,!1):e}),-1!==a)return a+1;throw"Unknown name at position "+l},D=function(){if(s.charAt(l)!==i.charAt(o))throw"Unexpected literal at position "+l;l++};for(o=0;i.length>o;o++)if(y)"'"!==i.charAt(o)||w("'")?D():y=!1;else switch(i.charAt(o)){case"d":_=k("d");break;case"D":x("D",d,p);break;case"o":b=k("o");break;case"m":v=k("m");break;case"M":v=x("M",f,g);break;case"y":m=k("y");break;case"@":h=new Date(k("@")),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"!":h=new Date((k("!")-this._ticksTo1970)/1e4),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"'":w("'")?D():y=!0;break;default:D()}if(s.length>l&&(r=s.substr(l),!/^\s+/.test(r)))throw"Extra/unparsed characters found in date: "+r;if(-1===m?m=(new Date).getFullYear():100>m&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),b>-1)for(v=1,_=b;;){if(a=this._getDaysInMonth(m,v-1),a>=_)break;v++,_-=a}if(h=this._daylightSavingAdjust(new Date(m,v-1,_)),h.getFullYear()!==m||h.getMonth()+1!==v||h.getDate()!==_)throw"Invalid date";return h},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},l=function(t,e,i){var s=""+e;if(h(t))for(;i>s.length;)s="0"+s;return s},c=function(t,e,i,s){return h(t)?s[e]:i[e]},u="",d=!1;if(e)for(s=0;t.length>s;s++)if(d)"'"!==t.charAt(s)||h("'")?u+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":u+=l("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),n,o);break;case"o":u+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=l("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),a,r);break;case"y":u+=h("y")?e.getFullYear():(10>e.getYear()%100?"0":"")+e.getYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":h("'")?u+="'":d=!0;break;default:u+=t.charAt(s)}return u},_possibleChars:function(t){var e,i="",s=!1,n=function(i){var s=t.length>e+1&&t.charAt(e+1)===i;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||n("'")?i+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,i){return t.settings[i]!==e?t.settings[i]:this._defaults[i]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,a=this._getFormatConfig(t);try{o=this.parseDate(i,s,a)||n}catch(r){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,s){var n=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},o=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=n.getFullYear(),a=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":a+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a))}l=h.exec(i)}return new Date(o,a,r)},a=null==i||""===i?s:"string"==typeof i?o(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return a=a&&"Invalid Date"==""+a?s:a,a&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),n===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){window["DP_jQuery_"+r].datepicker._adjustDate(s,-i,"M")},next:function(){window["DP_jQuery_"+r].datepicker._adjustDate(s,+i,"M")},hide:function(){window["DP_jQuery_"+r].datepicker._hideDatepicker()},today:function(){window["DP_jQuery_"+r].datepicker._gotoToday(s)},selectDay:function(){return window["DP_jQuery_"+r].datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return window["DP_jQuery_"+r].datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return window["DP_jQuery_"+r].datepicker._selectMonthYear(s,this,"Y"),!1}};t(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,o,a,r,h,l,c,u,d,p,f,g,m,v,_,b,y,w,k,x,D,C,I,P,T,M,S,z,A,H,N,E,W,O,F,R,j=new Date,L=this._daylightSavingAdjust(new Date(j.getFullYear(),j.getMonth(),j.getDate())),Y=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),V=this._get(t,"hideIfNoPrevNext"),K=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),q=this._get(t,"showCurrentAtPos"),Q=this._get(t,"stepMonths"),X=1!==U[0]||1!==U[1],$=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),Z=t.drawMonth-q,te=t.drawYear;if(0>Z&&(Z+=12,te--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=G&&G>e?G:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-Q,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?""+i+" ":V?"":""+i+" ",n=this._get(t,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(te,Z+Q,1)),this._getFormatConfig(t)):n,o=this._canAdjustMonth(t,1,te,Z)?""+n+" ":V?"":""+n+" ",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?$:L,a=K?this.formatDate(a,r,this._getFormatConfig(t)):a,h=t.inline?"":""+this._get(t,"closeText")+" ",l=B?""+(Y?h:"")+(this._isInRange(t,r)?""+a+" ":"")+(Y?"":h)+"
":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),_=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),y="",k=0;U[0]>k;k++){for(x="",this.maxRows=4,D=0;U[1]>D;D++){if(C=this._daylightSavingAdjust(new Date(te,Z,t.selectedDay)),I=" ui-corner-all",P="",X){if(P+=""}for(P+="
"+"",T=u?""+this._get(t,"weekHeader")+" ":"",w=0;7>w;w++)M=(w+c)%7,T+="=5?" class='ui-datepicker-week-end'":"")+">"+""+p[M]+" ";for(P+=T+" ",S=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),z=(this._getFirstDayOfMonth(te,Z)-c+7)%7,A=Math.ceil((z+S)/7),H=X?this.maxRows>A?this.maxRows:A:A,this.maxRows=H,N=this._daylightSavingAdjust(new Date(te,Z,1-z)),E=0;H>E;E++){for(P+="",W=u?""+this._get(t,"calculateWeek")(N)+" ":"",w=0;7>w;w++)O=m?m.apply(t.input?t.input[0]:null,[N]):[!0,""],F=N.getMonth()!==Z,R=F&&!_||!O[0]||G&&G>N||J&&N>J,W+=""+(F&&!v?" ":R?""+N.getDate()+" ":""+N.getDate()+" ")+" ",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);P+=W+" "}Z++,Z>11&&(Z=0,te++),P+="
"+(X?"
"+(U[0]>0&&D===U[1]-1?"
":""):""),x+=P}y+=x}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),b="",y="";if(o||!m)y+=""+a[e]+" ";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,y+="",c=0;12>c;c++)(!h||c>=s.getMonth())&&(!l||n.getMonth()>=c)&&(y+=""+r[c]+" ");y+=" "}if(_||(b+=y+(!o&&m&&v?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!v)b+=""+i+" ";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),g=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,g=n?Math.min(g,n.getFullYear()):g,t.yearshtml+="";g>=f;f++)t.yearshtml+=""+f+" ";t.yearshtml+=" ",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),_&&(b+=(!o&&m&&v?"":" ")+y),b+="
"},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"===i?e:0),n=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,h=this._get(t,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||e.getTime()>=n.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||r>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.10.2",window["DP_jQuery_"+r]=t}(jQuery),function(t){var e={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget("ui.dialog",{version:"1.10.2",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||t(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var e=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function i(){var e=this.document[0].activeElement,i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),this.close(e),undefined;if(e.keyCode===t.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==s[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(n.focus(1),e.preventDefault()):(s.focus(1),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("
").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t("
").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("
").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html(" "),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("
").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(t.each(i,function(i,s){var n,o;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,s.click=function(){n.apply(e.element[0],arguments)},o={icons:s.icons,text:s.showText},delete s.icons,delete s.showText,t("
",s).button(o).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){t(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,o){s.position=[o.position.left-i.document.scrollLeft(),o.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(o))
+}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var i=this,s=this.options,n=s.resizable,o=this.uiDialog.css("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:a,start:function(s,n){t(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,o){s.height=t(this).height(),s.width=t(this).width(),t(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(o))}}).css("position",o)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(s){var n=this,o=!1,a={};t.each(s,function(t,s){n._setOption(t,s),t in e&&(o=!0),t in i&&(a[t]=s)}),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",a)},_setOption:function(t,e){var i,s,n=this.uiDialog;"dialogClass"===t&&n.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(i=n.is(":data(ui-draggable)"),i&&!e&&n.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(s=n.is(":data(ui-resizable)"),s&&!e&&n.resizable("destroy"),s&&"string"==typeof e&&n.resizable("option","handles",e),s||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("
").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;t.ui.dialog.overlayInstances||this._delay(function(){t.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(s){e._allowInteraction(s)||(s.preventDefault(),t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=t("
").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),t.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(t.ui.dialog.overlayInstances--,t.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),t.ui.dialog.overlayInstances=0,t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{_position:function(){var e,i=this.options.position,s=[],n=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(s=i.split?i.split(" "):[i[0],i[1]],1===s.length&&(s[1]=s[0]),t.each(["left","top"],function(t,e){+s[t]===s[t]&&(n[t]=s[t],s[t]=e)}),i={my:s[0]+(0>n[0]?n[0]:"+"+n[0])+" "+s[1]+(0>n[1]?n[1]:"+"+n[1]),at:s.join(" ")}),i=t.extend({},t.ui.dialog.prototype.options.position,i)):i=t.ui.dialog.prototype.options.position,e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.position(i),e||this.uiDialog.hide()}})}(jQuery),function(t){var e=/up|down|vertical/,i=/up|left|vertical|horizontal/;t.effects.effect.blind=function(s,n){var o,a,r,h=t(this),l=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(h,s.mode||"hide"),u=s.direction||"up",d=e.test(u),p=d?"height":"width",f=d?"top":"left",g=i.test(u),m={},v="show"===c;h.parent().is(".ui-effects-wrapper")?t.effects.save(h.parent(),l):t.effects.save(h,l),h.show(),o=t.effects.createWrapper(h).css({overflow:"hidden"}),a=o[p](),r=parseFloat(o.css(f))||0,m[p]=v?a:0,g||(h.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({position:"absolute"}),m[f]=v?r:a+r),v&&(o.css(p,0),g||o.css(f,r+a)),o.animate(m,{duration:s.duration,easing:s.easing,queue:!1,complete:function(){"hide"===c&&h.hide(),t.effects.restore(h,l),t.effects.removeWrapper(h),n()}})}}(jQuery),function(t){t.effects.effect.bounce=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"effect"),l="hide"===h,c="show"===h,u=e.direction||"up",d=e.distance,p=e.times||5,f=2*p+(c||l?1:0),g=e.duration/f,m=e.easing,v="up"===u||"down"===u?"top":"left",_="up"===u||"left"===u,b=a.queue(),y=b.length;for((c||l)&&r.push("opacity"),t.effects.save(a,r),a.show(),t.effects.createWrapper(a),d||(d=a["top"===v?"outerHeight":"outerWidth"]()/3),c&&(o={opacity:1},o[v]=0,a.css("opacity",0).css(v,_?2*-d:2*d).animate(o,g,m)),l&&(d/=Math.pow(2,p-1)),o={},o[v]=0,s=0;p>s;s++)n={},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m).animate(o,g,m),d=l?2*d:d/2;l&&(n={opacity:0},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m)),a.queue(function(){l&&a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}),y>1&&b.splice.apply(b,[1,0].concat(b.splice(y,f+1))),a.dequeue()}}(jQuery),function(t){t.effects.effect.clip=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"hide"),l="show"===h,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(a,r),a.show(),s=t.effects.createWrapper(a).css({overflow:"hidden"}),n="IMG"===a[0].tagName?s:a,o=n[d](),l&&(n.css(d,0),n.css(p,o/2)),f[d]=l?o:0,f[p]=l?0:o/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","opacity","height","width"],a=t.effects.setMode(n,e.mode||"hide"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h?"pos":"neg",u={opacity:r?1:0};t.effects.save(n,o),n.show(),t.effects.createWrapper(n),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===c?-s:s),u[l]=(r?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var o,a,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),g="show"===f,m=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/d),_=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*_,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*v,l=a-(d-1)/2,p.clone().appendTo("body").wrap("
").css({position:"absolute",visibility:"visible",left:-a*v,top:-o*_}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:_,left:r+(g?l*v:0),top:h+(g?c*_:0),opacity:g?0:1}).animate({left:r+(g?0:l*v),top:h+(g?0:c*_),opacity:g?1:0},e.duration||500,e.easing,s)}}(jQuery),function(t){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}}(jQuery),function(t){t.effects.effect.fold=function(e,i){var s,n,o=t(this),a=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(o,e.mode||"hide"),h="show"===r,l="hide"===r,c=e.size||15,u=/([0-9]+)%/.exec(c),d=!!e.horizFirst,p=h!==d,f=p?["width","height"]:["height","width"],g=e.duration/2,m={},v={};t.effects.save(o,a),o.show(),s=t.effects.createWrapper(o).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],u&&(c=parseInt(u[1],10)/100*n[l?0:1]),h&&s.css(d?{height:0,width:c}:{height:c,width:0}),m[f[0]]=h?n[0]:c,v[f[1]]=h?n[1]:0,s.animate(m,g,e.easing).animate(v,g,e.easing,function(){l&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),i()})}}(jQuery),function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],o=t.effects.setMode(s,e.mode||"show"),a={backgroundColor:s.css("backgroundColor")};"hide"===o&&(a.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&s.hide(),t.effects.restore(s,n),i()}})}}(jQuery),function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),o=t.effects.setMode(n,e.mode||"show"),a="show"===o,r="hide"===o,h=a||"hide"===o,l=2*(e.times||5)+(h?1:0),c=e.duration/l,u=0,d=n.queue(),p=d.length;for((a||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;l>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.puff=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"hide"),o="hide"===n,a=parseInt(e.percent,10)||150,r=a/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:o?a:100,from:o?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(e)},t.effects.effect.scale=function(e,i){var s=t(this),n=t.extend(!0,{},e),o=t.effects.setMode(s,e.mode||"effect"),a=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===o?0:100),r=e.direction||"both",h=e.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},c={y:"horizontal"!==r?a/100:1,x:"vertical"!==r?a/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==o&&(n.origin=h||["middle","center"],n.restore=!0),n.from=e.from||("show"===o?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*c.y,width:l.width*c.x,outerHeight:l.outerHeight*c.y,outerWidth:l.outerWidth*c.x},n.fade&&("show"===o&&(n.from.opacity=0,n.to.opacity=1),"hide"===o&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},t.effects.effect.size=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],c=["fontSize"],u=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],d=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=t.effects.setMode(a,e.mode||"effect"),f=e.restore||"effect"!==p,g=e.scale||"both",m=e.origin||["middle","center"],v=a.css("position"),_=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&a.show(),s={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===e.mode&&"show"===p?(a.from=e.to||b,a.to=e.from||s):(a.from=e.from||("show"===p?b:s),a.to=e.to||("hide"===p?b:s)),o={from:{y:a.from.height/s.height,x:a.from.width/s.width},to:{y:a.to.height/s.height,x:a.to.width/s.width}},("box"===g||"both"===g)&&(o.from.y!==o.to.y&&(_=_.concat(u),a.from=t.effects.setTransition(a,u,o.from.y,a.from),a.to=t.effects.setTransition(a,u,o.to.y,a.to)),o.from.x!==o.to.x&&(_=_.concat(d),a.from=t.effects.setTransition(a,d,o.from.x,a.from),a.to=t.effects.setTransition(a,d,o.to.x,a.to))),("content"===g||"both"===g)&&o.from.y!==o.to.y&&(_=_.concat(c).concat(l),a.from=t.effects.setTransition(a,c,o.from.y,a.from),a.to=t.effects.setTransition(a,c,o.to.y,a.to)),t.effects.save(a,_),a.show(),t.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),m&&(n=t.effects.getBaseline(m,s),a.from.top=(s.outerHeight-a.outerHeight())*n.y,a.from.left=(s.outerWidth-a.outerWidth())*n.x,a.to.top=(s.outerHeight-a.to.outerHeight)*n.y,a.to.left=(s.outerWidth-a.to.outerWidth)*n.x),a.css(a.from),("content"===g||"both"===g)&&(u=u.concat(["marginTop","marginBottom"]).concat(c),d=d.concat(["marginLeft","marginRight"]),l=r.concat(u).concat(d),a.find("*[width]").each(function(){var i=t(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&t.effects.save(i,l),i.from={height:s.height*o.from.y,width:s.width*o.from.x,outerHeight:s.outerHeight*o.from.y,outerWidth:s.outerWidth*o.from.x},i.to={height:s.height*o.to.y,width:s.width*o.to.x,outerHeight:s.height*o.to.y,outerWidth:s.width*o.to.x},o.from.y!==o.to.y&&(i.from=t.effects.setTransition(i,u,o.from.y,i.from),i.to=t.effects.setTransition(i,u,o.to.y,i.to)),o.from.x!==o.to.x&&(i.from=t.effects.setTransition(i,d,o.from.x,i.from),i.to=t.effects.setTransition(i,d,o.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){f&&t.effects.restore(i,l)})})),a.animate(a.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===p&&a.hide(),t.effects.restore(a,_),f||("static"===v?a.css({position:"relative",top:a.to.top,left:a.to.left}):t.each(["top","left"],function(t,e){a.css(e,function(e,i){var s=parseInt(i,10),n=t?a.to.left:a.to.top;return"auto"===i?n+"px":s+n+"px"})})),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},g={},m={},v=n.queue(),_=v.length;for(t.effects.save(n,o),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,g[d]=(p?"+=":"-=")+2*h,m[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(g,u,e.easing).animate(m,u,e.easing);n.animate(g,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","width","height"],a=t.effects.setMode(n,e.mode||"show"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u={};t.effects.save(n,o),n.show(),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),u[l]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.transfer=function(e,i){var s=t(this),n=t(e.to),o="fixed"===n.css("position"),a=t("body"),r=o?a.scrollTop():0,h=o?a.scrollLeft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("
").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s.innerWidth(),position:o?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),i()})}}(jQuery),function(t){t.widget("ui.menu",{version:"1.10.2",defaultElement:"
",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,o,a,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",o=String.fromCharCode(e.keyCode),a=!1,clearTimeout(this.filterTimer),o===n?a=!0:o=n+o,r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=a&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(o=String.fromCharCode(e.keyCode),r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()
"),a=n.children()[0];return t("body").append(n),i=a.offsetWidth,n.css("overflow","scroll"),s=a.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),o=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width
s?"left":i>0?"right":"center",vertical:0>o?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>g&&g>r(n+o)&&(h.vertical="middle"),h.important=a(r(i),r(s))>a(r(n),r(o))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(I,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,o=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-o-n;e.collisionWidth>o?h>0&&0>=l?(i=t.left+h+e.collisionWidth-o-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+o-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=a(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-o-n;e.collisionHeight>o?h>0&&0>=l?(i=t.top+h+e.collisionHeight-o-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+o-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=a(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,a=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-a-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-a-o,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,a=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-a-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-a-o,t.top+p+f+g>c&&(0>s||r(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-h,t.top+p+f+g>u&&(i>0||u>r(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,o,a=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(a?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},a&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)e.style[o]=s[o];e.appendChild(r),i=a||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()}(jQuery),function(t,e){t.widget("ui.progressbar",{version:"1.10.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("").appendTo(this.element),this._refreshValue()
+},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),e)},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("
").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})}(jQuery),function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),o=" ",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("
").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,o,a,r,h,l,c=this,u=this.options;return u.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,o.addClass("ui-state-active").focus(),h=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-o.width()/2,top:e.pageY-h.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,o;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,o=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),o!==!1&&this.values(e,i,!0))):i!==this.value()&&(o=this._trigger("slide",t,{handle:this.handles[e],value:i}),o!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,o,a=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),c["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](c,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,o,a,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(a=this.options.step,n=o=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:o=this._valueMin();break;case t.ui.keyCode.END:o=this._valueMax();break;case t.ui.keyCode.PAGE_UP:o=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;o=this._trimAlignValue(n+a);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;o=this._trimAlignValue(n-a)}this._slide(i,r,o)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})}(jQuery),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.10.2",defaultElement:" ",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);void 0!==n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return" "},_buttonHtml:function(){return"▲ "+" "+""+"▼ "+" "},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,this.element.val(this._format(i)),void 0}("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(e(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(jQuery),function(t,e){function i(){return++n}function s(t){return t.hash.length>1&&decodeURIComponent(t.href.replace(o,""))===decodeURIComponent(location.href.replace(o,""))}var n=0,o=/#.*$/;t.widget("ui.tabs",{version:"1.10.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var i=this.options.active,s=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(s,o){return t(o).attr("aria-controls")===n?(i=s,!1):e}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=s?!1:0)),!s&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(i){var s=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(s),o=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(n),e;case t.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(n===this.options.active?!1:n),e;default:return}i.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,o),i.ctrlKey||(s.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):e},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,i){return"active"===t?(this._activate(i),e):"disabled"===t?(this._setupDisabled(i),e):(this._super(t,i),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(i),"heightStyle"===t&&this._setupHeightStyle(i),e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,n){var o,a,r,h=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");s(n)?(o=n.hash,a=e.element.find(e._sanitizeSelector(o))):(r=e._tabId(l),o="#"+r,a=e.element.find(o),a.length||(a=e._createPanel(r),a.insertAfter(e.panels[i-1]||e.tablist)),a.attr("aria-live","polite")),a.length&&(e.panels=e.panels.add(a)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":o.substring(1),"aria-labelledby":h}),a.attr("aria-labelledby",h)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,s=0;i=this.tabs[s];s++)e===!0||-1!==t.inArray(s,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n.closest("li"),a=o[0]===s[0],r=a&&i.collapsible,h=r?t():this._getPanelForTab(o),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function s(){o.running=!1,o._trigger("activate",e,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,s):(a.show(),s())}var o=this,a=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),a.length&&r.length?i.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var s=this.options.disabled;s!==!1&&(i===e?s=!1:(i=this._getIndex(i),s=t.isArray(s)?t.map(s,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(s))},disable:function(i){var s=this.options.disabled;if(s!==!0){if(i===e)s=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,s))return;s=t.isArray(s)?t.merge([i],s).sort():[i]}this._setupDisabled(s)}},load:function(e,i){e=this._getIndex(e);var n=this,o=this.tabs.eq(e),a=o.find(".ui-tabs-anchor"),r=this._getPanelForTab(o),h={tab:o,panel:r};s(a[0])||(this.xhr=t.ajax(this._ajaxSettings(a,i,h)),this.xhr&&"canceled"!==this.xhr.statusText&&(o.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){r.html(t),n._trigger("load",i,h)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&n.panels.stop(!1,!0),o.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href"),beforeSend:function(e,o){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})}(jQuery),function(t){function e(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))}function i(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")}var s=0;t.widget("ui.tooltip",{version:"1.10.2",options:{content:function(){var e=t(this).attr("title")||"";return t("
").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var s=this;return"disabled"===e?(this[i?"_disable":"_enable"](),this.options[e]=i,void 0):(this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e)}),void 0)},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s?this._open(e,t,s):(i=s.call(t[0],function(i){t.data("ui-tooltip-open")&&n._delay(function(){e&&(e.type=o),this._open(e,t,i)
+})}),i&&this._open(e,t,i),void 0)},_open:function(i,s,n){function o(t){l.of=t,a.is(":hidden")||a.position(l)}var a,r,h,l=t.extend({},this.options.position);if(n){if(a=this._find(s),a.length)return a.find(".ui-tooltip-content").html(n),void 0;s.is("[title]")&&(i&&"mouseover"===i.type?s.attr("title",""):s.removeAttr("title")),a=this._tooltip(s),e(s,a.attr("id")),a.find(".ui-tooltip-content").html(n),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:o}),o(i)):a.position(t.extend({of:s},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){a.is(":visible")&&(o(l.of),clearInterval(h))},t.fx.interval)),this._trigger("open",i,{tooltip:a}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=s[0],this.close(i,!0)}},remove:function(){this._removeTooltip(a)}},i&&"mouseover"!==i.type||(r.mouseleave="close"),i&&"focusin"!==i.type||(r.focusout="close"),this._on(!0,s,r)}},close:function(e){var s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);this.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),i(n),o.stop(!0),this._hide(o,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:o}),this.closing=!1)},_tooltip:function(e){var i="ui-tooltip-"+s++,n=t("").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("
").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.document[0].body),this.tooltips[i]=e,n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))})}})}(jQuery);
\ No newline at end of file
diff -r 2251fb41dbc7 -r 1e110b03ae96 web/res/js/jquery.min.js
--- a/web/res/js/jquery.min.js Sun Apr 21 10:07:03 2013 +0200
+++ b/web/res/js/jquery.min.js Sun Apr 21 21:54:24 2013 +0200
@@ -1,4 +1,5 @@
-/*! jQuery v1.7.1 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g
0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;ca ",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o=""+"",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
-f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c ",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML=" ",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="
";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,""," "],thead:[1,""],tr:[2,""],td:[3,""],col:[2,""],area:[1,""," "],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
-{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>$2>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/