diff options
Diffstat (limited to 'mod/externalpages/views/default/expages/analytics.php')
| -rw-r--r-- | mod/externalpages/views/default/expages/analytics.php | 21 | 
1 files changed, 21 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..40f7b6a8d --- /dev/null +++ b/mod/externalpages/views/default/expages/analytics.php @@ -0,0 +1,21 @@ +<?php + +	/** +	 * Elgg Analytics view +	 *  +	 * @package ElggExpages +	 *  +	 */ + +	  +	 //get analytics content  +		$contents = elgg_get_entities(array('type' => 'object', 'subtype' => 'analytics', 'limit' => 1)); +		 +		if($contents){ +			foreach($contents as $c){ +				echo $c->description; +			} +		} + +?> +  | 
