[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 1 class

Files:: (4 methods):
  __construct()
  get()
  decodeData()
  set()


Class: Files  - X-Ref

Joomla! Input Files Class

__construct(array $source = null, array $options = array()   X-Ref
The class constructor.

param: array  $source   The source argument is ignored. $_FILES is always used.
param: array  $options  An optional array of configuration options:

get($name, $default = null, $filter = 'cmd')   X-Ref
Gets a value from the input data.

param: string  $name     The name of the input property (usually the name of the files INPUT tag) to get.
param: mixed   $default  The default value to return if the named property does not exist.
param: string  $filter   The filter to apply to the value.
return: mixed  The filtered input value.

decodeData(array $data)   X-Ref
Method to decode a data array.

param: array  $data  The data array to decode.
return: array

set($name, $value)   X-Ref
Sets a value.

param: string  $name   The name of the input property to set.
param: mixed   $value  The value to assign to the input property.
return: void



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