Content events are triggered during the content creation process. This may occur in views in the com_content component, or in other components or modules.
This event is triggered when the framework is ready to create content. When this event triggers, all features that can affect the presentation format are loaded.
index.php
administrator/index.php
components/com_content/views/article/view.html.php
components/com_content/views/category/view.html.php
components/com_content/views/frontpage/view.html.php
components/com_content/views/section/view.html.php
modules/mod_newsflash/helper.php
plugins/content/pagenavigation.php
plugins/content/vote.php
This event is triggered when the framework has finished creating content.
index.php
administrator/index.php
components/com_content/views/article/view.html.php
components/com_content/views/category/view.html.php
components/com_content/views/frontpage/view.html.php
components/com_content/views/section/view.html.php
modules/mod_newsflash/helper.php
This is the first stage in preparing content for output and is the most common point for content orientated plugins to do their work. Since the article and related parameters are passed by reference, event handlers can modify them prior to display.
article A reference to the article that is being rendered by the view.
params A reference to an associative array of relevant parameters. The view determines what it considers to be relevant and passes that information along.
limitstart An integer that determines the “page” of the content that is to be generated. Note that in the context of views that might not generate
HTML output, a page is a reasonably abstract concept that depends on the context.
None. Results are returned by modifying the referenced arguments.
components/com_content/views/article/view.html.php
components/com_content/views/article/view.pdf.php
components/com_content/views/category/view.html.php
components/com_content/views/frontpage/view.html.php
components/com_content/views/section/view.html.php
plugins/content/code.php
plugins/content/emailcloak.php
plugins/content/geshi.php
plugins/content/image.php
plugins/content/loadmodule.php
plugins/content/pagebreak.php
plugins/content/sef.php
This is a request for information that should be placed between the content title and the content body.
See the onPrepareContent event for additional discussion of these parameters. Note that unlike onPrepareContent, these parameters are passed by value.
article The article that is being rendered by the view.
params An associative array of relevant parameters.
limitstart An integer that determines the “page” of the content that is to be generated.
An array. In XHTML/HTML views, this is is an array of strings, each of which becomes a line in the output stream.
components/com_content/views/article/view.html.php
components/com_content/views/category/view.html.php
components/com_content/views/frontpage/view.html.php
components/com_content/views/section/view.html.php
modules/mod_newsflash/helper.php
This is a request for information that should be placed immediately before the generated content. For views that generate XHTML/HTML, this might include the use of styles that are specified as part of the content or related parameters.
See the onPrepareContent event for additional discussion of these parameters. Note that unlike onPrepareContent, these parameters are passed by value.
article The article that is being rendered by the view.
params An associative array of relevant parameters.
limitstart An integer that determines the “page” of the content that is to be generated.
An array. In XHTML/HTML views, this is is an array of strings, each of which becomes a line in the output stream.
components/com_content/views/article/view.html.php
components/com_content/views/category/view.html.php
components/com_content/views/frontpage/view.html.php
components/com_content/views/section/view.html.php
modules/mod_newsflash/helper.php
This is a request for information that should be placed immediately after the generated content. For views that generate XHTML/HTML, this might include the closure of styles that are specified as part of the content or related parameters.
See the onPrepareContent event for additional discussion of these parameters. Note that unlike onPrepareContent, these parameters are passed by value.
article The article that is being rendered by the view.
params An associative array of relevant parameters.
limitstart An integer that determines the “page” of the content that is to be generated.
An array. In XHTML/HTML views, this is is an array of strings, each of which becomes a line in the output stream.
components/com_content/views/article/view.html.php
components/com_content/views/category/view.html.php
components/com_content/views/frontpage/view.html.php
components/com_content/views/section/view.html.php