blob: 8aac0e9d96b9b92c2de0a49951dc4d637ab13de4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}
}
?>
|