From: <var...@us...> - 2014-08-27 16:18:19
|
Revision: 9058 http://sourceforge.net/p/phpwiki/code/9058 Author: vargenau Date: 2014-08-27 16:18:17 +0000 (Wed, 27 Aug 2014) Log Message: ----------- Use parent::__construct Modified Paths: -------------- trunk/lib/RssWriter.php trunk/lib/RssWriter2.php Modified: trunk/lib/RssWriter.php =================================================================== --- trunk/lib/RssWriter.php 2014-08-27 14:34:23 UTC (rev 9057) +++ trunk/lib/RssWriter.php 2014-08-27 16:18:17 UTC (rev 9058) @@ -13,7 +13,7 @@ { function __construct() { - $this->XmlElement('rdf:RDF', + parent::__construct('rdf:RDF', array('xmlns' => "http://purl.org/rss/1.0/", 'xmlns:rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#')); Modified: trunk/lib/RssWriter2.php =================================================================== --- trunk/lib/RssWriter2.php 2014-08-27 14:34:23 UTC (rev 9057) +++ trunk/lib/RssWriter2.php 2014-08-27 16:18:17 UTC (rev 9058) @@ -19,8 +19,7 @@ { function __construct() { - $this->XmlElement('rss', - array('version' => "2.0")); + parent::__construct('rss', array('version' => "2.0")); // not used. no namespaces should be used. $this->_modules = array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |