Class modArticlesCategoryHelper

Description
  • abstract:

Located in /modules/mod_articles_category/helper.php (line 17)


	
			
Method Summary
static void getList ( &$params)
static void groupBy ( $list,  $fieldName,  $article_grouping_direction, [ $fieldNameToKeep = null])
static void groupByDate ( $list, [ $type = 'year'],  $article_grouping_direction, [ $month_year_format = 'F Y'])
static void truncate (mixed $html, [mixed $maxLength = 0])
static void _cleanIntrotext ( $introtext)
Methods
static method getList (line 19)
  • access: public
static void getList ( &$params)
  • &$params
static method groupBy (line 364)
  • access: public
static void groupBy ( $list,  $fieldName,  $article_grouping_direction, [ $fieldNameToKeep = null])
  • $list
  • $fieldName
  • $article_grouping_direction
  • $fieldNameToKeep
static method groupByDate (line 397)
  • access: public
static void groupByDate ( $list, [ $type = 'year'],  $article_grouping_direction, [ $month_year_format = 'F Y'])
  • $list
  • $type
  • $article_grouping_direction
  • $month_year_format
static method truncate (line 271)

This is a better truncate implementation than what we

currently have available in the library. In particular, on index.php/Banners/Banners/site-map.html JHtml's truncate method would only return "Article...". This implementation was taken directly from the Stack Overflow thread referenced below. It was then modified to return a string rather than print out the output and made to use the relevant JString methods.

static void truncate (mixed $html, [mixed $maxLength = 0])
  • mixed $html
  • mixed $maxLength
static method _cleanIntrotext (line 246)
  • access: public
static void _cleanIntrotext ( $introtext)
  • $introtext

Documentation generated on Mon, 25 Jun 2012 13:55:32 -0500 by phpDocumentor 1.4.4