static void
getList
( &$params)
static void
groupBy
( $list, $fieldName, $article_grouping_direction, [ $fieldNameToKeep = null])
-
$list
-
$fieldName
-
$article_grouping_direction
-
$fieldNameToKeep
static void
groupByDate
( $list, [ $type = 'year'], $article_grouping_direction, [ $month_year_format = 'F Y'])
-
$list
-
$type
-
$article_grouping_direction
-
$month_year_format
Method to truncate introtext
The goal is to get the proper length plain text string with as much of the html intact as possible with all tags properly closed.
static string
truncate
(string $html, [integer $maxLength = 0])
-
string
$html: The content of the introtext to be truncated
-
integer
$maxLength: The maximum number of charactes to render
static void
_cleanIntrotext
( $introtext)