API17

API17:JInput::get

From Joomla! Documentation

Joomla 11.1 JInput::get

Description

Gets a value from the input data.


public function get (
        $name
        $default=null
        $filter= 'cmd'
)
Parameter Type Default Description
$name string Name of the value to get.
$default mixed null Default value to return if variable does not exist.
$filter string 'cmd' Filter to apply to the value.
  • Returns mixed The filtered input value.
  • Defined on line 121 of libraries/joomla/application/input.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples