Difference between revisions of "JButtonHelp:: getCommand"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (preparing for archive only) |
||
(2 intermediate revisions by the same user 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 function _getCommand ( | protected function _getCommand ( | ||
Line 49: | Line 47: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JButtonHelp::_getCommand source code''' on [[jplatform:html/toolbar/button/help.php#cl-68|BitBucket]] | * {{JVer|11.1}} '''JButtonHelp::_getCommand source code''' on [[jplatform:html/toolbar/button/help.php#cl-68|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JButtonHelp | + | * {{JVer|11.1}} Class [[API17:JButtonHelp|JButtonHelp]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] |
− | * [[JButtonHelp::_getCommand|Other versions of JButtonHelp::_getCommand]] | + | * [[API17:JButtonHelp::_getCommand|Other versions of JButtonHelp::_getCommand]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===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=* |
Latest revision as of 21:23, 24 March 2017
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.
JButtonHelp::_getCommand[edit]
Description[edit]
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[edit]
- JButtonHelp::_getCommand source code on BitBucket
- Class JButtonHelp
- Subpackage Html
- Other versions of JButtonHelp::_getCommand
User contributed notes[edit]
Code Examples[edit]