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 Json

Joomla! Input JSON Class

This class decodes a JSON string from the raw request data and makes it available via the standard Input interface.

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

Methods summary

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

Constructor.

Constructor.

Parameters

$source
array - $source Source data (Optional, default is the raw HTTP input decoded from JSON)
$options
array - $options Array of configuration parameters (Optional)

Since

1.0

Overrides

Joomla\Input\Input::__construct
public string
# getRaw( )

Gets the raw JSON string from the request.

Gets the raw JSON string from the request.

Returns

string - The raw JSON string from the request.

Since

1.0

Methods inherited from Joomla\Input\Input

__call(), __get(), count(), def(), exists(), get(), getArray(), getMethod(), loadAllInputs(), serialize(), set(), 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

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.