API16

JParameter/set

< API16:JParameter

The "API16" 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.

Description

Set a value.



Syntax

set($key, $value= '', $group= '_default')
Parameter Name Default Value Description
$key The name of the param.
$value The value of the parameter.
$group '_default'

Returns

string The set value.

Defined in

libraries/joomla/html/parameter.php

Importing

jimport( 'joomla.html.parameter' );

Source Body

public function set($key, $value = '', $group = '_default')
{
        return $this->setValue($group.'.'.$key, (string) $value);
}



Examples

Code Examples


Advertisement