JElementSpacer/fetchElement: Difference between revisions
From Joomla! Documentation
New page:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JElementSpac... |
No edit summary |
||
Line 23: | Line 23: | ||
| | | | ||
|- | |- | ||
| | | &$node | ||
| | | | ||
| | | |
Revision as of 10:14, 30 March 2010
Template:Description:JElementSpacer/fetchElement
Syntax
fetchElement($name, $value, &$node, $control_name)
Parameter Name | Default Value | Description |
---|---|---|
$name | ||
$value | ||
&$node | ||
$control_name |
Defined in
libraries/joomla/html/parameter/element/spacer.php
Importing
jimport( 'joomla.html.parameter.element.spacer' );
Source Body
public function fetchElement($name, $value, &$node, $control_name)
{
if ($value) {
return JText::_($value);
} else {
return ' ';
}
}
[Edit See Also] Template:SeeAlso:JElementSpacer/fetchElement
Examples
<CodeExamplesForm />