API17:JCli::get
From Joomla! Documentation
JCli::get
Description
Returns a property of the object or the default value if the property is not set.
public function get (
$key
$default=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | The name of the property | |
| $default | mixed | null | The default value if none is set. |
- Returns mixed The value of the configuration.
- Defined on line 209 of libraries/joomla/application/cli.php
- Since

See also
JCli::get source code on BitBucket
Class JCli
Subpackage Application- Other versions of JCli::get
User contributed notes
Code Examples