Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
onContentPrepare ($context, &$article, &$params, $page=0) | |
Fonctions membres protégées | |
_load ($position, $style='none') | |
_loadmod ($module, $title, $style='none') | |
_loadid ($id) | |
Attributs protégés statiques | |
static | $modules = array() |
static | $mods = array() |
Plugin to enable loading modules into content (e.g. articles) This uses the {loadmodule} syntax
|
protected |
|
protected |
|
protected |
This is always going to get the first instance of the module type unless there is a title.
string | $module | The module title |
string | $title | The title of the module |
string | $style | The style of the module |
Références $document, $mod, $module, $name, $params, $renderer, $style, $title, et getDocument.
onContentPrepare | ( | $context, | |
& | $article, | ||
& | $params, | ||
$page = 0 |
|||
) |
Plugin that loads module positions within content
string | $context | The context of the content being passed to the plugin. |
object | &$article | The article object. Note $article->text is also available |
mixed | &$params | The article params |
integer | $page | The 'page' number |
Références $article, $context, $id, $module, $name, $output, $position, $start, $style, et null.
|
staticprotected |
|
staticprotected |