Cli
Extends InputJoomla! Input CLI Class
| since |
1.7.0 |
|---|---|
| deprecated |
4.3 will be removed in 6.0
Use the |
| package |
Joomla CMS |
Methods
__construct
Constructor.
__construct(array source = null, mixed||string|int options = []) :
| since |
1.7.0 |
|---|---|
| deprecated |
4.3 will be removed in 6.0
Use the |
Arguments
- source
array<string|int, mixed>|nullSource data (Optional, default is $_REQUEST)- options
array<string|int, mixed>Array of configuration parameters (Optional)
Response
mixed
parseArguments
Initialise the options and arguments
parseArguments() :
Not supported: -abc c-value
| since |
1.7.0 |
|---|---|
| deprecated |
4.3 will be removed in 6.0
Use the |
Response
void
serialize
Method to serialize the input.
serialize() :
| since |
3.0.0 |
|---|---|
| deprecated |
4.3 will be removed in 6.0
Use the |
Response
stringThe serialized input.
unserialize
Method to unserialize the input.
unserialize( input) :
| since |
3.0.0 |
|---|---|
| deprecated |
4.3 will be removed in 6.0
Use the |
Arguments
- input
stringThe serialized input.
Response
void
Properties
executable
The executable that was called to run the CLI script.
| since |
1.7.0 |
|---|---|
| deprecated |
4.3 will be removed in 6.0
Use the |
Type(s)
string
args
The additional arguments passed to the script that are not associated with a specific argument name.
| since |
1.7.0 |
|---|---|
| deprecated |
4.3 will be removed in 6.0
Use the |
Type(s)
array<string|int, mixed>