import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_Feed_Reader
|
||||
* @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: EntryAbstract.php 16966 2009-07-22 15:22:18Z padraic $
|
||||
* @version $Id: EntryAbstract.php 19042 2009-11-19 15:23:34Z padraic $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -118,6 +118,9 @@ abstract class Zend_Feed_Reader_EntryAbstract
|
||||
public function getEncoding()
|
||||
{
|
||||
$assumed = $this->getDomDocument()->encoding;
|
||||
if (empty($assumed)) {
|
||||
$assumed = 'UTF-8';
|
||||
}
|
||||
return $assumed;
|
||||
}
|
||||
|
||||
@ -134,7 +137,7 @@ abstract class Zend_Feed_Reader_EntryAbstract
|
||||
return $dom->saveXml();
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Get the entry type
|
||||
*
|
||||
* @return string
|
||||
@ -154,7 +157,7 @@ abstract class Zend_Feed_Reader_EntryAbstract
|
||||
return $this->_xpath;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Set the XPath query
|
||||
*
|
||||
* @param DOMXPath $xpath
|
||||
|
Reference in New Issue
Block a user