JButtonHelp:: getCommand: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
protected | protected JButtonHelp::_getCommand ($ref, $com, $override, $component) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 45: | Line 45: | ||
string JavaScript command string | string JavaScript command string | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/html/toolbar/button/help.php | libraries/joomla/html/toolbar/button/help.php (line 76) | ||
* see source code in [[jplatform:html/toolbar/button/help.php#cl-76|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 00:58, 24 April 2011
JButtonHelp::_getCommand
Description
Get the JavaScript command for the button.
Template:Description:JButtonHelp:: getCommand [Edit Descripton]
Since
Synopsis
protected JButtonHelp::_getCommand ($ref, $com, $override, $component)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $ref | string | The name of the help screen (its key reference). | |
| $com | boolean | Use the help file in the component directory. | |
| $override | string | Use this URL instead of any other. | |
| $component | string | Name of component to get Help (null for current component) |
Returns
string JavaScript command string
Defined in
libraries/joomla/html/toolbar/button/help.php (line 76)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JButtonHelp:: getCommand
Examples
<CodeExamplesForm />