aboutsummaryrefslogtreecommitdiff
path: root/views/xml
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 21:25:25 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 21:25:25 +0000
commit694781d190fba09437a37983f077d0381a56050b (patch)
tree788d5eeb369d7dc85bb35adf4fd1abe86f00b504 /views/xml
parentd46162271a5ca3c3af690173d0abfcd1ab9f69a1 (diff)
downloadelgg-694781d190fba09437a37983f077d0381a56050b.tar.gz
elgg-694781d190fba09437a37983f077d0381a56050b.tar.bz2
Finished standardizing seconday views.
git-svn-id: http://code.elgg.org/elgg/trunk@3559 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/xml')
-rw-r--r--views/xml/api/output.php29
-rw-r--r--views/xml/messages/exceptions/exception.php37
-rw-r--r--views/xml/pageshells/pageshell.php25
-rw-r--r--views/xml/xml-rpc/output.php23
4 files changed, 54 insertions, 60 deletions
diff --git a/views/xml/api/output.php b/views/xml/api/output.php
index 07b300073..c2385b6e3 100644
--- a/views/xml/api/output.php
+++ b/views/xml/api/output.php
@@ -1,17 +1,16 @@
<?php
- /**
- * Elgg XML output
- * This outputs the api as XML
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- *
- */
+/**
+ * Elgg XML output
+ * This outputs the api as XML
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
+ */
- $result = $vars['result'];
- $export = $result->export();
-
- echo serialise_object_to_xml($export, "elgg");
-?> \ No newline at end of file
+$result = $vars['result'];
+$export = $result->export();
+
+echo serialise_object_to_xml($export, "elgg"); \ No newline at end of file
diff --git a/views/xml/messages/exceptions/exception.php b/views/xml/messages/exceptions/exception.php
index eae45f397..f13457e7c 100644
--- a/views/xml/messages/exceptions/exception.php
+++ b/views/xml/messages/exceptions/exception.php
@@ -1,31 +1,28 @@
<?php
+/**
+ * Elgg exception
+ * Displays a single exception
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
+ * @uses $vars['object'] An exception
+ */
- /**
- * Elgg exception
- * Displays a single exception
- *
- * @package Elgg
- * @subpackage Core
-
- * @author Curverider Ltd
-
- * @link http://elgg.org/
- *
- * @uses $vars['object'] An exception
- */
-
- global $CONFIG;
+global $CONFIG;
?>
-<!--
+<!--
<?php echo get_class($vars['object']); ?>: <?php echo autop($vars['object']->getMessage()); ?>
<?php if ($CONFIG->debug) { ?>
<?php
- echo print_r($vars['object'], true);
-
- ?>
+ echo print_r($vars['object'], true);
+
+ ?>
<?php } ?>
-
+
--> \ No newline at end of file
diff --git a/views/xml/pageshells/pageshell.php b/views/xml/pageshells/pageshell.php
index e633a7bca..6e89e389a 100644
--- a/views/xml/pageshells/pageshell.php
+++ b/views/xml/pageshells/pageshell.php
@@ -1,15 +1,14 @@
<?php
- /**
- * Elgg XML output pageshell
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- *
- */
+/**
+ * Elgg XML output pageshell
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
+ */
- header("Content-Type: text/xml");
- header("Content-Length: " . strlen($vars['body']));
- echo $vars['body'];
-?> \ No newline at end of file
+header("Content-Type: text/xml");
+header("Content-Length: " . strlen($vars['body']));
+echo $vars['body']; \ No newline at end of file
diff --git a/views/xml/xml-rpc/output.php b/views/xml/xml-rpc/output.php
index 31c888c3c..d3ea5bc97 100644
--- a/views/xml/xml-rpc/output.php
+++ b/views/xml/xml-rpc/output.php
@@ -1,14 +1,13 @@
<?php
- /**
- * Elgg XML output for XML-RPC
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+/**
+ * Elgg XML output for XML-RPC
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- $result = $vars['result'];
-
- echo "$result";
-?> \ No newline at end of file
+$result = $vars['result'];
+
+echo "$result"; \ No newline at end of file