JOOMLA中国
  • Joomla中国首页
  • 社区
  • 教程
  • 应用市场
  • B计划
Joomla! Framework TM
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Composer
    • Autoload
  • Joomla
    • Application
      • Cli
        • Output
          • Processor
      • Web
    • Data
    • DI
      • Exception
    • Event
    • Filter
    • Input
    • Ldap
    • Registry
      • Format
    • Session
      • Storage
    • String
    • Uri
    • Utilities
  • None
  • PasswordCompat
    • binary
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Yaml
        • Exception
    • Polyfill
      • Util

Classes

  • Cli
  • Cookie
  • Files
  • Input
  • Json

Class Files

Joomla! Input Files Class

Joomla\Input\Input implements Serializable, Countable
Extended by Joomla\Input\Files
Namespace: Joomla\Input
Since: 1.0
Located at vendor/joomla/input/src/Files.php

Methods summary

public
# __construct( array $source = null, array $options = array() )

The class constructor.

The class constructor.

Parameters

$source
array - $source The source argument is ignored. $_FILES is always used.
$options
array - $options An optional array of configuration options: filter : a custom JFilterInput object.

Since

1.0

Overrides

Joomla\Input\Input::__construct
public mixed
# get( string $name, mixed $default = null, string $filter = 'cmd' )

Gets a value from the input data.

Gets a value from the input data.

Parameters

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

Returns

mixed - The filtered input value.

Since

1.0

See

Joomla\Filter\InputFilter::clean()

Overrides

Joomla\Input\Input::get
protected array
# decodeData( array $data )

Method to decode a data array.

Method to decode a data array.

Parameters

$data
array - $data The data array to decode.

Returns

array

Since

1.0
public
# set( string $name, mixed $value )

Sets a value.

Sets a value.

Parameters

$name
string - $name The name of the input property to set.
$value
mixed - $value The value to assign to the input property.

Since

1.0

Overrides

Joomla\Input\Input::set

Methods inherited from Joomla\Input\Input

__call(), __get(), count(), def(), exists(), getArray(), getMethod(), loadAllInputs(), serialize(), unserialize()

Magic methods summary

Magic methods inherited from Joomla\Input\Input

getAlnum(), getBase64(), getBool(), getCmd(), getFloat(), getHtml(), getInt(), getPath(), getString(), getUint(), getUsername(), getWord()

Properties summary

protected array $decodedData
#

The pivoted data from a $_FILES or compatible array.

The pivoted data from a $_FILES or compatible array.

Since

1.0

Properties inherited from Joomla\Input\Input

$data, $filter, $inputs, $loaded, $options

Magic properties inherited from Joomla\Input\Input

$cookie, $files, $get, $post, $request, $server

Joomla! Framework TM API documentation generated by ApiGen 2.8.0
Joomla!® and Joomla! Framework™ are trademarks of Open Source Matters, Inc. in the United States and other countries.