diff options
Diffstat (limited to 'mod/externalpages/views/default/expages/analytics.php')
-rw-r--r-- | mod/externalpages/views/default/expages/analytics.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mod/externalpages/views/default/expages/analytics.php b/mod/externalpages/views/default/expages/analytics.php new file mode 100644 index 000000000..8aac0e9d9 --- /dev/null +++ b/mod/externalpages/views/default/expages/analytics.php @@ -0,0 +1,25 @@ +<?php + + /** + * Elgg Analytics view + * + * @package ElggExpages + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd <info@elgg.com> + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.com/ + * + */ + + + //get analytics content + $contents = elgg_get_entities(array('type' => 'object', 'subtype' => 'analytics', 'limit' => 1)); + + if($contents){ + foreach($contents as $c){ + echo $c->description; + } + } + +?> + |