API17

JCli::set

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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

See also


User contributed notes

Code Examples


Advertisement