JInputCLI: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JInputCLI== | |||
===Description=== | |||
{{ | |||
=== | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|[[JInputCLI::__construct | |public | ||
|[[API17:JInputCLI::__construct|__construct]] | |||
|Constructor. | |Constructor. | ||
|- | |- | ||
|[[JInputCLI::parseArguments | |protected | ||
|[[API17:JInputCLI::parseArguments|parseArguments]] | |||
|Initialise the options and arguments. | |Initialise the options and arguments. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/application/input/cli.php | |||
* '''Extends''' [[API17:JInput|JInput]] | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.application.input.cli' );</source> | <source lang="php">jimport( 'joomla.application.input.cli' );</source> | ||
===See also=== | ===See also=== | ||
* [[ | * {{JVer|11.1}} '''JInputCLI source code''' on [[jplatform:application/input/cli.php|BitBucket]] | ||
{{ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]] | ||
* [[API17:JInputCLI|Other versions of JInputCLI]] | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInputCLI | category=JInputCLI | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude> | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:15, 25 March 2017
JInputCLI
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| protected | parseArguments | Initialise the options and arguments. |
- Defined in libraries/joomla/application/input/cli.php
- Extends JInput
Importing
jimport( 'joomla.application.input.cli' );
See also
JInputCLI source code on BitBucket
Subpackage Application- Other versions of JInputCLI
User contributed notes
Code Examples