]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #3201 this finishes the updates on the JSON view
authorcash <cash.costello@gmail.com>
Sat, 29 Oct 2011 17:15:26 +0000 (13:15 -0400)
committercash <cash.costello@gmail.com>
Sat, 29 Oct 2011 17:15:26 +0000 (13:15 -0400)
views/json/api/output.php
views/json/entities/entity_list.php [deleted file]
views/json/group/default.php
views/json/object/default.php
views/json/site/default.php
views/json/user/default.php
views/php/search/entity_list.php [deleted file]

index aab68f0dc9875bd52f766eb0fa6c27df04bc1325..adeb7cc75f3c530a1b2d3047c4de4222fb05b040 100644 (file)
@@ -1,11 +1,10 @@
 <?php
 /**
  * Elgg JSON output
- * This outputs the api as JSON
+ * This outputs the api results as JSON
  *
  * @package Elgg
  * @subpackage Core
- *
  */
 
 $result = $vars['result'];
diff --git a/views/json/entities/entity_list.php b/views/json/entities/entity_list.php
deleted file mode 100644 (file)
index d5b134a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-$entities = $vars['entities'];
-$full_view = $vars['full_view'];
-
-if (is_array($entities) && sizeof($entities) > 0) {
-       foreach ($entities as $entity) {
-               echo elgg_view_entity($entity, array('full_view' => $full_view));
-       }
-}
index a01b215cc3088337694667c27774618ea1f5fa7f..0b168fdb219a25c71ad4f1f952a8d82702cafb39 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Elgg default layout
+ * JSON group view
  *
  * @package Elgg
  * @subpackage Core
index a01b215cc3088337694667c27774618ea1f5fa7f..d2e807621bb5dc7a7a242e6a10b6a2d18b899eff 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Elgg default layout
+ * JSON object view
  *
  * @package Elgg
  * @subpackage Core
index a01b215cc3088337694667c27774618ea1f5fa7f..7efd46939ba39471caa10f6a082dfa79469a09e0 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Elgg default layout
+ * JSON site view
  *
  * @package Elgg
  * @subpackage Core
index a01b215cc3088337694667c27774618ea1f5fa7f..e23472252390305478b5e6a81423b1c807f09c00 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Elgg default layout
+ * JSON user view
  *
  * @package Elgg
  * @subpackage Core
diff --git a/views/php/search/entity_list.php b/views/php/search/entity_list.php
deleted file mode 100644 (file)
index c56874b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-/**
- * Elgg default layout
- *
- * @package Elgg
- * @subpackage Core
- */
-
-$entities = $vars['entities'];
-if (is_array($entities) && sizeof($entities) > 0) {
-       foreach($entities as $entity) {
-               echo elgg_view_entity($entity);
-       }
-}
\ No newline at end of file