API17:JHtmlContent::prepare
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlContent::prepare|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlContent::prepare|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function prepare ( |
| + | $text | ||
| + | $params=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' string The content after transformation. | |
| − | string The content after transformation. | + | * '''Defined''' on line 29 of libraries/joomla/html/html/content.php |
| − | + | ||
| − | libraries/joomla/html/html/content.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JHtmlContent::prepare source code''' on [[jplatform:html/html/content.php#cl-21|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JHtmlContent/11.1|JHtmlContent]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
| + | * [[JHtmlContent::prepare|Other versions of JHtmlContent::prepare]] | ||
| + | {{SeeAlso:JHtmlContent::prepare}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlContent::prepare|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlContent::prepare|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 50: | Line 51: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlContent]][[Category:JHtmlContent::prepare]]</noinclude> | <noinclude>[[Category:JHtmlContent]][[Category:JHtmlContent::prepare]]</noinclude> | ||
Revision as of 21:06, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtmlContent::prepare
Description
Fire onContentPrepare for content that isn't part of an article.
Description:JHtmlContent::prepare [Edit Descripton]
public static function prepare ( $text $params=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $text | string | The content to be transformed. | |
| $params | array | null | The content params. |
- Returns string The content after transformation.
- Defined on line 29 of libraries/joomla/html/html/content.php
See also
-
JHtmlContent::prepare source code on BitBucket
-
Class JHtmlContent
-
Subpackage Html
- Other versions of JHtmlContent::prepare
SeeAlso:JHtmlContent::prepare [Edit See Also]
User contributed notes
<CodeExamplesForm />
