JButtonHelp:: getCommand: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Get the JavaScript command for the button. | Get the JavaScript command for the button. | ||
<source lang="php"> | <source lang="php"> | ||
protected | protected function _getCommand ( | ||
$ref | |||
$com | |||
$override | |||
$component | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 42: | Line 42: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' string JavaScript command string | |||
string JavaScript command string | * '''Defined''' on line 76 of libraries/joomla/html/toolbar/button/help.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/html/toolbar/button/help.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JButtonHelp::_getCommand source code''' on [[jplatform:html/toolbar/button/help.php#cl-68|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JButtonHelp|JButtonHelp]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] | |||
* | * [[API17:JButtonHelp::_getCommand|Other versions of JButtonHelp::_getCommand]] | ||
* [[JButtonHelp::_getCommand|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JButtonHelp::_getCommand | category=JButtonHelp::_getCommand | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:23, 25 March 2017
JButtonHelp::_getCommand
Description
Get the JavaScript command for the button.
protected function _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 on line 76 of libraries/joomla/html/toolbar/button/help.php
- Since

See also
JButtonHelp::_getCommand source code on BitBucket
Class JButtonHelp
Subpackage Html- Other versions of JButtonHelp::_getCommand
User contributed notes
Code Examples