ESTRICT double constructor (wrong order of them)
This commit is contained in:
parent
8f87205cdd
commit
823e39f22e
@ -51,11 +51,6 @@ class ONYX_RSS
|
|||||||
* private $type;
|
* private $type;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function ONYX_RSS($charset = 'UTF-8')
|
|
||||||
{
|
|
||||||
$this->__construct($charset);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Forward compatibility with PHP v.5
|
// Forward compatibility with PHP v.5
|
||||||
// http://www.phpvolcano.com/eide/php5.php?page=start
|
// http://www.phpvolcano.com/eide/php5.php?page=start
|
||||||
function __construct($charset = 'UTF-8')
|
function __construct($charset = 'UTF-8')
|
||||||
@ -89,6 +84,11 @@ class ONYX_RSS
|
|||||||
xml_set_character_data_handler($this->parser, 'cdata');
|
xml_set_character_data_handler($this->parser, 'cdata');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function ONYX_RSS($charset = 'UTF-8')
|
||||||
|
{
|
||||||
|
$this->__construct($charset);
|
||||||
|
}
|
||||||
|
|
||||||
function parse($uri, $file=false, $time=false, $local=false)
|
function parse($uri, $file=false, $time=false, $local=false)
|
||||||
{
|
{
|
||||||
$this->rss = array();
|
$this->rss = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user