Content
onContentPrepareForm
Description
This event is triggered in loadForm
method of all form models.
Arguments
$form
- a JForm object.
$data
- the data that should be bind to the form.
To check the context of the event you can use the name of the form like com_competition.appform
, com_competition.filed
etc.
onContentPrepare
onContentAfterTitle
onContentBeforeDisplay
onContentAfterDisplay
Description These events are triggered in entry's view. Read more about the practical usage in Using content plugins on entry page document.
Arguments
$context
- the context of the event, βcom_competition.participantβ
$item
- a reference to the entry's object that is being rendered by the view.
$params
- a Joomla\Registry\Registry
object containg parametres.
$page
- not used and is passed for consistency. Always 0.
$item->text
property contains the tags of plugins that are specified in General parameters of NorrCompetition.
Last updated