Revision: 7509
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7509&view=rev
Author: rurban
Date: 2010-06-09 11:35:44 +0000 (Wed, 09 Jun 2010)
Log Message:
-----------
remove php5-only syntax
Modified Paths:
--------------
trunk/lib/AtomParser.php
Modified: trunk/lib/AtomParser.php
===================================================================
--- trunk/lib/AtomParser.php 2010-06-09 10:34:03 UTC (rev 7508)
+++ trunk/lib/AtomParser.php 2010-06-09 11:35:44 UTC (rev 7509)
@@ -233,11 +233,11 @@
}
}
- private function trim_data($array) {
+ function trim_data($array) {
return array_map(array("self", "trim_element"), $array);
}
- private function trim_element($element) {
+ function trim_element($element) {
if (is_array($element)) {
return $this->trim_data($element);
} elseif (is_string($element)) {
@@ -245,7 +245,7 @@
}
}
- private function serialize_tag($tag_name, $attributes) {
+ function serialize_tag($tag_name, $attributes) {
$tag = "<" . $tag_name;
foreach ($attributes as $k => $v) {
$tag .= " " . strtolower($k). "=\"$v\"";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|