API17:JCli::set
From Joomla! Documentation
JCli::set
Description
Modifies a property of the object, creating it if it does not already exist.
public function set (
$key
$value=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | The name of the property | |
| $value | mixed | null | The value of the property to set |
- Returns mixed Previous value of the property
- Defined on line 224 of libraries/joomla/application/cli.php
- Since

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