1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Fix parm description and example on news_grid_menu.

This commit is contained in:
Cameron
2017-09-29 12:00:09 -07:00
parent e9bd0c8936
commit 93fdb28603

View File

@@ -9,7 +9,7 @@ if (!defined('e107_INIT')) { exit; }
/**
* News Grid Menu
*
* @param string $parm['caption'] text or constant
* @param string $parm['caption'] text or constant - will use tablerender() when set.
* @param integer $parm['titleLimit'] number of chars fo news title
* @param integer $parm['summaryLimit'] number of chars for new summary
* @param string $parm['source'] latest (latest news items) | sticky (news items) | template (assigned to news-grid layout)
@@ -17,7 +17,7 @@ if (!defined('e107_INIT')) { exit; }
* @param integer $parm['limit'] 10
* @param string $parm['layout'] default | or any key as defined in news_grid_template.php
*
* @example hard-coded {MENU: path=news/news_grid&limit=6&source=latest&featured=2&template=other}
* @example hard-coded {MENU: path=news/news_grid&limit=6&source=latest&featured=2&layout=other}
* @example admin assigned - Add via Media-Manager and then configure.
*/