API17

API17:JCli::get

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples