plugins:content_eventsTable of Contents
5.5 Content Events for Plugin System5.5.1 OverviewContent events are triggered during the content creation process. This may occur in views in the com_content component, or in other components or modules. 5.5.2 onBeforeDisplay5.5.2.1 DescriptionThis 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. 5.5.2.2 ParametersNone. 5.5.2.3 Return ValueNone. 5.5.2.4 Used in files
5.5.3 onAfterDisplay5.5.3.1 DescriptionThis event is triggered when the framework has finished creating content. 5.5.3.2 ParametersNone. 5.5.3.3 Return ValueNone. 5.5.3.4 Used in files
5.5.4 onPrepareContent5.5.4.1 DescriptionThis 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. 5.5.4.2 Parameters
5.5.4.3 Return ValueNone. Results are returned by modifying the referenced arguments. 5.5.4.4 Used in files
5.5.5 onAfterDisplayTitle5.5.5.1 DescriptionThis is a request for information that should be placed between the content title and the content body. 5.5.5.2 ParametersSee the onPrepareContent event for additional discussion of these parameters. Note that unlike onPrepareContent, these parameters are passed by value.
5.5.5.3 Return ValueAn array. In XHTML/HTML views, this is is an array of strings, each of which becomes a line in the output stream. 5.5.5.4 Used in files
5.5.5.5 See Also
5.5.6 onBeforeDisplayContent5.5.6.1 DescriptionThis 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. 5.5.6.2 ParametersSee the onPrepareContent event for additional discussion of these parameters. Note that unlike onPrepareContent, these parameters are passed by value.
5.5.6.3 Return ValueAn array. In XHTML/HTML views, this is is an array of strings, each of which becomes a line in the output stream. 5.5.6.4 Used in files
5.5.6.5 See Also
5.5.7 onAfterDisplayContent5.5.7.1 DescriptionThis 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. 5.5.7.2 ParametersSee the onPrepareContent event for additional discussion of these parameters. Note that unlike onPrepareContent, these parameters are passed by value.
5.5.7.3 Return ValueAn array. In XHTML/HTML views, this is is an array of strings, each of which becomes a line in the output stream. 5.5.7.4 Used in files
5.5.7.5 See Also
|


