[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Input/ -> Input.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 205 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Input:: (5 methods):
  __construct()
  __get()
  getArray()
  getArrayRecursive()
  unserialize()


Class: Input  - X-Ref

Joomla! Input Base Class

This is an abstracted input class used to manage retrieving data from the application environment.

__construct($source = null, array $options = array()   X-Ref
Constructor.

param: array  $source   Source data (Optional, default is $_REQUEST)
param: array  $options  Array of configuration parameters (Optional)

__get($name)   X-Ref
Magic method to get an input object

param: mixed  $name  Name of the input object to retrieve.
return: \Joomla\Input\Input  The request input object

getArray(array $vars = array()   X-Ref
Gets an array of values from the request.

param: array   $vars           Associative array of keys and filter types to apply.
param: mixed   $datasource     Array to retrieve data from, or null.
param: string  $defaultFilter  Default filter used in InputFilter::clean if vars is empty and
return: mixed  The filtered input data.

getArrayRecursive(array $vars = array()   X-Ref
Gets an array of values from the request.

param: array   $vars           Associative array of keys and filter types to apply.
param: mixed   $datasource     Array to retrieve data from, or null.
param: string  $defaultFilter  Default filter used in InputFilter::clean if vars is empty and
param: bool    $recursion      Flag to indicate a recursive function call.
return: mixed  The filtered input data.

unserialize($input)   X-Ref
Method to unserialize the input.

param: string  $input  The serialized input.
return: Input  The input object.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer