JDocument/setBuffer: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Set the contents of the document buffer
<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>[<! removed edit link to red link >]</nowiki> | ||
</span> | </span> | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
| Line 39: | Line 39: | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[< | <nowiki>[<! removed edit link to red link >]</nowiki> | ||
</span> | </span> | ||
<! removed transcluded page call, red link never existed > | |||
===Examples=== | ===Examples=== | ||
| Line 54: | Line 54: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API16]] | |||
Revision as of 03:05, 13 May 2013
Description
Set the contents of the document buffer
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
setBuffer($content, $options=array())
| Parameter Name | Default Value | Description |
|---|---|---|
| $content | $content The content to be set in the buffer. | |
| $options | array() | $options Array of optional elements. |
Defined in
libraries/joomla/document/document.php
Importing
jimport( 'joomla.document.document' );
Source Body
public function setBuffer($content, $options = array()) {
$this->_buffer = $content;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />