aboutsummaryrefslogtreecommitdiff
path: root/mod/livestream/views/default/list.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:56:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:56:18 -0300
commita7be81c3f81c807d43ed32965ee7ac11ebe71895 (patch)
tree71751c05eb80ae6e348790f3e46652c9dfe0be7d /mod/livestream/views/default/list.php
parentf3beeb45f9f192aee6ede0c9b6f0fa8b8d82a9ef (diff)
parent059badecbc0be895c6165430e5096a9ab653027e (diff)
downloadelgg-a7be81c3f81c807d43ed32965ee7ac11ebe71895.tar.gz
elgg-a7be81c3f81c807d43ed32965ee7ac11ebe71895.tar.bz2
Merge commit '059badecbc0be895c6165430e5096a9ab653027e' as 'mod/livestream'
Diffstat (limited to 'mod/livestream/views/default/list.php')
-rwxr-xr-xmod/livestream/views/default/list.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/livestream/views/default/list.php b/mod/livestream/views/default/list.php
new file mode 100755
index 000000000..a5b10465e
--- /dev/null
+++ b/mod/livestream/views/default/list.php
@@ -0,0 +1,15 @@
+<?php
+$page_owner = page_owner_entity();
+$offset = get_input('offset', 0);
+
+$options = Array(
+ 'type' => 'object',
+ 'subtype' => 'livestream',
+ 'container_guids' => Array($page_owner->guid),
+ 'offset' => $offset,
+ 'limit' => 4
+);
+
+echo elgg_list_entities($options);
+
+?> \ No newline at end of file