API15

JDocumentHTML/setBuffer: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Set the contents a document include <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowik...
 
m removing red link to edit, no existant pages
Line 3: Line 3:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDocumentHTML/setBuffer|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>


{{Description:JDocumentHTML/setBuffer}}
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 44: Line 44:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JDocumentHTML/setBuffer|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>
{{SeeAlso:JDocumentHTML/setBuffer}}
<! removed transcluded page call, red link never existed >


===Examples===
===Examples===
Line 59: Line 59:
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

Revision as of 14:06, 12 May 2013

Description

Set the contents a document include

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

setBuffer($contents, $type, $name=null)
Parameter Name Default Value Description
$contents $type The type of renderer
$type $name oke The name of the element to render
$name null $content The content to be set in the buffer

Defined in

libraries/joomla/document/html/html.php

Importing

jimport( 'joomla.document.html.html' );

Source Body

function setBuffer($contents, $type, $name = null)
{
        $this->_buffer[$type][$name] = $contents;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />