API17

Difference between revisions of "JHtmlContent::prepare"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎See also: moving preparation)
(4 intermediate revisions by 2 users 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>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlContent::prepare ($text, $params=null)
+
public static function prepare (
 +
        $text
 +
        $params=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The content after transformation.
string The content after transformation.
+
* '''Defined''' on line 29 of libraries/joomla/html/html/content.php
===Defined in===
 
libraries/joomla/html/html/content.php
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtmlContent::prepare source code''' on [[jplatform:html/html/content.php#cl-21|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JHtmlContent|JHtmlContent]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
 +
* [[API17: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>
* [[JHtmlContent/11.1|JHtmlContent]]
+
===User contributed notes===
* [[JHtmlContent::prepare|Other versions of this method]]
 
{{SeeAlso:JHtmlContent::prepare}}
 
===Examples===
 
 
<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:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 20:53, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JHtmlContent::prepare[edit]

Description[edit]

Fire onContentPrepare for content that isn't part of an article.

Template: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[edit]

Template:SeeAlso:JHtmlContent::prepare [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />