Actions

API16

JParameter/set

From Joomla! Documentation

< API16:JParameter
Revision as of 17:52, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Set a value.

[Edit Descripton]

Description:JParameter/set

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);
}

[Edit See Also] SeeAlso:JParameter/set

Examples

<CodeExamplesForm />