API17

API17:JUser::defParam

From Joomla! Documentation

Joomla 11.1 JUser::defParam

Description

Method to set a default parameter if it does not exist.


public function defParam (
        $key
        $value
)
Parameter Type Default Description
$key string Parameter key
$value mixed Parameter value
  • Returns mixed Set parameter value
  • Defined on line 254 of libraries/joomla/user/user.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples