From 76fea973adc7d2a14033eacea898129539dc7e5a Mon Sep 17 00:00:00 2001 From: Jeroen Dalsem Date: Thu, 17 Mar 2016 12:02:09 +0100 Subject: [PATCH] docs(views): added page/components/list docs to elgg_view_entity_list fixes #6827 --- engine/lib/views.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/lib/views.php b/engine/lib/views.php index 9bb14c84b58..7e6405e1420 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -963,6 +963,9 @@ function elgg_view_annotation(\ElggAnnotation $annotation, array $vars = array() * 'item_class' CSS class applied to the list items * 'item_view' Alternative view to render list items * 'pagination' Display pagination? + * 'base_url' Base URL of list (optional) + * 'url_fragment' URL fragment to add to links if not present in base_url (optional) + * 'position' Position of the pagination: before, after, or both * 'list_type' List type: 'list' (default), 'gallery' * 'list_type_toggle' Display the list type toggle? * 'no_results' Message to display if no results (string|Closure) @@ -1286,7 +1289,7 @@ function elgg_view_form($action, $form_vars = array(), $body_vars = array()) { /** * Renders a form field - * + * * @param string $input_type Input type, used to generate an input view ("input/$input_type") * @param array $vars Fields and input vars. * Field vars contain both field and input params. 'label', 'help',