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.

Joomla 11.1 JRouter::setVar


Set a router variable, creating it if it doesn't exist.

Description:JRouter::setVar [Edit Descripton]

public function setVar (
Parameter Type Default Description
$key string The name of the variable
$value mixed The value of the variable
$create boolean true If True, the variable will be created if it doesn't exist yet
  • Returns
  • Defined on line 175 of libraries/joomla/application/router.php

See also

SeeAlso:JRouter::setVar [Edit See Also]

User contributed notes

<CodeExamplesForm />