diff options
Diffstat (limited to 'views/xml')
-rw-r--r-- | views/xml/api/output.php | 29 | ||||
-rw-r--r-- | views/xml/messages/exceptions/exception.php | 37 | ||||
-rw-r--r-- | views/xml/pageshells/pageshell.php | 25 | ||||
-rw-r--r-- | views/xml/xml-rpc/output.php | 23 |
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 |