Liste de tous les membres
Fonctions membres publiques statiques |
static | getList (&$params) |
static | _cleanIntrotext ($introtext) |
static | truncate ($html, $maxLength=0) |
static | groupBy ($list, $fieldName, $article_grouping_direction, $fieldNameToKeep=null) |
static | groupByDate ($list, $type= 'year', $article_grouping_direction, $month_year_format= 'F Y') |
Documentation des fonctions membres
static modArticlesCategoryHelper::_cleanIntrotext |
( |
|
$introtext | ) |
|
|
static |
static modArticlesCategoryHelper::getList |
( |
& |
$params | ) |
|
|
static |
Références $app, $category, $item, $menu, $mode, $params, $view, JRoute\_(), JHtml\_(), elseif, JFactory\getApplication(), ContentHelperRoute\getArticleRoute(), JAccess\getAuthorisedViewLevels(), ContentHelperRoute\getCategoryRoute(), JRequest\getCmd(), JModel\getInstance(), JRequest\getInt(), JComponentHelper\getParams(), et JFactory\getUser().
static modArticlesCategoryHelper::groupBy |
( |
|
$list, |
|
|
|
$fieldName, |
|
|
|
$article_grouping_direction, |
|
|
|
$fieldNameToKeep = null |
|
) |
| |
|
static |
static modArticlesCategoryHelper::groupByDate |
( |
|
$list, |
|
|
|
$type = 'year' , |
|
|
|
$article_grouping_direction, |
|
|
|
$month_year_format = 'F Y' |
|
) |
| |
|
static |
static modArticlesCategoryHelper::truncate |
( |
|
$html, |
|
|
|
$maxLength = 0 |
|
) |
| |
|
static |
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.
- Paramètres:
-
string | $html | The content of the introtext to be truncated |
integer | $maxLength | The maximum number of charactes to render |
- Renvoie:
- string The truncated string
Références $html, et JHtml\_().
La documentation de cette classe a été générée à partir du fichier suivant :