Skip to content

Commit

Permalink
Merge pull request #9501 from jdalsem/elgg_view_entity_list_docs
Browse files Browse the repository at this point in the history
docs(views): added page/components/list docs to elgg_view_entity_list
  • Loading branch information
mrclay committed Mar 17, 2016
2 parents 0b23bae + 76fea97 commit 1278914
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion engine/lib/views.php
Expand Up @@ -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)
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 1278914

Please sign in to comment.