API17

Difference between revisions of "JEditor::display"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JEditor::display|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JEditor::display|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JEditor::display ($name, $html, $width, $height, $col, $row, $buttons=true, $id=null, $asset=null, $author=null, $params=array())
+
public function display (
 +
        $name
 +
        $html
 +
        $width
 +
        $height
 +
        $col
 +
        $row
 +
        $buttons=true
 +
        $id=null
 +
        $asset=null
 +
        $author=null
 +
        $params=array
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 75: Line 86:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 128 of libraries/joomla/html/editor.php
===Defined in===
 
libraries/joomla/html/editor.php (line 128)
 
* see source code in [[jplatform:html/editor.php#cl-128|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JEditor::display source code''' on [[jplatform:html/editor.php#cl-120|BitBucket]]
 +
* {{JVer|11.1}} Class [[JEditor/11.1|JEditor]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JEditor::display|Other versions of JEditor::display]]
 +
{{SeeAlso:JEditor::display}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JEditor::display|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JEditor::display|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JEditor/11.1|JEditor]]
+
===User contributed notes===
* [[JEditor::display|Other versions of this method]]
 
{{SeeAlso:JEditor::display}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 96: Line 105:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JEditor]][[Category:JEditor::display]]</noinclude>
 
<noinclude>[[Category:JEditor]][[Category:JEditor::display]]</noinclude>

Revision as of 20:49, 27 April 2011

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

Description[edit]

Display the editor area.

Template:Description:JEditor::display [Edit Descripton]

public function display (
        $name
        $html
        $width
        $height
        $col
        $row
        $buttons=true
        $id=null
        $asset=null
        $author=null
        $params=array
)
Parameter Type Default Description
$name string The control name.
$html string The contents of the text area.
$width string The width of the text area (px or %).
$height string The height of the text area (px or %).
$col int The number of columns for the textarea.
$row int The number of rows for the textarea.
$buttons boolean true True and the editor buttons will be displayed.
$id string null An optional ID for the textarea (note: since 1.6). If not supplied the name is used.
$asset string null
$author object null
$params array array() Associative array of editor parameters.
  • Returns
  • Defined on line 128 of libraries/joomla/html/editor.php

See also[edit]

Template:SeeAlso:JEditor::display [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />